711b27797d
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> |
||
---|---|---|
.. | ||
color-lcms.c | ||
color-lcms.h | ||
color-profile.c | ||
color-transform.c | ||
meson.build |