diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-10 10:29:15 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-03-24 14:26:49 -0500 |
commit | c7b0ac0546985fc6361a8d92cf808d46da797677 (patch) | |
tree | 2147eb2f6dd7b2b82e0d7b4b9a26e12ef5193252 /drivers/media/video/bttvp.h | |
parent | b2fd16b4ff2508ac16ae994f4bcd941f97754c00 (diff) |
V4L/DVB (3516): Make video_buf more generic
Video_buf were concerned to allow PCI devices to be used as
video capture devices. This patch extends video_buf features
by virtualizing pci-dependent functions and allowing other
type of devices to use it.
It is still DMA centric, although it may be used also by
devices that emulates scatter/gather behavior or a DMA device
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/bttvp.h')
-rw-r--r-- | drivers/media/video/bttvp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/bttvp.h b/drivers/media/video/bttvp.h index 9cb72f176f7d..12223a203960 100644 --- a/drivers/media/video/bttvp.h +++ b/drivers/media/video/bttvp.h | |||
@@ -190,7 +190,8 @@ int bttv_buffer_activate_video(struct bttv *btv, | |||
190 | struct bttv_buffer_set *set); | 190 | struct bttv_buffer_set *set); |
191 | int bttv_buffer_activate_vbi(struct bttv *btv, | 191 | int bttv_buffer_activate_vbi(struct bttv *btv, |
192 | struct bttv_buffer *vbi); | 192 | struct bttv_buffer *vbi); |
193 | void bttv_dma_free(struct bttv *btv, struct bttv_buffer *buf); | 193 | void bttv_dma_free(struct videobuf_queue *q, struct bttv *btv, |
194 | struct bttv_buffer *buf); | ||
194 | 195 | ||
195 | /* overlay handling */ | 196 | /* overlay handling */ |
196 | int bttv_overlay_risc(struct bttv *btv, struct bttv_overlay *ov, | 197 | int bttv_overlay_risc(struct bttv *btv, struct bttv_overlay *ov, |