aboutsummaryrefslogtreecommitdiffstats
path: root/utils/qvidcap/capture-win-gl.cpp
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2018-09-24 15:56:13 +0200
committerHans Verkuil <hans.verkuil@cisco.com>2018-09-24 15:56:13 +0200
commit4890391b5d9e25ddd933e29c8f812a138e77919b (patch)
treebf7bcc039c7e56fee213c0b7237ff767928f0665 /utils/qvidcap/capture-win-gl.cpp
parentcaed5d64e32d55fd6abb7d4be941aaaa857be42e (diff)
v4l-utils: replace all AdobeRGB/YCC references by opRGB/YCC references.
In November last year all references to the AdobeRGB colorspace were removed from the CTA-861 standards (all versions) and replaced with the corresponding international opRGB standard (IEC 61966-2-5) due to trademark issues. Do the same in v4l-utils. If nothing else, this keeps the utilities in sync with the standard. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'utils/qvidcap/capture-win-gl.cpp')
-rw-r--r--utils/qvidcap/capture-win-gl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/utils/qvidcap/capture-win-gl.cpp b/utils/qvidcap/capture-win-gl.cpp
index 95177115..c415f9a9 100644
--- a/utils/qvidcap/capture-win-gl.cpp
+++ b/utils/qvidcap/capture-win-gl.cpp
@@ -117,7 +117,7 @@ const __u32 colorspaces[] = {
V4L2_COLORSPACE_470_SYSTEM_M,
V4L2_COLORSPACE_470_SYSTEM_BG,
V4L2_COLORSPACE_SRGB,
- V4L2_COLORSPACE_ADOBERGB,
+ V4L2_COLORSPACE_OPRGB,
V4L2_COLORSPACE_DCI_P3,
V4L2_COLORSPACE_BT2020,
0
@@ -126,7 +126,7 @@ const __u32 colorspaces[] = {
const __u32 xfer_funcs[] = {
V4L2_XFER_FUNC_709,
V4L2_XFER_FUNC_SRGB,
- V4L2_XFER_FUNC_ADOBERGB,
+ V4L2_XFER_FUNC_OPRGB,
V4L2_XFER_FUNC_DCI_P3,
V4L2_XFER_FUNC_SMPTE2084,
V4L2_XFER_FUNC_SMPTE240M,
@@ -942,7 +942,7 @@ bool CaptureGLWin::setV4LFormat(cv4l_fmt &fmt)
case V4L2_COLORSPACE_470_SYSTEM_M:
case V4L2_COLORSPACE_470_SYSTEM_BG:
case V4L2_COLORSPACE_SRGB:
- case V4L2_COLORSPACE_ADOBERGB:
+ case V4L2_COLORSPACE_OPRGB:
case V4L2_COLORSPACE_BT2020:
case V4L2_COLORSPACE_DCI_P3:
break;
@@ -1842,7 +1842,7 @@ static const struct define defines[] = {
DEF(V4L2_COLORSPACE_470_SYSTEM_M),
DEF(V4L2_COLORSPACE_470_SYSTEM_BG),
DEF(V4L2_COLORSPACE_SRGB),
- DEF(V4L2_COLORSPACE_ADOBERGB),
+ DEF(V4L2_COLORSPACE_OPRGB),
DEF(V4L2_COLORSPACE_BT2020),
DEF(V4L2_COLORSPACE_RAW),
DEF(V4L2_COLORSPACE_DCI_P3),
@@ -1850,7 +1850,7 @@ static const struct define defines[] = {
DEF(V4L2_XFER_FUNC_DEFAULT),
DEF(V4L2_XFER_FUNC_709),
DEF(V4L2_XFER_FUNC_SRGB),
- DEF(V4L2_XFER_FUNC_ADOBERGB),
+ DEF(V4L2_XFER_FUNC_OPRGB),
DEF(V4L2_XFER_FUNC_SMPTE240M),
DEF(V4L2_XFER_FUNC_NONE),
DEF(V4L2_XFER_FUNC_DCI_P3),

Privacy Policy