weston/libweston/color-lcms
Pekka Paalanen 711b27797d color-lcms: relax cmlcms_fill_in_output_inv_eotf_vcgt()
Relax the types of color transformations categories where this function
can be used. Yes, it is only useful for BLEND_TO_OUTPUT, but that is for
the user of this function to take care of. This function always works as
named regardless. The only condition is that output_inv_eotf_vcgt has
been populated, so fill_in_curves() may as well assert that.

While at it, make the code a little more concise. The 'len' assertion
belongs in fill_in_curves() because that is where the problem would
appear if the assertion failed.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2022-09-28 10:28:28 +00:00
..
color-lcms.c color-lcms: color characteristics into HDR metadata 2022-05-27 10:30:35 +00:00
color-lcms.h color-lcms: rename output_eotf to eotf 2022-09-28 10:28:28 +00:00
color-profile.c color-lcms: rename output_eotf to eotf 2022-09-28 10:28:28 +00:00
color-transform.c color-lcms: relax cmlcms_fill_in_output_inv_eotf_vcgt() 2022-09-28 10:28:28 +00:00
meson.build build: consolidate lcms2 dependencies 2022-06-03 10:22:25 +00:00