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
alpha_blend-01.png
basic-test-card.png
chocolate-cake.png
drm_screenshot_no_damage-00.png
internal-screenshot-bad-00.png
internal-screenshot-good-00.png
output-damage_1-90-01.png
output-damage_1-90-02.png
output-damage_1-180-01.png
output-damage_1-180-02.png
output-damage_1-270-01.png
output-damage_1-270-02.png
output-damage_1-FLIPPED-01.png
output-damage_1-FLIPPED-02.png
output-damage_1-FLIPPED_90-01.png
output-damage_1-FLIPPED_90-02.png
output-damage_1-FLIPPED_180-01.png
output-damage_1-FLIPPED_180-02.png
output-damage_1-FLIPPED_270-01.png
output-damage_1-FLIPPED_270-02.png
output-damage_1-NORMAL-01.png
output-damage_1-NORMAL-02.png
output-damage_2-90-01.png
output-damage_2-90-02.png
output-damage_2-180-01.png
output-damage_2-180-02.png
output-damage_2-FLIPPED-01.png
output-damage_2-FLIPPED-02.png
output-damage_2-NORMAL-01.png
output-damage_2-NORMAL-02.png
output-damage_3-FLIPPED_270-01.png
output-damage_3-FLIPPED_270-02.png
output-damage_3-NORMAL-01.png
output-damage_3-NORMAL-02.png
output_1-90_buffer_1-NORMAL-00.png
output_1-90_buffer_2-90-00.png
output_1-180_buffer_1-NORMAL-00.png
output_1-180_buffer_2-90-00.png
output_1-270_buffer_1-NORMAL-00.png
output_1-270_buffer_2-90-00.png
output_1-FLIPPED_90_buffer_1-NORMAL-00.png
output_1-FLIPPED_90_buffer_2-90-00.png
output_1-FLIPPED_180_buffer_1-NORMAL-00.png
output_1-FLIPPED_180_buffer_2-90-00.png
output_1-FLIPPED_270_buffer_1-NORMAL-00.png
output_1-FLIPPED_270_buffer_2-90-00.png
output_1-FLIPPED_buffer_1-NORMAL-00.png
output_1-FLIPPED_buffer_2-90-00.png
output_1-NORMAL_buffer_1-90-00.png
output_1-NORMAL_buffer_1-180-00.png
output_1-NORMAL_buffer_1-270-00.png
output_1-NORMAL_buffer_1-FLIPPED-00.png
output_1-NORMAL_buffer_1-FLIPPED_90-00.png
output_1-NORMAL_buffer_1-FLIPPED_180-00.png
output_1-NORMAL_buffer_1-FLIPPED_270-00.png
output_1-NORMAL_buffer_1-NORMAL-00.png
output_1-NORMAL_buffer_2-90-00.png
output_1-NORMAL_buffer_2-180-00.png
output_1-NORMAL_buffer_2-FLIPPED-00.png
output_1-NORMAL_buffer_2-NORMAL-00.png
output_1-NORMAL_buffer_3-FLIPPED_90-00.png
output_1-NORMAL_buffer_3-NORMAL-00.png
output_2-90_buffer_1-90-00.png
output_2-90_buffer_1-180-00.png
output_2-90_buffer_1-270-00.png
output_2-90_buffer_1-FLIPPED-00.png
output_2-90_buffer_1-FLIPPED_90-00.png
output_2-90_buffer_1-FLIPPED_180-00.png
output_2-90_buffer_1-FLIPPED_270-00.png
output_2-90_buffer_1-NORMAL-00.png
output_2-90_buffer_2-90-00.png
output_2-90_buffer_2-180-00.png
output_2-90_buffer_2-FLIPPED-00.png
output_2-90_buffer_2-NORMAL-00.png
output_2-90_buffer_3-FLIPPED_90-00.png
output_2-90_buffer_3-NORMAL-00.png
output_2-180_buffer_1-NORMAL-00.png
output_2-180_buffer_2-90-00.png
output_2-FLIPPED_buffer_1-NORMAL-00.png
output_2-FLIPPED_buffer_2-90-00.png
output_2-NORMAL_buffer_1-NORMAL-00.png
output_2-NORMAL_buffer_2-90-00.png
output_3-FLIPPED_270_buffer_1-NORMAL-00.png
output_3-FLIPPED_270_buffer_2-90-00.png
output_3-NORMAL_buffer_1-NORMAL-00.png
output_3-NORMAL_buffer_2-90-00.png
pointer_cursor_reenter-00.png
pointer_cursor_reenter-01.png
pointer_cursor_reenter-02.png
shaper_matrix-00.png
shaper_matrix-01.png
shaper_matrix-02.png
subsurface_empty_mapping-00.png
subsurface_empty_mapping-01.png
subsurface_sync_damage_buffer-00.png
subsurface_sync_damage_buffer-01.png
subsurface_sync_damage_buffer-02.png
subsurface_z_order-00.png
subsurface_z_order-01.png
subsurface_z_order-02.png
subsurface_z_order-03.png
subsurface_z_order-04.png
viewport_upscale_solid-00.png
yuv-buffer-00.png