weston/libweston/color-lcms
Pekka Paalanen e3b6d04017 color-lcms: refactor away setup_seach_param()
To me, the use of setup_search_param() makes the code harder to
understand than it needs to be. Replacing that function with open-coding
the struct cmlcms_color_transform_search_param initialization makes it
more clear that:

- get_surface_color_transform is the only one that actually uses a
  surface to initialize it

- get_blend_to_output does not use an input profile at all

- get_sRGB_to_output and get_sRGB_to_blend hardcode the sRGB profile
  like they should

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2022-05-06 09:33:35 +00:00
..
color-lcms.c color-lcms: refactor away setup_seach_param() 2022-05-06 09:33:35 +00:00
color-lcms.h color-lcms: LCMS transform for color mapping 2022-02-12 23:19:00 -05:00
color-profile.c color-lcms: Always use cmsContext for LCMS API which has THR suffix 2022-03-01 22:49:39 -05:00
color-transform.c color-lcms: LCMS transform for color mapping 2022-02-12 23:19:00 -05:00
meson.build color: introduce weston_color_profile 2021-11-23 09:23:05 +00:00