aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-driver.h
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-12-08 21:02:45 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 06:38:29 -0500
commit66c2a6b0bc0b394d215768610d96f44cf97052ac (patch)
treea88946e764eb5a829a920c5027b4d92922cc54ee /drivers/media/video/cx18/cx18-driver.h
parentb80e1074c734416987486b7b76b6479faa73f1e2 (diff)
V4L/DVB (9801): cx18: Allow more than 63 capture buffers in rotation per stream
cx18: Allow more than 63 capture buffers in rotation per stream. Implement q_busy to hold buffers the firmware has for use. q_free holds truly unused buffers in a pool. New buffers are given to the firmware as soon as the firmware returns one, if there are any to give to the firmware. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-driver.h')
-rw-r--r--drivers/media/video/cx18/cx18-driver.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.h b/drivers/media/video/cx18/cx18-driver.h
index f88d82348293..4d56d07195b6 100644
--- a/drivers/media/video/cx18/cx18-driver.h
+++ b/drivers/media/video/cx18/cx18-driver.h
@@ -289,7 +289,8 @@ struct cx18_stream {
289 289
290 /* Buffer Queues */ 290 /* Buffer Queues */
291 struct cx18_queue q_free; /* free buffers */ 291 struct cx18_queue q_free; /* free buffers */
292 struct cx18_queue q_full; /* full buffers */ 292 struct cx18_queue q_busy; /* busy buffers - in use by firmware */
293 struct cx18_queue q_full; /* full buffers - data for user apps */
293 294
294 /* DVB / Digital Transport */ 295 /* DVB / Digital Transport */
295 struct cx18_dvb dvb; 296 struct cx18_dvb dvb;