]> Gentwo Git Trees - linux/.git/commit
drm/colorop: add BT2020/BT709 OETF and Inverse OETF
authorHarry Wentland <harry.wentland@amd.com>
Sat, 15 Nov 2025 00:01:58 +0000 (17:01 -0700)
committerSimon Ser <contact@emersion.fr>
Wed, 26 Nov 2025 22:03:35 +0000 (23:03 +0100)
commita355b3d6a46e42b05fafa587cebe76039ed388c6
tree2ebde4109462177bc40fdbe8155cccce7768bdc3
parentef3d703f64915ec38da5e2737f5234bbb5b89266
drm/colorop: add BT2020/BT709 OETF and Inverse OETF

The BT.709 and BT.2020 OETFs are the same, the only difference
being that the BT.2020 variant is defined with more precision
for 10 and 12-bit per color encodings.

Both are used as encoding functions for video content, and are
therefore defined as OETF (opto-electronic transfer function)
instead of as EOTF (electro-optical transfer function).

Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Sebastian Wick <sebastian.wick@redhat.com>
Signed-off-by: Simon Ser <contact@emersion.fr>
Link: https://patch.msgid.link/20251115000237.3561250-34-alex.hung@amd.com
drivers/gpu/drm/drm_colorop.c
include/drm/drm_colorop.h