Have std/tga decode width and height

Updates #67
This commit is contained in:
Nigel Tao committed 2022-01-15 08:28:53 +11:00
1 parent 4c09c77bb9
commit 5aa7a9339f
5 files changed
+512 -48

No files matched your search

+5 -10
View File
@@ -1,11 +1,6 @@
# Generated by script/print-nia-checksums.sh
1f87b217 test/3pdata/tgasuite/bad-color-map.tga
1f87b217 test/3pdata/tgasuite/cbw8.tga
1f87b217 test/3pdata/tgasuite/ccm8.tga
1f87b217 test/3pdata/tgasuite/ctc24.tga
1f87b217 test/3pdata/tgasuite/sixteen-bit-gray-colormap2.tga
1f87b217 test/3pdata/tgasuite/ubw8.tga
1f87b217 test/3pdata/tgasuite/ucm8.tga
1f87b217 test/3pdata/tgasuite/utc16.tga
1f87b217 test/3pdata/tgasuite/utc24.tga
1f87b217 test/3pdata/tgasuite/utc32.tga
3da6493d test/3pdata/tgasuite/ubw8.tga
3da6493d test/3pdata/tgasuite/ucm8.tga
3da6493d test/3pdata/tgasuite/utc16.tga
3da6493d test/3pdata/tgasuite/utc24.tga
3da6493d test/3pdata/tgasuite/utc32.tga
+1 -1
View File
@@ -79,7 +79,7 @@ test_wuffs_tga_decode_interface() {
WUFFS_INITIALIZE__LEAVE_INTERNAL_BUFFERS_UNINITIALIZED));
return do_test__wuffs_base__image_decoder(
wuffs_tga__decoder__upcast_as__wuffs_base__image_decoder(&dec),
"test/data/bricks-color.tga", 0, SIZE_MAX, 1, 1, 0xFFFF007F);
"test/data/bricks-color.tga", 0, SIZE_MAX, 160, 120, 0xFFFF007F);
}
// ---------------- Mimic Tests
+3 -4
View File
@@ -26,7 +26,7 @@ e08a7cc8 test/data/artificial-png/exif.png
e08a7cc8 test/data/artificial-png/key-value-pairs.png
076cb375 test/data/bricks-color.bmp
076cb375 test/data/bricks-color.png
1f87b217 test/data/bricks-color.tga
0a9502ff test/data/bricks-color.tga
f36c2e80 test/data/bricks-dither.bmp
f36c2e80 test/data/bricks-dither.gif
f36c2e80 test/data/bricks-dither.no-ancillary.png
@@ -35,13 +35,12 @@ c2bce675 test/data/bricks-gray.bmp
c2bce675 test/data/bricks-gray.gif
c2bce675 test/data/bricks-gray.no-ancillary.png
c2bce675 test/data/bricks-gray.png
1f87b217 test/data/bricks-gray.tga
0a9502ff test/data/bricks-gray.tga
7aebfe6c test/data/bricks-nodither.bmp
7aebfe6c test/data/bricks-nodither.gif
7aebfe6c test/data/bricks-nodither.png
1f87b217 test/data/bricks-nodither.tga
0a9502ff test/data/bricks-nodither.tga
ae2e547d test/data/bricks-nodither.wbmp
1f87b217 test/data/cbor-rfc-7049-examples.cbor
b47730a2 test/data/checkerboard.gamma1dot0.png
b47730a2 test/data/checkerboard.gamma2dot2.png
aa3e6c7c test/data/crude-flag.nie