render: introduce bt.1886 transfer function

This commit is contained in:
llyyr 2025-10-04 14:48:42 +05:30
parent d8fb7adcf0
commit 6e1c8748ff
10 changed files with 52 additions and 0 deletions

View file

@ -202,6 +202,13 @@ void wlr_color_transfer_function_get_default_luminance(enum wlr_color_transfer_f
.reference = 203,
};
break;
case WLR_COLOR_TRANSFER_FUNCTION_BT1886:
*lum = (struct wlr_color_luminances){
.min = 0.01,
.max = 100,
.reference = 100,
};
break;
default:
*lum = (struct wlr_color_luminances){
.min = 0.2,