]> granicus.if.org Git - strace/commitdiff
xlat: update V4L2_COLORSPACE_* constants
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sun, 20 Oct 2019 20:01:15 +0000 (22:01 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 22 Oct 2019 17:44:08 +0000 (17:44 +0000)
* xlat/v4l2_colorspaces.in: Add #value_indexed.
(V4L2_COLORSPACE_DEFAULT): New constant introduced by Linux commit
v4.2-rc1~107^2~184.
(V4L2_COLORSPACE_ADOBERGB): Rename to V4L2_COLORSPACE_OPRGB, per Linux
commit v4.20-rc1~69^2~122.
(V4L2_COLORSPACE_SMPTE170M, V4L2_COLORSPACE_SMPTE240M,
V4L2_COLORSPACE_REC709, V4L2_COLORSPACE_BT878,
V4L2_COLORSPACE_470_SYSTEM_M, V4L2_COLORSPACE_470_SYSTEM_BG,
V4L2_COLORSPACE_JPEG, V4L2_COLORSPACE_SRGB, V4L2_COLORSPACE_OPRGB,
V4L2_COLORSPACE_BT2020, V4L2_COLORSPACE_RAW, V4L2_COLORSPACE_DCI_P3):
Add fallback definitions.

xlat/v4l2_colorspaces.in

index 1d227e491df77cb0a4aad50113e4b70deeae9cbf..6b0e7eac760dc05d036e0c04621f89018c5046fc 100644 (file)
@@ -1,12 +1,14 @@
-V4L2_COLORSPACE_SMPTE170M
-V4L2_COLORSPACE_SMPTE240M
-V4L2_COLORSPACE_REC709
-V4L2_COLORSPACE_BT878
-V4L2_COLORSPACE_470_SYSTEM_M
-V4L2_COLORSPACE_470_SYSTEM_BG
-V4L2_COLORSPACE_JPEG
-V4L2_COLORSPACE_SRGB
-V4L2_COLORSPACE_ADOBERGB
-V4L2_COLORSPACE_BT2020
-V4L2_COLORSPACE_RAW
-V4L2_COLORSPACE_DCI_P3
+#value_indexed
+V4L2_COLORSPACE_DEFAULT                0
+V4L2_COLORSPACE_SMPTE170M      1
+V4L2_COLORSPACE_SMPTE240M      2
+V4L2_COLORSPACE_REC709         3
+V4L2_COLORSPACE_BT878          4
+V4L2_COLORSPACE_470_SYSTEM_M   5
+V4L2_COLORSPACE_470_SYSTEM_BG  6
+V4L2_COLORSPACE_JPEG           7
+V4L2_COLORSPACE_SRGB           8
+V4L2_COLORSPACE_OPRGB          9
+V4L2_COLORSPACE_BT2020         10
+V4L2_COLORSPACE_RAW            11
+V4L2_COLORSPACE_DCI_P3         12