tests/color_util: expose color_float_apply_curve()

I will be needing this in color-icc-output blending test.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
dev
Pekka Paalanen 2 years ago committed by Pekka Paalanen
parent 77fb2f56af
commit 2c0ff9a3b4
  1. 2
      tests/color_util.c
  2. 3
      tests/color_util.h

@ -257,7 +257,7 @@ a8r8g8b8_to_float(uint32_t v)
return cf;
}
static struct color_float
struct color_float
color_float_apply_curve(enum transfer_fn fn, struct color_float c)
{
unsigned i;

@ -111,6 +111,9 @@ process_pixel_using_pipeline(enum transfer_fn pre_curve,
struct color_float
color_float_unpremult(struct color_float in);
struct color_float
color_float_apply_curve(enum transfer_fn fn, struct color_float c);
struct color_float
color_float_apply_matrix(const struct lcmsMAT3 *mat, struct color_float c);

Loading…
Cancel
Save