V4L/DVB (9578): v4l core: add support for enumerating frame sizes and intervals
video_ioctl2 lacks implementation of those two ioctls: - VIDIOC_ENUM_FRAMESIZES and VIDIOC_ENUM_FRAMEINTERVALS Adds implementation for those. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user