aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-ioctl.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2011-11-24 07:53:43 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-02-14 10:41:42 -0500
commita45c0ad51d344dad18c6fb67304b4f87cf0ffd59 (patch)
treeacdd8cac43a26db7f5d993adffb5e7e6a2634498 /include/media/v4l2-ioctl.h
parent32d7e63c1f4f86ad18404e3f36be99c9910fae9b (diff)
[media] v4l2: add VIDIOC_(TRY_)DECODER_CMD
As discussed during the 2011 V4L-DVB workshop, the API in dvb/video.h should be replaced by a proper V4L2 API. This patch turns the VIDEO_(TRY_)DECODER_CMD ioctls into proper V4L2 ioctls. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/v4l2-ioctl.h')
-rw-r--r--include/media/v4l2-ioctl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/v4l2-ioctl.h b/include/media/v4l2-ioctl.h
index 3f5d60fc5df6..4df031af9949 100644
--- a/include/media/v4l2-ioctl.h
+++ b/include/media/v4l2-ioctl.h
@@ -211,6 +211,10 @@ struct v4l2_ioctl_ops {
211 struct v4l2_encoder_cmd *a); 211 struct v4l2_encoder_cmd *a);
212 int (*vidioc_try_encoder_cmd) (struct file *file, void *fh, 212 int (*vidioc_try_encoder_cmd) (struct file *file, void *fh,
213 struct v4l2_encoder_cmd *a); 213 struct v4l2_encoder_cmd *a);
214 int (*vidioc_decoder_cmd) (struct file *file, void *fh,
215 struct v4l2_decoder_cmd *a);
216 int (*vidioc_try_decoder_cmd) (struct file *file, void *fh,
217 struct v4l2_decoder_cmd *a);
214 218
215 /* Stream type-dependent parameter ioctls */ 219 /* Stream type-dependent parameter ioctls */
216 int (*vidioc_g_parm) (struct file *file, void *fh, 220 int (*vidioc_g_parm) (struct file *file, void *fh,