weston/libweston/color-lcms
Leandro Ribeiro afbc729e71 color-lcms: extract color characteristics even when output cprof != NULL
cmlcms_get_hdr_meta() returns early if the output has a color profile
set. That makes sense, because we should be able to get the color
characteristics from the color profiles.

But in the next commits, every output will have a color profile set. To
allow the color-metadata-parsing test, do not return early when
output->color_profile != NULL in cmlcms_get_hdr_meta() anymore.

In the future we'll adjust this function in order to always extract the
color characteristics from color profiles, as output->color_profile
should always be set.

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
2023-10-30 11:47:35 +00:00
..
color-curve-segments.c color-lcms: increase float precision to print segment breaks 2023-06-29 17:05:06 -03:00
color-curve-segments.h color-lcms: rename curve_set_print() to curveset_print() 2023-06-29 11:08:40 +00:00
color-lcms.c color-lcms: extract color characteristics even when output cprof != NULL 2023-10-30 11:47:35 +00:00
color-lcms.h color: add get_stock_sRGB_color_profile() to color manager 2023-10-30 11:47:35 +00:00
color-profile.c color: add get_stock_sRGB_color_profile() to color manager 2023-10-30 11:47:35 +00:00
color-transform.c color-lcms: rename curve_set_print() to curveset_print() 2023-06-29 11:08:40 +00:00
meson.build color-lcms: move code that depend on cmsGetToneCurveSegment() to new file 2023-06-29 11:08:40 +00:00