mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-02-05 20:30:37 +01:00
Future development will need to evaluate pipelines with curves and matrices. Such pipelines naturally operate on vec3, as matrices cannot be operated one channel at a time. Make weston_color_curve_sample() operate on arrays of vec3. Its currently only caller, weston_color_curve_to_3x1D_LUT(), is modified to employ a temporary array for the API impedance mismatch. This workaround will be removed later as weston_color_curve_to_3x1D_LUT() itself will be converted to operate on vec3 arrays. weston_v3f_array_to_planar() documentation was generated with AI. weston_color_curve_sample() is restructured a little bit, attempting to make it simpler to read. color-operations.h gets the #includes needed to make it self-standing. Assisted-by: Github Copilot (Claude Sonnet 3.5) Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com> |
||
|---|---|---|
| .. | ||
| libweston | ||
| meson.build | ||