mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-25 20:58:17 +02:00
Before checking if our LittleCMS curve matches any of our known tf, we need to map it to one of our well-known LINPOW or POWLIN. We were doing that, but setting only the g param of the curve. a, b, c, and d were not being set, resulting in a mismatch when comparing the curve parameters with the ones in our tf's. As we were not finding any match, we were always mapping the LittleCMS power-law to the parametric power-law tf, even if the exponent was 2.2 or 2.4 (which have their own tf's). Now we properly set all the parameters before doing the check. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com> |
||
|---|---|---|
| .. | ||
| color-curve-segments.c | ||
| color-curve-segments.h | ||
| color-lcms.c | ||
| color-lcms.h | ||
| color-profile.c | ||
| color-transform.c | ||
| color-transformer.c | ||
| meson.build | ||