1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-15 01:27:37 +00:00
serenity/Tests/LibGfx/test-inputs
Lucas CHOLLET 3f9c5af553 LibGfx/JPEG: More support for scans with a single component
Introduced in 2c98eff, support for non-interleaved scans was not working
for frames with a number of MCU per line or column that is odd. Indeed,
the decoder assumed that they have scans that include a fabricated MCU
like scans with multiple components.

This patch makes the decoder handle images with a number of MCU per line
or column that is odd. To do so, as in the current decoder state we do
not know if components are interleaved at allocation time, we skip over
falsely-created macroblocks when filling them. As stated in 2c98eff,
this is probably not a good solution and a whole refactor will be
welcome.

It also comes with a test that open a square image with a side of 600px,
meaning 75 MCUs.
2023-03-25 21:31:21 +01:00
..
buggie-bottom-left-compressed.tga LibGfx: Move TestImageDecoder over to input file approach in 8cfabbcd93 2023-02-01 08:56:56 -05:00
buggie-bottom-left-uncompressed.tga LibGfx: Move TestImageDecoder over to input file approach in 8cfabbcd93 2023-02-01 08:56:56 -05:00
buggie-raw.pbm LibGfx: Move TestImageDecoder over to input file approach in 8cfabbcd93 2023-02-01 08:56:56 -05:00
buggie-raw.pgm LibGfx: Move TestImageDecoder over to input file approach in 8cfabbcd93 2023-02-01 08:56:56 -05:00
buggie-raw.ppm LibGfx: Move TestImageDecoder over to input file approach in 8cfabbcd93 2023-02-01 08:56:56 -05:00
buggie-top-left-compressed.tga LibGfx: Move TestImageDecoder over to input file approach in 8cfabbcd93 2023-02-01 08:56:56 -05:00
buggie-top-left-uncompressed.tga LibGfx: Move TestImageDecoder over to input file approach in 8cfabbcd93 2023-02-01 08:56:56 -05:00
buggie.png LibGfx: Move TestImageDecoder over to input file approach in 8cfabbcd93 2023-02-01 08:56:56 -05:00
download-animation.gif LibGfx: Move TestImageDecoder over to input file approach in 8cfabbcd93 2023-02-01 08:56:56 -05:00
extended-lossless-animated.webp LibGfx: Implement WebPImageDecoderPlugin::loop_count() 2023-02-26 15:54:22 +01:00
extended-lossless.webp LibGfx+Tests: Add test for webp ICC loading and fix bug 2023-02-24 20:13:52 +01:00
extended-lossy.webp LibGfx+Tests: Add test for webp ICC loading and fix bug 2023-02-24 20:13:52 +01:00
icc-v2.png Tests: Add a basic ICC profile test 2023-02-01 19:19:30 +01:00
icc-v4.jpg Tests: Add a basic ICC profile test 2023-02-01 19:19:30 +01:00
p3-v4.icc Tests: Add a test for Gfx::ICC::encode() 2023-02-19 08:12:04 +00:00
rgb24.jpg LibGfx: Move TestImageDecoder over to input file approach in 8cfabbcd93 2023-02-01 08:56:56 -05:00
rgb_components.jpg Tests: Add a test for JPEGs with RGB components 2023-03-10 22:22:36 +01:00
rgba32-1.bmp LibGfx: Move TestImageDecoder over to input file approach in 8cfabbcd93 2023-02-01 08:56:56 -05:00
serenity.ico LibGfx: Move TestImageDecoder over to input file approach in 8cfabbcd93 2023-02-01 08:56:56 -05:00
several_scans.jpg Tests: Replace test image with my own creation 2023-03-04 23:39:41 +00:00
several_scans_odd_number_mcu.jpg LibGfx/JPEG: More support for scans with a single component 2023-03-25 21:31:21 +01:00
simple-vp8.webp Tests: Add one more webp test file 2023-02-26 12:21:40 +01:00
simple-vp8l.webp Tests: Add one more webp test file 2023-02-26 12:21:40 +01:00
spectral_selection.jpg Tests: Add a test for SOF2 images with only spectral selection 2023-03-04 23:39:41 +00:00
TestFont.font LibGfx: Move TestFontHandling over to input file approach in 8cfabbcd93 2023-02-01 08:56:56 -05:00