Skip to content
Snippets Groups Projects

Color management architecture: color profiles

Merged Pekka Paalanen requested to merge pq/weston:mr/color-output into main
Compare changes
  • Side-by-side
  • Inline
Files
4
  • 59a6825e
    color-lcms: use sRGB EOTF · 59a6825e
    Pekka Paalanen authored
    Initialize LittleCMS and use it to generate the sRGB EOTF and inverse
    curves. Use these curves to define the blending color space as optical
    (linear) sRGB by assuming that both content and output color spaces are
    sRGB.
    
    As a consequence, this causes Weston to do "gamma correct blending", as
    in, blend in light linear space which should avoid distorting colors in
    alpha gradients, when color-lcms is active.
    
    This makes use of the 3x1D LUT support added in gl-renderer earlier, and
    shows how the color manager is responsible for re-using existing color
    transformation objects.
    
    Co-authored-by: default avatarVitaly Prosyak <vitaly.prosyak@amd.com>
    Signed-off-by: default avatarVitaly Prosyak <vitaly.prosyak@amd.com>
    Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
Loading