diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-11-16 12:02:28 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-11-16 12:02:28 -0200 |
commit | f90bff01fa3468160e9403fb488c1f319c30c6dd (patch) | |
tree | 8bc246501930c82b13484a96b57976c128d091a9 /linux/drivers/media | |
parent | cbbc1373bd674a772030df86c05fdb5cadffa95c (diff) | |
download | mediapointer-dvb-s2-f90bff01fa3468160e9403fb488c1f319c30c6dd.tar.gz mediapointer-dvb-s2-f90bff01fa3468160e9403fb488c1f319c30c6dd.tar.bz2 |
Start adding v4l2_mmap_bufs to prepare for stream
From: Mauro Carvalho Chehab <mchehab@infradead.org>
This method requests buffers and maps it into a mmaped memory.
Still under testing. Still need other stuff to make stream to work.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/v4l2-common.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/linux/drivers/media/video/v4l2-common.c b/linux/drivers/media/video/v4l2-common.c index e6c821745..cab95efa6 100644 --- a/linux/drivers/media/video/v4l2-common.c +++ b/linux/drivers/media/video/v4l2-common.c @@ -202,11 +202,13 @@ char *v4l2_field_names[] = { }; char *v4l2_type_names[] = { - [V4L2_BUF_TYPE_VIDEO_CAPTURE] = "video-cap", - [V4L2_BUF_TYPE_VIDEO_OVERLAY] = "video-over", - [V4L2_BUF_TYPE_VIDEO_OUTPUT] = "video-out", - [V4L2_BUF_TYPE_VBI_CAPTURE] = "vbi-cap", - [V4L2_BUF_TYPE_VBI_OUTPUT] = "vbi-out", + [V4L2_BUF_TYPE_VIDEO_CAPTURE] = "video-cap", + [V4L2_BUF_TYPE_VIDEO_OVERLAY] = "video-over", + [V4L2_BUF_TYPE_VIDEO_OUTPUT] = "video-out", + [V4L2_BUF_TYPE_VBI_CAPTURE] = "vbi-cap", + [V4L2_BUF_TYPE_VBI_OUTPUT] = "vbi-out", + [V4L2_BUF_TYPE_SLICED_VBI_CAPTURE] = "sliced-vbi-cap", + [V4L2_BUF_TYPE_SLICED_VBI_OUTPUT] = "slicec-vbi-out", }; static char *v4l2_memory_names[] = { |