mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-28 05:40:11 -04:00
render: introduce bt.1886 transfer function
This commit is contained in:
parent
d8fb7adcf0
commit
6e1c8748ff
10 changed files with 52 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue