wayland: map ICtCp coefficients to BT.2100 HLG as well

H.273 defines a single ICtCp matrix coefficients for both BT.2100 PQ and
HLG.
This commit is contained in:
llyyr authored and Kacper Michajłow committed 2026-05-27 15:21:19 +02:00
1 parent d05814ceef
commit cce65c722c
1 file changed
+2
+2
View File
@@ -2434,6 +2434,8 @@ static void supported_coefficients_and_ranges(void *data, struct wp_color_repres
case WP_COLOR_REPRESENTATION_SURFACE_V1_COEFFICIENTS_ICTCP:
wl->coefficients_map[PL_COLOR_SYSTEM_BT_2100_PQ] = WP_COLOR_REPRESENTATION_SURFACE_V1_COEFFICIENTS_ICTCP;
wl->range_map[PL_COLOR_SYSTEM_BT_2100_PQ + offset] = range;
wl->coefficients_map[PL_COLOR_SYSTEM_BT_2100_HLG] = WP_COLOR_REPRESENTATION_SURFACE_V1_COEFFICIENTS_ICTCP;
wl->range_map[PL_COLOR_SYSTEM_BT_2100_HLG + offset] = range;
break;
}
}