mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-17 22:05:56 -05:00
render/color: add wlr_color_primaries_transform_absolute_colorimetric
This commit is contained in:
parent
9b9d7d845d
commit
17f3f28865
3 changed files with 22 additions and 16 deletions
|
|
@ -165,4 +165,11 @@ void wlr_color_transform_unref(struct wlr_color_transform *tr);
|
|||
void wlr_color_transform_eval(struct wlr_color_transform *tr,
|
||||
float out[static 3], const float in[static 3]);
|
||||
|
||||
/**
|
||||
* Compute the matrix to convert between two linear RGB color spaces
|
||||
*/
|
||||
void wlr_color_primaries_transform_absolute_colorimetric(
|
||||
const struct wlr_color_primaries *source,
|
||||
const struct wlr_color_primaries *destination, float matrix[static 9]);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue