mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
render/color: introduce wlr_color_transform_eotf
This commit is contained in:
parent
35c35530a3
commit
42cf99a037
4 changed files with 99 additions and 0 deletions
|
|
@ -127,6 +127,13 @@ struct wlr_color_transform;
|
|||
struct wlr_color_transform *wlr_color_transform_init_linear_to_icc(
|
||||
const void *data, size_t size);
|
||||
|
||||
/**
|
||||
* Initialize a color transformation to apply EOTF decoding. Returns
|
||||
* NULL on failure.
|
||||
*/
|
||||
struct wlr_color_transform *wlr_color_transform_init_eotf_to_linear(
|
||||
enum wlr_color_transfer_function tf);
|
||||
|
||||
/**
|
||||
* Initialize a color transformation to apply EOTF⁻¹ encoding. Returns
|
||||
* NULL on failure.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue