mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-13 14:32:57 -04:00
render: color: Add method to get matrix from encoding and range
Signed-off-by: Andri Yngvason <andri@yngvason.is>
This commit is contained in:
parent
e8c03e9ce9
commit
99235f7142
2 changed files with 91 additions and 0 deletions
|
|
@ -108,4 +108,7 @@ void wlr_color_primaries_to_xyz(const struct wlr_color_primaries *primaries, flo
|
|||
void wlr_color_transfer_function_get_default_luminance(enum wlr_color_transfer_function tf,
|
||||
struct wlr_color_luminances *lum);
|
||||
|
||||
void wlr_color_rgb_to_ycbcr_matrix(enum wlr_color_encoding encoding,
|
||||
enum wlr_color_range range, float matrix[static 16]);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue