serenity/Tests
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
..
AK AK: Clear OrderedHashTable previous/next pointers on removal 2023-03-15 21:43:52 +01:00
Kernel LibCore+Everywhere: Remove ArgsParser::add*(char const*&) 2023-03-01 10:47:19 +01:00
LibAudio Tests: Correct FLAC spec test paths 2023-03-19 14:15:35 +00:00
LibC LibCore: Rename File to DeprecatedFile 2023-02-13 00:50:07 +00:00
LibCompress Tests: Add XZ tests from XZ utils 2023-03-21 10:25:13 +01:00
LibCore AK: Rename Stream::write_entire_buffer to Stream::write_until_depleted 2023-03-13 15:16:20 +00:00
LibCpp AK: Rename Stream::read_entire_buffer to Stream::read_until_filled 2023-03-13 15:16:20 +00:00
LibCrypto Tests/LibCrypto: Test block splitting logic for SHA1/SHA256 2023-03-24 15:28:10 +00:00
LibEDID AK: Make FixedPoint(FloatingPoint) ctor round instead of truncating 2023-03-03 09:23:02 +00:00
LibELF LibCore: Rename File to DeprecatedFile 2023-02-13 00:50:07 +00:00
LibGfx LibGfx/JPEG: More support for scans with a single component 2023-03-25 21:31:21 +01:00
LibGL LibGfx: Move all image loaders and writers to a subdirectory 2023-03-21 22:39:25 +01:00
LibIMAP LibIMAP: Propagate OOM errors from decode_quoted_printable() 2023-03-09 14:47:45 +00:00
LibJS Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
LibLocale LibJS+LibLocale: Port Intl.DateTimeFormat to String 2023-01-27 18:00:17 +00:00
LibMarkdown AK: Rename Stream::read_entire_buffer to Stream::read_until_filled 2023-03-13 15:16:20 +00:00
LibPDF Tests: Move test PDF files into Tests/LibPDF 2023-01-19 11:50:10 +00:00
LibRegex LibRegex: Make ^ and $ accept all LineTerminators instead of just '\n' 2023-03-25 15:44:05 +01:00
LibSQL Everywhere: Stop using NonnullRefPtrVector 2023-03-06 23:46:35 +01:00
LibTest LibTest: Add EXPECT_NO_CRASH 2021-12-19 14:22:06 -08:00
LibTextCodec LibTextCodec+Everywhere: Port Decoders to new Strings 2023-02-19 17:15:47 +01:00
LibThreading Tests: Update thread tests and make them pass 2022-12-11 19:07:20 -07:00
LibTimeZone Tests: Add missing library dependency for LibTimeZone tests 2023-01-19 11:50:10 +00:00
LibTLS Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
LibTTF Tests: Correct serenity_test() invocation for LibTTF 2023-01-19 11:50:10 +00:00
LibUnicode LibUnicode: Detect ZWJ sequences when filtering by emoji presentation 2023-03-05 20:21:57 +01:00
LibVideo Tests/LibVideo: Test to ensure that VP9 reference vector clamping works 2023-02-08 18:56:42 +00:00
LibWasm Everywhere: Remove unintentional partial stream reads and writes 2023-03-13 15:16:20 +00:00
LibWeb LibWeb: Don't allow resolved height of abspos elements to become negative 2023-03-25 19:41:31 +01:00
LibXML Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Spreadsheet Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
UserspaceEmulator Everywhere: Remove unused includes of LibC/stdlib.h 2023-01-02 20:27:20 -05:00
CMakeLists.txt Tests: Remove i686 support 2022-12-28 11:53:41 +01:00