summaryrefslogtreecommitdiff
path: root/include/uapi/linux/v4l2-dv-timings.h
diff options
context:
space:
mode:
authorCharles-Antoine Couret <charles-antoine.couret@nexvision.fr>2016-09-15 18:29:50 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-19 20:34:41 +0300
commit7389e6ef347443ac90116c2208bbdfb4f9d135ba (patch)
treefcf76bd851d0c0ee5d84d795e4b9789af8a56a49 /include/uapi/linux/v4l2-dv-timings.h
parent618cd932cd38b65d89eb31a5271999b6ccc59b2e (diff)
downloadlinux-7389e6ef347443ac90116c2208bbdfb4f9d135ba.tar.xz
[media] SDI: add flag for SDI formats and SMPTE 125M definition
Adding others generic flags, which could be used by many components like GS1662. Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@nexvision.fr> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/uapi/linux/v4l2-dv-timings.h')
-rw-r--r--include/uapi/linux/v4l2-dv-timings.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/uapi/linux/v4l2-dv-timings.h b/include/uapi/linux/v4l2-dv-timings.h
index 086168e18ca8..f31957166337 100644
--- a/include/uapi/linux/v4l2-dv-timings.h
+++ b/include/uapi/linux/v4l2-dv-timings.h
@@ -934,4 +934,16 @@
V4L2_DV_FL_REDUCED_BLANKING) \
}
+/* SDI timings definitions */
+
+/* SMPTE-125M */
+#define V4L2_DV_BT_SDI_720X487I60 { \
+ .type = V4L2_DV_BT_656_1120, \
+ V4L2_INIT_BT_TIMINGS(720, 487, 1, \
+ V4L2_DV_HSYNC_POS_POL, \
+ 13500000, 16, 121, 0, 0, 19, 0, 0, 19, 0, \
+ V4L2_DV_BT_STD_SDI, \
+ V4L2_DV_FL_FIRST_FIELD_EXTRA_LINE) \
+}
+
#endif