diff options
author | Andy Walls <awalls@radix.net> | 2008-12-08 21:02:45 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:38:29 -0500 |
commit | 66c2a6b0bc0b394d215768610d96f44cf97052ac (patch) | |
tree | a88946e764eb5a829a920c5027b4d92922cc54ee /drivers/media/video/cx18/cx18-streams.h | |
parent | b80e1074c734416987486b7b76b6479faa73f1e2 (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-streams.h')
-rw-r--r-- | drivers/media/video/cx18/cx18-streams.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx18-streams.h b/drivers/media/video/cx18/cx18-streams.h index 7218b15045bf..635d34b75ab1 100644 --- a/drivers/media/video/cx18/cx18-streams.h +++ b/drivers/media/video/cx18/cx18-streams.h | |||
@@ -29,6 +29,9 @@ int cx18_streams_register(struct cx18 *cx); | |||
29 | void cx18_streams_cleanup(struct cx18 *cx, int unregister); | 29 | void cx18_streams_cleanup(struct cx18 *cx, int unregister); |
30 | 30 | ||
31 | /* Capture related */ | 31 | /* Capture related */ |
32 | void cx18_stream_load_fw_queue_nolock(struct cx18_stream *s); | ||
33 | struct cx18_queue *cx18_stream_put_buf_fw(struct cx18_stream *s, | ||
34 | struct cx18_buffer *buf); | ||
32 | int cx18_start_v4l2_encode_stream(struct cx18_stream *s); | 35 | int cx18_start_v4l2_encode_stream(struct cx18_stream *s); |
33 | int cx18_stop_v4l2_encode_stream(struct cx18_stream *s, int gop_end); | 36 | int cx18_stop_v4l2_encode_stream(struct cx18_stream *s, int gop_end); |
34 | 37 | ||