diff options
| author | Jose Abreu <Jose.Abreu@synopsys.com> | 2017-03-21 07:49:16 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-08-31 09:32:02 -0400 |
| commit | f992cee5ef9769f8a804d155e4451980cc96c855 (patch) | |
| tree | 7b4ab05e2d6be25ddc60a5c0d301466c0079480a /include/uapi/linux | |
| parent | a125385c9b17de4e555cc2057593ab11da5edc70 (diff) | |
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>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/videodev2.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 5d1a3685bea9..622f0479d668 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h | |||
| @@ -1400,6 +1400,13 @@ struct v4l2_bt_timings { | |||
| 1400 | * InfoFrame). | 1400 | * InfoFrame). |
| 1401 | */ | 1401 | */ |
| 1402 | #define V4L2_DV_FL_HAS_HDMI_VIC (1 << 8) | 1402 | #define V4L2_DV_FL_HAS_HDMI_VIC (1 << 8) |
| 1403 | /* | ||
| 1404 | * CEA-861 specific: only valid for video receivers. | ||
| 1405 | * If set, then HW can detect the difference between regular FPS and | ||
| 1406 | * 1000/1001 FPS. Note: This flag is only valid for HDMI VIC codes with | ||
| 1407 | * the V4L2_DV_FL_CAN_REDUCE_FPS flag set. | ||
| 1408 | */ | ||
| 1409 | #define V4L2_DV_FL_CAN_DETECT_REDUCED_FPS (1 << 9) | ||
| 1403 | 1410 | ||
| 1404 | /* A few useful defines to calculate the total blanking and frame sizes */ | 1411 | /* A few useful defines to calculate the total blanking and frame sizes */ |
| 1405 | #define V4L2_DV_BT_BLANKING_WIDTH(bt) \ | 1412 | #define V4L2_DV_BT_BLANKING_WIDTH(bt) \ |
