bktr_reg.h (37611) | bktr_reg.h (38706) |
---|---|
1/* 2 * Copyright (c) 1995 Mark Tinguely and Jim Lowe 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 329 unchanged lines hidden (view full) --- 338 mute, present */ 339}; 340 341struct format_params { 342 /* Total lines, lines before image, image lines */ 343 int vtotal, vdelay, vactive; 344 /* Total unscaled horizontal pixels, pixels before image, image pixels */ 345 int htotal, hdelay, hactive; | 1/* 2 * Copyright (c) 1995 Mark Tinguely and Jim Lowe 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 329 unchanged lines hidden (view full) --- 338 mute, present */ 339}; 340 341struct format_params { 342 /* Total lines, lines before image, image lines */ 343 int vtotal, vdelay, vactive; 344 /* Total unscaled horizontal pixels, pixels before image, image pixels */ 345 int htotal, hdelay, hactive; |
346 /* visible active horizontal and vertical : 480 640 for NTSC */ 347 int horizontal, vertical; 348/* frame rate . for ntsc is 30 frames per second */ | 346 /* Scaled horizontal image pixels, Total Scaled horizontal pixels */ 347 int scaled_hactive, scaled_htotal; 348 /* frame rate . for ntsc is 30 frames per second */ |
349 int frame_rate; | 349 int frame_rate; |
350/* A-delay and B-delay */ | 350 /* A-delay and B-delay */ |
351 u_char adelay, bdelay; | 351 u_char adelay, bdelay; |
352/* Iform XTSEL value */ | 352 /* Iform XTSEL value */ |
353 int iform_xtsel; 354}; 355 356 357typedef struct bktr_clip bktr_clip_t; 358/* 359 * BrookTree 848 info structure, one per bt848 card installed. 360 */ --- 18 unchanged lines hidden (view full) --- 379 vm_offset_t dma_prog; 380 vm_offset_t odd_dma_prog; 381 char dma_prog_loaded; 382 struct meteor_mem *mem; /* used to control sync. multi-frame output */ 383 u_long synch_wait; /* wait for free buffer before continuing */ 384 short current; /* frame number in buffer (1-frames) */ 385 short rows; /* number of rows in a frame */ 386 short cols; /* number of columns in a frame */ | 353 int iform_xtsel; 354}; 355 356 357typedef struct bktr_clip bktr_clip_t; 358/* 359 * BrookTree 848 info structure, one per bt848 card installed. 360 */ --- 18 unchanged lines hidden (view full) --- 379 vm_offset_t dma_prog; 380 vm_offset_t odd_dma_prog; 381 char dma_prog_loaded; 382 struct meteor_mem *mem; /* used to control sync. multi-frame output */ 383 u_long synch_wait; /* wait for free buffer before continuing */ 384 short current; /* frame number in buffer (1-frames) */ 385 short rows; /* number of rows in a frame */ 386 short cols; /* number of columns in a frame */ |
387 int capture_area_x_offset; /* Usually the full 640x480(NTSC) image is */ 388 int capture_area_y_offset; /* captured. The capture area allows for */ 389 int capture_area_x_size; /* example 320x200 pixels from the centre */ 390 int capture_area_y_size; /* of the video image to be captured. */ 391 char capture_area_enabled; /* When TRUE use user's capture area. */ |
|
387 int pixfmt; /* active pixel format (idx into fmt tbl) */ 388 int pixfmt_compat; /* Y/N - in meteor pix fmt compat mode */ 389 u_long format; /* frame format rgb, yuv, etc.. */ 390 short frames; /* number of frames allocated */ 391 int frame_size; /* number of bytes in a frame */ 392 u_long fifo_errors; /* number of fifo capture errors since open */ 393 u_long dma_errors; /* number of DMA capture errors since open */ 394 u_long frames_captured;/* number of frames captured since open */ --- 79 unchanged lines hidden --- | 392 int pixfmt; /* active pixel format (idx into fmt tbl) */ 393 int pixfmt_compat; /* Y/N - in meteor pix fmt compat mode */ 394 u_long format; /* frame format rgb, yuv, etc.. */ 395 short frames; /* number of frames allocated */ 396 int frame_size; /* number of bytes in a frame */ 397 u_long fifo_errors; /* number of fifo capture errors since open */ 398 u_long dma_errors; /* number of DMA capture errors since open */ 399 u_long frames_captured;/* number of frames captured since open */ --- 79 unchanged lines hidden --- |