Browse Source

media: videodev2.h: Add new DV flag CAN_DETECT_REDUCED_FPS

Add a new flag to UAPI for DV timings which, whenever set,
indicates that hardware can detect the difference between
regular FPS and 1000/1001 FPS.

This is specific to HDMI receivers. Also, it is only valid
when V4L2_DV_FL_CAN_REDUCE_FPS is set.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Jose Abreu 8 years ago
parent
commit
f992cee5ef
1 changed files with 7 additions and 0 deletions
  1. 7 0
      include/uapi/linux/videodev2.h

+ 7 - 0
include/uapi/linux/videodev2.h

@@ -1400,6 +1400,13 @@ struct v4l2_bt_timings {
  * InfoFrame).
  * InfoFrame).
  */
  */
 #define V4L2_DV_FL_HAS_HDMI_VIC			(1 << 8)
 #define V4L2_DV_FL_HAS_HDMI_VIC			(1 << 8)
+/*
+ * CEA-861 specific: only valid for video receivers.
+ * If set, then HW can detect the difference between regular FPS and
+ * 1000/1001 FPS. Note: This flag is only valid for HDMI VIC codes with
+ * the V4L2_DV_FL_CAN_REDUCE_FPS flag set.
+ */
+#define V4L2_DV_FL_CAN_DETECT_REDUCED_FPS	(1 << 9)
 
 
 /* A few useful defines to calculate the total blanking and frame sizes */
 /* A few useful defines to calculate the total blanking and frame sizes */
 #define V4L2_DV_BT_BLANKING_WIDTH(bt) \
 #define V4L2_DV_BT_BLANKING_WIDTH(bt) \