diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2016-01-27 08:31:39 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-10 06:30:56 -0500 |
commit | 45cc29afb47f229014257068a3153276b2fb4c38 (patch) | |
tree | ed613c50538e6905377094e8acd834dd0ebdbc9a /include/uapi/linux/v4l2-controls.h | |
parent | bd3e275f3ec095eccc3b3c655b83e1b577848f92 (diff) |
[media] v4l2-ctrls: add V4L2_CID_DV_RX/TX_IT_CONTENT_TYPE controls
HDMI and DisplayPort both support IT Content Type information that
tells the receiver what type of material the video is, graphics such
as from a PC desktop, Photo, Cinema or Game (low-latency).
This patch adds controls for receivers and transmitters to get/set
this information.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/uapi/linux/v4l2-controls.h')
-rw-r--r-- | include/uapi/linux/v4l2-controls.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h index 2d225bcdb831..2ae5c3ea179b 100644 --- a/include/uapi/linux/v4l2-controls.h +++ b/include/uapi/linux/v4l2-controls.h | |||
@@ -912,8 +912,18 @@ enum v4l2_dv_rgb_range { | |||
912 | V4L2_DV_RGB_RANGE_FULL = 2, | 912 | V4L2_DV_RGB_RANGE_FULL = 2, |
913 | }; | 913 | }; |
914 | 914 | ||
915 | #define V4L2_CID_DV_TX_IT_CONTENT_TYPE (V4L2_CID_DV_CLASS_BASE + 6) | ||
916 | enum v4l2_dv_it_content_type { | ||
917 | V4L2_DV_IT_CONTENT_TYPE_GRAPHICS = 0, | ||
918 | V4L2_DV_IT_CONTENT_TYPE_PHOTO = 1, | ||
919 | V4L2_DV_IT_CONTENT_TYPE_CINEMA = 2, | ||
920 | V4L2_DV_IT_CONTENT_TYPE_GAME = 3, | ||
921 | V4L2_DV_IT_CONTENT_TYPE_NO_ITC = 4, | ||
922 | }; | ||
923 | |||
915 | #define V4L2_CID_DV_RX_POWER_PRESENT (V4L2_CID_DV_CLASS_BASE + 100) | 924 | #define V4L2_CID_DV_RX_POWER_PRESENT (V4L2_CID_DV_CLASS_BASE + 100) |
916 | #define V4L2_CID_DV_RX_RGB_RANGE (V4L2_CID_DV_CLASS_BASE + 101) | 925 | #define V4L2_CID_DV_RX_RGB_RANGE (V4L2_CID_DV_CLASS_BASE + 101) |
926 | #define V4L2_CID_DV_RX_IT_CONTENT_TYPE (V4L2_CID_DV_CLASS_BASE + 102) | ||
917 | 927 | ||
918 | #define V4L2_CID_FM_RX_CLASS_BASE (V4L2_CTRL_CLASS_FM_RX | 0x900) | 928 | #define V4L2_CID_FM_RX_CLASS_BASE (V4L2_CTRL_CLASS_FM_RX | 0x900) |
919 | #define V4L2_CID_FM_RX_CLASS (V4L2_CTRL_CLASS_FM_RX | 1) | 929 | #define V4L2_CID_FM_RX_CLASS (V4L2_CTRL_CLASS_FM_RX | 1) |