diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-02-18 18:56:22 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2007-02-18 18:56:22 +0100 |
commit | d4626bcafa116dabbff5b8aef4a4043f4e25b2d2 (patch) | |
tree | cab86d321b1bad292069f7e13f15dab55bf8a93b /linux/include/media | |
parent | a01a4f3aa02b20388725dc2e7abd1365295672f0 (diff) | |
download | mediapointer-dvb-s2-d4626bcafa116dabbff5b8aef4a4043f4e25b2d2.tar.gz mediapointer-dvb-s2-d4626bcafa116dabbff5b8aef4a4043f4e25b2d2.tar.bz2 |
Add VIDIOC_TRY_ENCODER_CMD and VIDIOC_ENCODER_CMD ioctls.
From: Hans Verkuil <hverkuil@xs4all.nl>
Add support for starting, stopping, pausing and resuming an MPEG (or similar
compressed stream) encoder.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/include/media')
-rw-r--r-- | linux/include/media/v4l2-dev.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/include/media/v4l2-dev.h b/linux/include/media/v4l2-dev.h index 68fbaffc2..0a8c42ac9 100644 --- a/linux/include/media/v4l2-dev.h +++ b/linux/include/media/v4l2-dev.h @@ -283,6 +283,10 @@ struct video_device struct v4l2_jpegcompression *a); int (*vidioc_g_enc_index) (struct file *file, void *fh, struct v4l2_enc_idx *a); + int (*vidioc_encoder_cmd) (struct file *file, void *fh, + struct v4l2_encoder_cmd *a); + int (*vidioc_try_encoder_cmd) (struct file *file, void *fh, + struct v4l2_encoder_cmd *a); /* Stream type-dependent parameter ioctls */ int (*vidioc_g_parm) (struct file *file, void *fh, |