summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/bttvp.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-03-10 12:29:15 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-03-10 12:29:15 -0300
commitfb8cfd68d99a74a10f633691a02b7fcb08ba366d (patch)
tree485f3afa2e5dd844d343dff22f14ab6f6238a8e7 /linux/drivers/media/video/bttvp.h
parent03f672ad25d1616170dba50e0c8c71425bc83482 (diff)
downloadmediapointer-dvb-s2-fb8cfd68d99a74a10f633691a02b7fcb08ba366d.tar.gz
mediapointer-dvb-s2-fb8cfd68d99a74a10f633691a02b7fcb08ba366d.tar.bz2
Make video_buf more generic
From: Mauro Carvalho Chehab <mchehab@infradead.org> 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 'linux/drivers/media/video/bttvp.h')
-rw-r--r--linux/drivers/media/video/bttvp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/bttvp.h b/linux/drivers/media/video/bttvp.h
index 5d92d713e..d5469ad2b 100644
--- a/linux/drivers/media/video/bttvp.h
+++ b/linux/drivers/media/video/bttvp.h
@@ -200,7 +200,8 @@ int bttv_buffer_activate_video(struct bttv *btv,
struct bttv_buffer_set *set);
int bttv_buffer_activate_vbi(struct bttv *btv,
struct bttv_buffer *vbi);
-void bttv_dma_free(struct bttv *btv, struct bttv_buffer *buf);
+void bttv_dma_free(struct videobuf_queue *q, struct bttv *btv,
+ struct bttv_buffer *buf);
/* overlay handling */
int bttv_overlay_risc(struct bttv *btv, struct bttv_overlay *ov,