From de8e3168f033e835e90a8571ec787ffbe171bd26 Mon Sep 17 00:00:00 2001 From: Leandro Ribeiro Date: Fri, 22 Mar 2024 12:32:38 -0300 Subject: [PATCH] tests: reduce tolerance of sRGB->BT2020 MAT test On commit "color: add support to parametric curves in weston_color_curve" we've added support for some parametric curves in Weston. This helped us to be more precise in some cases in which we'd have to fallback to LUT's otherwise. Signed-off-by: Leandro Ribeiro --- tests/color-icc-output-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/color-icc-output-test.c b/tests/color-icc-output-test.c index 38bdc354..9c71a239 100644 --- a/tests/color-icc-output-test.c +++ b/tests/color-icc-output-test.c @@ -138,7 +138,7 @@ static const struct setup_args my_setup_args[] = { { { "sRGB->sRGB MAT VCGT" }, 3, &pipeline_sRGB, 0.8, 0, PTYPE_MATRIX_SHAPER, 0.0000, {1.1, 1.2, 1.3} }, { { "sRGB->adobeRGB MAT" }, 1, &pipeline_adobeRGB, 1.6, 0, PTYPE_MATRIX_SHAPER }, { { "sRGB->adobeRGB MAT VCGT" }, 4, &pipeline_adobeRGB, 1.0, 0, PTYPE_MATRIX_SHAPER, 0.0000, {1.1, 1.2, 1.3} }, - { { "sRGB->BT2020 MAT" }, 2, &pipeline_BT2020, 4.5, 0, PTYPE_MATRIX_SHAPER }, + { { "sRGB->BT2020 MAT" }, 2, &pipeline_BT2020, 1.1, 0, PTYPE_MATRIX_SHAPER }, { { "sRGB->sRGB CLUT" }, 0, &pipeline_sRGB, 0.0, 17, PTYPE_CLUT, 0.0005 }, { { "sRGB->sRGB CLUT VCGT" }, 3, &pipeline_sRGB, 0.9, 17, PTYPE_CLUT, 0.0005, {1.1, 1.2, 1.3} }, { { "sRGB->adobeRGB CLUT" }, 1, &pipeline_adobeRGB, 1.8, 17, PTYPE_CLUT, 0.0065 },