diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2011-12-15 08:40:23 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-02-14 10:45:56 -0500 |
commit | 6e82a6a2a0e895b787f22d28311232cc94fda4b9 (patch) | |
tree | 8b002b1d946d7a5d525ed8f0b84499f1650a2301 /include | |
parent | 85eeece773a6f0d2ba00958782995cbe68218256 (diff) |
[media] ivtv: add IVTV_IOC_PASSTHROUGH_MODE
With this private ioctl it is possible to use the ivtv decoder without
requiring the dvb/video.h and dvb/audio.h headers.
Eventually support for those DVB APIs will be dropped from ivtv.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ivtv.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/ivtv.h b/include/linux/ivtv.h index 062d20f74322..42bf725751af 100644 --- a/include/linux/ivtv.h +++ b/include/linux/ivtv.h | |||
@@ -58,7 +58,11 @@ struct ivtv_dma_frame { | |||
58 | __u32 src_height; | 58 | __u32 src_height; |
59 | }; | 59 | }; |
60 | 60 | ||
61 | #define IVTV_IOC_DMA_FRAME _IOW ('V', BASE_VIDIOC_PRIVATE+0, struct ivtv_dma_frame) | 61 | #define IVTV_IOC_DMA_FRAME _IOW ('V', BASE_VIDIOC_PRIVATE+0, struct ivtv_dma_frame) |
62 | |||
63 | /* Select the passthrough mode (if the argument is non-zero). In the passthrough | ||
64 | mode the output of the encoder is passed immediately into the decoder. */ | ||
65 | #define IVTV_IOC_PASSTHROUGH_MODE _IOW ('V', BASE_VIDIOC_PRIVATE+1, int) | ||
62 | 66 | ||
63 | /* Deprecated defines: applications should use the defines from videodev2.h */ | 67 | /* Deprecated defines: applications should use the defines from videodev2.h */ |
64 | #define IVTV_SLICED_TYPE_TELETEXT_B V4L2_MPEG_VBI_IVTV_TELETEXT_B | 68 | #define IVTV_SLICED_TYPE_TELETEXT_B V4L2_MPEG_VBI_IVTV_TELETEXT_B |