diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-02-14 08:51:28 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-02-14 08:51:28 -0200 |
commit | c02991ae9384f6940ac34f853f5191b7bcf1f453 (patch) | |
tree | 9ce33ddc0a1df109335cc0128e11c83af2ad244e /linux/Documentation/video4linux/v4l2-framework.txt | |
parent | 8f6e212e7f25dca1323cc8b7d4a5112c3b2225e3 (diff) | |
download | mediapointer-dvb-s2-c02991ae9384f6940ac34f853f5191b7bcf1f453.tar.gz mediapointer-dvb-s2-c02991ae9384f6940ac34f853f5191b7bcf1f453.tar.bz2 |
v4l2-framework.txt: Fixes the videobuf init functions
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Documents the driver usage functions, instead of the generic one used
by the videobuf specific handlers.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/Documentation/video4linux/v4l2-framework.txt')
-rw-r--r-- | linux/Documentation/video4linux/v4l2-framework.txt | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/linux/Documentation/video4linux/v4l2-framework.txt b/linux/Documentation/video4linux/v4l2-framework.txt index 21f83089a..a6005257a 100644 --- a/linux/Documentation/video4linux/v4l2-framework.txt +++ b/linux/Documentation/video4linux/v4l2-framework.txt @@ -575,9 +575,21 @@ request. The code is generally like this one: Those are the videobuffer functions used on drivers, implemented on videobuf-core: -- videobuf_queue_core_init() - Initializes the videobuf infrastructure. This function should be - called before any other videobuf function. +- Videobuf init functions + videobuf_queue_sg_init() + Initializes the videobuf infrastructure. This function should be + called before any other videobuf function on drivers that uses DMA + Scatter/Gather buffers. + + videobuf_queue_dma_contig_init + Initializes the videobuf infrastructure. This function should be + called before any other videobuf function on drivers that need DMA + contiguous buffers. + + videobuf_queue_vmalloc_init() + Initializes the videobuf infrastructure. This function should be + called before any other videobuf function on USB (and other drivers) + that need a vmalloced type of videobuf. - videobuf_iolock() Prepares the videobuf memory for the proper method (read, mmap, overlay). |