summaryrefslogtreecommitdiff
path: root/src/xlat/v4l2_std_ids.in
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2023-05-14 20:53:27 +0200
committerDmitry V. Levin <ldv@strace.io>2023-05-16 08:00:00 +0000
commit42f460aa02b317df79d4630ad82145c02f692672 (patch)
tree47b7289739b75450164bf4baf94f8c2b860e19ea /src/xlat/v4l2_std_ids.in
parent8f691206e4aa769cc99e264f1c15ae6956789f91 (diff)
downloadstrace-42f460aa02b317df79d4630ad82145c02f692672.tar.gz
v4l2: Add support for interpreting remaining fields in VIDIOC_ENUMINPUT struct v4l2_inputldv/next
Interpret $audioset as flags, $tuner as integer. Add ID list for v4l2_std_id. Add flags for status and capabilities and interpret them. This is based off Linux commit: b6456c0cfe9d ("V4L/DVB (13571): v4l: Adding Digital Video Timings APIs") Latest documentation is at: https://docs.kernel.org/userspace-api/media/v4l/vidioc-enuminput.html Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'src/xlat/v4l2_std_ids.in')
-rw-r--r--src/xlat/v4l2_std_ids.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/xlat/v4l2_std_ids.in b/src/xlat/v4l2_std_ids.in
new file mode 100644
index 000000000..badf23860
--- /dev/null
+++ b/src/xlat/v4l2_std_ids.in
@@ -0,0 +1,27 @@
+#unconditional
+V4L2_STD_PAL_B ((v4l2_std_id)0x00000001)
+V4L2_STD_PAL_B1 ((v4l2_std_id)0x00000002)
+V4L2_STD_PAL_G ((v4l2_std_id)0x00000004)
+V4L2_STD_PAL_H ((v4l2_std_id)0x00000008)
+V4L2_STD_PAL_I ((v4l2_std_id)0x00000010)
+V4L2_STD_PAL_D ((v4l2_std_id)0x00000020)
+V4L2_STD_PAL_D1 ((v4l2_std_id)0x00000040)
+V4L2_STD_PAL_K ((v4l2_std_id)0x00000080)
+V4L2_STD_PAL_M ((v4l2_std_id)0x00000100)
+V4L2_STD_PAL_N ((v4l2_std_id)0x00000200)
+V4L2_STD_PAL_Nc ((v4l2_std_id)0x00000400)
+V4L2_STD_PAL_60 ((v4l2_std_id)0x00000800)
+V4L2_STD_NTSC_M ((v4l2_std_id)0x00001000)
+V4L2_STD_NTSC_M_JP ((v4l2_std_id)0x00002000)
+V4L2_STD_NTSC_443 ((v4l2_std_id)0x00004000)
+V4L2_STD_NTSC_M_KR ((v4l2_std_id)0x00008000)
+V4L2_STD_SECAM_B ((v4l2_std_id)0x00010000)
+V4L2_STD_SECAM_D ((v4l2_std_id)0x00020000)
+V4L2_STD_SECAM_G ((v4l2_std_id)0x00040000)
+V4L2_STD_SECAM_H ((v4l2_std_id)0x00080000)
+V4L2_STD_SECAM_K ((v4l2_std_id)0x00100000)
+V4L2_STD_SECAM_K1 ((v4l2_std_id)0x00200000)
+V4L2_STD_SECAM_L ((v4l2_std_id)0x00400000)
+V4L2_STD_SECAM_LC ((v4l2_std_id)0x00800000)
+V4L2_STD_ATSC_8_VSB ((v4l2_std_id)0x01000000)
+V4L2_STD_ATSC_16_VSB ((v4l2_std_id)0x02000000)