mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-20 03:20:04 +01:00
render/color: make wlr_color_primaries_from_named public
This commit is contained in:
parent
c45b3b1f5f
commit
a962d58727
2 changed files with 6 additions and 6 deletions
|
|
@ -87,12 +87,6 @@ struct wlr_color_transform_inverse_eotf *wlr_color_transform_inverse_eotf_from_b
|
|||
struct wlr_color_transform_lut_3x1d *color_transform_lut_3x1d_from_base(
|
||||
struct wlr_color_transform *tr);
|
||||
|
||||
/**
|
||||
* Obtain primaries values from a well-known primaries name.
|
||||
*/
|
||||
void wlr_color_primaries_from_named(struct wlr_color_primaries *out,
|
||||
enum wlr_color_named_primaries named);
|
||||
|
||||
/**
|
||||
* Compute the matrix to convert RGB color values to CIE 1931 XYZ.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -171,6 +171,12 @@ 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]);
|
||||
|
||||
/**
|
||||
* Obtain primaries values from a well-known primaries name.
|
||||
*/
|
||||
void wlr_color_primaries_from_named(struct wlr_color_primaries *out,
|
||||
enum wlr_color_named_primaries named);
|
||||
|
||||
/**
|
||||
* Compute the matrix to convert between two linear RGB color spaces
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue