Browse Source

xlat: update V4L2_COLORSPACE_* constants

* 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.
Eugene Syromyatnikov 1 month ago
parent
commit
9c971b9ca2
1 changed files with 14 additions and 12 deletions
  1. 14
    12
      xlat/v4l2_colorspaces.in

+ 14
- 12
xlat/v4l2_colorspaces.in View File

@@ -1,12 +1,14 @@
1
-V4L2_COLORSPACE_SMPTE170M
2
-V4L2_COLORSPACE_SMPTE240M
3
-V4L2_COLORSPACE_REC709
4
-V4L2_COLORSPACE_BT878
5
-V4L2_COLORSPACE_470_SYSTEM_M
6
-V4L2_COLORSPACE_470_SYSTEM_BG
7
-V4L2_COLORSPACE_JPEG
8
-V4L2_COLORSPACE_SRGB
9
-V4L2_COLORSPACE_ADOBERGB
10
-V4L2_COLORSPACE_BT2020
11
-V4L2_COLORSPACE_RAW
12
-V4L2_COLORSPACE_DCI_P3
1
+#value_indexed
2
+V4L2_COLORSPACE_DEFAULT		0
3
+V4L2_COLORSPACE_SMPTE170M	1
4
+V4L2_COLORSPACE_SMPTE240M	2
5
+V4L2_COLORSPACE_REC709		3
6
+V4L2_COLORSPACE_BT878		4
7
+V4L2_COLORSPACE_470_SYSTEM_M	5
8
+V4L2_COLORSPACE_470_SYSTEM_BG	6
9
+V4L2_COLORSPACE_JPEG		7
10
+V4L2_COLORSPACE_SRGB		8
11
+V4L2_COLORSPACE_OPRGB		9
12
+V4L2_COLORSPACE_BT2020		10
13
+V4L2_COLORSPACE_RAW		11
14
+V4L2_COLORSPACE_DCI_P3		12

Loading…
Cancel
Save