diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-11 22:13:47 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-11 22:13:47 -0200 |
commit | cbc456f2703b542b2548726fee33cb664004047a (patch) | |
tree | bb3320073c0bcd6eeef212741249095242436a9d /linux/include/media | |
parent | f340cd6d7fd5375d619b1a902e8d005f79cd604a (diff) | |
download | mediapointer-dvb-s2-cbc456f2703b542b2548726fee33cb664004047a.tar.gz mediapointer-dvb-s2-cbc456f2703b542b2548726fee33cb664004047a.tar.bz2 |
v4l core: add support for enumerating frame sizes and intervals
From: Mauro Carvalho Chehab <mchehab@redhat.com>
video_ioctl2 lacks implementation of those two ioctls:
- VIDIOC_ENUM_FRAMESIZES and VIDIOC_ENUM_FRAMEINTERVALS
Adds implementation for those.
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/include/media')
-rw-r--r-- | linux/include/media/v4l2-ioctl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linux/include/media/v4l2-ioctl.h b/linux/include/media/v4l2-ioctl.h index f5985724c..c884432f9 100644 --- a/linux/include/media/v4l2-ioctl.h +++ b/linux/include/media/v4l2-ioctl.h @@ -232,6 +232,12 @@ struct v4l2_ioctl_ops { int (*vidioc_g_chip_ident) (struct file *file, void *fh, struct v4l2_chip_ident *chip); + int (*vidioc_enum_framesizes) (struct file *file, void *fh, + struct v4l2_frmsizeenum *fsize); + + int (*vidioc_enum_frameintervals) (struct file *file, void *fh, + struct v4l2_frmivalenum *fival); + /* For other private ioctls */ int (*vidioc_default) (struct file *file, void *fh, int cmd, void *arg); |