std/jpeg: apply Inverse DCT

Updates #42
This commit is contained in:
Nigel Tao committed 2023-05-11 21:29:07 +10:00
1 parent 8cfe304f3c
commit 3bd83e3ebb
4 files changed
+486 -124

No files matched your search

+4
View File
@@ -611,6 +611,10 @@ test_wuffs_jpeg_decode_mcu() {
&dec, sizeof dec, WUFFS_VERSION,
WUFFS_INITIALIZE__DEFAULT_OPTIONS));
// Bypass the "#missing Quantization table" check.
dec.private_impl.f_seen_dqt[0] = true;
dec.private_impl.f_seen_dqt[1] = true;
// Decode the 0xC0 SOF marker, four 0xC4 DHT markers and 0xDA SOS marker. The
// SOS marker is only partially processed, since complete SOS processing
// would call wuffs_jpeg__decoder__decode_mcu multiple times.
+1 -1
View File
@@ -34,7 +34,7 @@ f36c2e80 test/data/bricks-dither.no-ancillary.png
f36c2e80 test/data/bricks-dither.png
c2bce675 test/data/bricks-gray.bmp
c2bce675 test/data/bricks-gray.gif
84e5ba7c test/data/bricks-gray.jpeg
3a2478ad test/data/bricks-gray.jpeg
c2bce675 test/data/bricks-gray.no-ancillary.png
c2bce675 test/data/bricks-gray.png
c2bce675 test/data/bricks-gray.tga