weston/tests/reference
Vitaly Prosyak fe35ca2d68 tests: color shaper-matrix test
1. Use fixture_setup to set the generated by LCMS output profile based on
   given chromaticities and white points. The following  list of well known
   chromaticities:
    - sRGB
    - adobe RGB
    - bt2020
   and white point is D65. Use INTENT_ABSOLUTE_COLORIMETRIC to avoid BPC.
   Input profile is always sRGB and it is used internally by Weston as
   stock profile.

2. Use these hardcoded matrixes as part of pipeline 1DLUT->3x3->1DLUT.
   The diagnostic code to retrieve the transform matrix is availble into
   test in the comments. The conversion matrixes generated for the
   following cases:
    - sRGB to sRGB (unity)
    - sRGB to adobeRGB
    - sRGB to BT2020
3. Compare GPU shaders(gl texture3D) vs manual pipeline calculation
   Use different max tolerable error per transform.
   There are comments how number of points in 3DLUT is related to tolerance.
   Tolerance depends more on the 1D LUT used for the inv EOTF than
   the tested 3D LUT size: 9x9x9, 17x17x17, 33x33x33, 127x127x127.

4. Enable build matrix-shaper test if color-management-lcms is enabled.

Co-authored-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
2022-02-12 23:19:02 -05:00
..
alpha_blend-00.png tests/alpha-blending: reference blending 2021-06-21 14:36:33 +00:00
alpha_blend-01.png tests/alpha-blending: add sRGB linear light case 2021-06-21 14:36:33 +00:00
basic-test-card.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
chocolate-cake.png tests: add yuv-buffer test 2020-12-17 09:34:09 +00:00
drm_screenshot_no_damage-00.png tests: add drm_screenshot_no_damage 2021-02-25 12:47:07 +02:00
internal-screenshot-bad-00.png Optimize PNGs with zopflipng 2019-03-28 10:09:52 +00:00
internal-screenshot-good-00.png Optimize PNGs with zopflipng 2019-03-28 10:09:52 +00:00
output_1-90_buffer_1-NORMAL-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_1-90_buffer_2-90-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_1-180_buffer_1-NORMAL-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_1-180_buffer_2-90-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_1-270_buffer_1-NORMAL-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_1-270_buffer_2-90-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_1-FLIPPED_90_buffer_1-NORMAL-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_1-FLIPPED_90_buffer_2-90-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_1-FLIPPED_180_buffer_1-NORMAL-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_1-FLIPPED_180_buffer_2-90-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_1-FLIPPED_270_buffer_1-NORMAL-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_1-FLIPPED_270_buffer_2-90-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_1-FLIPPED_buffer_1-NORMAL-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_1-FLIPPED_buffer_2-90-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_1-NORMAL_buffer_1-90-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_1-NORMAL_buffer_1-180-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_1-NORMAL_buffer_1-270-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_1-NORMAL_buffer_1-FLIPPED_90-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_1-NORMAL_buffer_1-FLIPPED_180-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_1-NORMAL_buffer_1-FLIPPED_270-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_1-NORMAL_buffer_1-FLIPPED-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_1-NORMAL_buffer_1-NORMAL-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_1-NORMAL_buffer_2-90-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_1-NORMAL_buffer_2-180-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_1-NORMAL_buffer_2-FLIPPED-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_1-NORMAL_buffer_2-NORMAL-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_1-NORMAL_buffer_3-FLIPPED_90-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_1-NORMAL_buffer_3-NORMAL-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_2-90_buffer_1-90-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_2-90_buffer_1-180-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_2-90_buffer_1-270-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_2-90_buffer_1-FLIPPED_90-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_2-90_buffer_1-FLIPPED_180-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_2-90_buffer_1-FLIPPED_270-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_2-90_buffer_1-FLIPPED-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_2-90_buffer_1-NORMAL-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_2-90_buffer_2-90-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_2-90_buffer_2-180-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_2-90_buffer_2-FLIPPED-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_2-90_buffer_2-NORMAL-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_2-90_buffer_3-FLIPPED_90-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_2-90_buffer_3-NORMAL-00.png tests: add buffer transform tests 2020-02-28 16:02:10 +02:00
output_2-180_buffer_1-NORMAL-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_2-180_buffer_2-90-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_2-FLIPPED_buffer_1-NORMAL-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_2-FLIPPED_buffer_2-90-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_2-NORMAL_buffer_1-NORMAL-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_2-NORMAL_buffer_2-90-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_3-FLIPPED_270_buffer_1-NORMAL-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_3-FLIPPED_270_buffer_2-90-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_3-NORMAL_buffer_1-NORMAL-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output_3-NORMAL_buffer_2-90-00.png tests: add output transform tests 2020-02-28 15:07:51 +02:00
output-damage_1-90-01.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_1-90-02.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_1-180-01.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_1-180-02.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_1-270-01.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_1-270-02.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_1-FLIPPED_90-01.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_1-FLIPPED_90-02.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_1-FLIPPED_180-01.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_1-FLIPPED_180-02.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_1-FLIPPED_270-01.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_1-FLIPPED_270-02.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_1-FLIPPED-01.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_1-FLIPPED-02.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_1-NORMAL-01.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_1-NORMAL-02.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_2-90-01.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_2-90-02.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_2-180-01.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_2-180-02.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_2-FLIPPED-01.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_2-FLIPPED-02.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_2-NORMAL-01.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_2-NORMAL-02.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_3-FLIPPED_270-01.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_3-FLIPPED_270-02.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_3-NORMAL-01.png tests: add output damage test 2021-02-25 12:54:17 +02:00
output-damage_3-NORMAL-02.png tests: add output damage test 2021-02-25 12:54:17 +02:00
pointer_cursor_reenter-00.png tests: Add shot test for pointer cursor behavior 2021-06-10 17:20:30 +03:00
pointer_cursor_reenter-01.png tests: Add shot test for pointer cursor behavior 2021-06-10 17:20:30 +03:00
pointer_cursor_reenter-02.png tests: Add shot test for pointer cursor behavior 2021-06-10 17:20:30 +03:00
shaper_matrix-00.png tests: color shaper-matrix test 2022-02-12 23:19:02 -05:00
shaper_matrix-01.png tests: color shaper-matrix test 2022-02-12 23:19:02 -05:00
shaper_matrix-02.png tests: color shaper-matrix test 2022-02-12 23:19:02 -05:00
subsurface_empty_mapping-00.png tests: Add test for subsurfaces mapping hierachies 2022-02-07 12:16:16 +00:00
subsurface_empty_mapping-01.png tests: Add test for subsurfaces mapping hierachies 2022-02-07 12:16:16 +00:00
subsurface_sync_damage_buffer-00.png tests: Add test for synced subsurfaces and buffer damage 2022-02-03 15:44:47 +00:00
subsurface_sync_damage_buffer-01.png tests: Add test for synced subsurfaces and buffer damage 2022-02-03 15:44:47 +00:00
subsurface_sync_damage_buffer-02.png tests: Add test for synced subsurfaces and buffer damage 2022-02-03 15:44:47 +00:00
subsurface_z_order-00.png Optimize PNGs with zopflipng 2019-03-28 10:09:52 +00:00
subsurface_z_order-01.png Optimize PNGs with zopflipng 2019-03-28 10:09:52 +00:00
subsurface_z_order-02.png Optimize PNGs with zopflipng 2019-03-28 10:09:52 +00:00
subsurface_z_order-03.png Optimize PNGs with zopflipng 2019-03-28 10:09:52 +00:00
subsurface_z_order-04.png Optimize PNGs with zopflipng 2019-03-28 10:09:52 +00:00
viewport_upscale_solid-00.png tests: add viewport test for repeat mode 2020-03-12 13:22:06 +02:00
yuv-buffer-00.png tests: add yuv-buffer test 2020-12-17 09:34:09 +00:00