diff options
Diffstat (limited to 'drivers/media/video/cx18/cx18-driver.h')
-rw-r--r-- | drivers/media/video/cx18/cx18-driver.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.h b/drivers/media/video/cx18/cx18-driver.h index 4d56d07195b6..29c296f39f91 100644 --- a/drivers/media/video/cx18/cx18-driver.h +++ b/drivers/media/video/cx18/cx18-driver.h | |||
@@ -115,6 +115,17 @@ | |||
115 | #define CX18_DEFAULT_ENC_VBI_BUFFERS 1 | 115 | #define CX18_DEFAULT_ENC_VBI_BUFFERS 1 |
116 | #define CX18_DEFAULT_ENC_PCM_BUFFERS 1 | 116 | #define CX18_DEFAULT_ENC_PCM_BUFFERS 1 |
117 | 117 | ||
118 | /* Maximum firmware DMA buffers per stream */ | ||
119 | #define CX18_MAX_MDLS_PER_STREAM 63 | ||
120 | |||
121 | /* DMA buffer, default size in kB allocated */ | ||
122 | #define CX18_DEFAULT_ENC_TS_BUFSIZE 32 | ||
123 | #define CX18_DEFAULT_ENC_MPG_BUFSIZE 32 | ||
124 | #define CX18_DEFAULT_ENC_IDX_BUFSIZE 32 | ||
125 | #define CX18_DEFAULT_ENC_YUV_BUFSIZE 128 | ||
126 | /* Default VBI bufsize based on standards supported by card tuner for now */ | ||
127 | #define CX18_DEFAULT_ENC_PCM_BUFSIZE 4 | ||
128 | |||
118 | /* i2c stuff */ | 129 | /* i2c stuff */ |
119 | #define I2C_CLIENTS_MAX 16 | 130 | #define I2C_CLIENTS_MAX 16 |
120 | 131 | ||
@@ -408,6 +419,7 @@ struct cx18 { | |||
408 | 419 | ||
409 | struct mutex serialize_lock; /* mutex used to serialize open/close/start/stop/ioctl operations */ | 420 | struct mutex serialize_lock; /* mutex used to serialize open/close/start/stop/ioctl operations */ |
410 | struct cx18_options options; /* User options */ | 421 | struct cx18_options options; /* User options */ |
422 | int stream_buffers[CX18_MAX_STREAMS]; /* # of buffers for each stream */ | ||
411 | int stream_buf_size[CX18_MAX_STREAMS]; /* Stream buffer size */ | 423 | int stream_buf_size[CX18_MAX_STREAMS]; /* Stream buffer size */ |
412 | struct cx18_stream streams[CX18_MAX_STREAMS]; /* Stream data */ | 424 | struct cx18_stream streams[CX18_MAX_STREAMS]; /* Stream data */ |
413 | unsigned long i_flags; /* global cx18 flags */ | 425 | unsigned long i_flags; /* global cx18 flags */ |