summaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-mc.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2016-01-29 10:00:57 +0100
committerMauro Carvalho Chehab2016-02-01 10:24:13 +0100
commite4001e955bec5566848624635cfb2d353ebac507 (patch)
tree4df7740056cc1c29b69213624edcce40177255fe /include/media/v4l2-mc.h
parent[media] v4l2-mc.h Add pads for audio and video IF-PLL decoders (diff)
downloadkernel-qcow2-linux-e4001e955bec5566848624635cfb2d353ebac507.tar.gz
kernel-qcow2-linux-e4001e955bec5566848624635cfb2d353ebac507.tar.xz
kernel-qcow2-linux-e4001e955bec5566848624635cfb2d353ebac507.zip
[media] v4l2-mc: add analog TV demodulator pad index macros
We also need to standardize the PAD index macros for demods, as they all should look the same in a media graph. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media/v4l2-mc.h')
-rw-r--r--include/media/v4l2-mc.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/media/v4l2-mc.h b/include/media/v4l2-mc.h
index 6a6ef5bc767e..df115195690e 100644
--- a/include/media/v4l2-mc.h
+++ b/include/media/v4l2-mc.h
@@ -74,3 +74,18 @@ enum if_aud_dec_pad_index {
IF_AUD_DEC_PAD_OUT,
IF_AUD_DEC_PAD_NUM_PADS
};
+
+/**
+ * enum demod_pad_index - analog TV pad index for MEDIA_ENT_F_ATV_DECODER
+ *
+ * @DEMOD_PAD_IF_INPUT: IF input sink pad.
+ * @DEMOD_PAD_VID_OUT: Video output source pad.
+ * @DEMOD_PAD_VBI_OUT: Vertical Blank Interface (VBI) output source pad.
+ * @DEMOD_NUM_PADS: Maximum number of output pads.
+ */
+enum demod_pad_index {
+ DEMOD_PAD_IF_INPUT,
+ DEMOD_PAD_VID_OUT,
+ DEMOD_PAD_VBI_OUT,
+ DEMOD_NUM_PADS
+};