summaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-dev.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-02-18 18:05:02 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-03-01 16:09:46 +0100
commitdb6eb5b334a0f095290b99096f68ff24ab6df1aa (patch)
tree234de6644e71d70f3544d32532d6aa026eb8ad75 /include/media/v4l2-dev.h
parentV4L/DVB (5276): Cxusb: fix firmware patch for big endian systems (diff)
downloadlinux-db6eb5b334a0f095290b99096f68ff24ab6df1aa.tar.xz
linux-db6eb5b334a0f095290b99096f68ff24ab6df1aa.zip
V4L/DVB (5270): Add VIDIOC_G_ENC_INDEX ioctl
The VIDIOC_G_ENC_INDEX ioctl can obtain the MPEG index from an MPEG encoder. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media/v4l2-dev.h')
-rw-r--r--include/media/v4l2-dev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h
index aeec56992ef5..e5e87e44c585 100644
--- a/include/media/v4l2-dev.h
+++ b/include/media/v4l2-dev.h
@@ -271,6 +271,8 @@ struct video_device
struct v4l2_jpegcompression *a);
int (*vidioc_s_jpegcomp) (struct file *file, void *fh,
struct v4l2_jpegcompression *a);
+ int (*vidioc_g_enc_index) (struct file *file, void *fh,
+ struct v4l2_enc_idx *a);
/* Stream type-dependent parameter ioctls */
int (*vidioc_g_parm) (struct file *file, void *fh,