Nigel Tao
1dcb5a9283
Add wbmp.decoder.skip_frame
2020-01-16 21:46:18 +11:00
Nigel Tao
f5151fa1f9
Remove some obsolete basic tests
2020-01-16 21:21:58 +11:00
Nigel Tao
e2e51786a0
Add more test/data/*.wbmp files
2020-01-16 15:22:01 +11:00
Nigel Tao
4feb641841
Implement wbmp.decoder.decode_frame
2020-01-16 15:02:32 +11:00
Nigel Tao
b4ff1bfb7f
Add std/wbmp package
2020-01-16 13:06:00 +11:00
Nigel Tao
3128500e20
Add script/convert-png-to-wbmp.go
2020-01-16 12:32:38 +11:00
Nigel Tao
1a791217de
Add wuffs_base__pixel_blend type
2020-01-14 09:27:04 +11:00
Nigel Tao
c8e3a94200
Add base.image_decoder
2020-01-12 12:18:02 +11:00
Nigel Tao
e77c5d7001
Have hasher_u32 test take a filename arg
2020-01-12 11:38:18 +11:00
Nigel Tao
adf63e23b0
Add base.io_transformer.workbuf_len
2020-01-12 09:44:41 +11:00
Nigel Tao
92a5bfd7ec
Have various structs implement base.io_transformer
2020-01-11 22:25:31 +11:00
Nigel Tao
5f8d2da74f
Rename decode_io_writer methods to transform_io
2020-01-11 10:19:25 +11:00
Nigel Tao
ab0b2fd2aa
Add test/data/github-tags.json
...
wget -O github-tags.json https://api.github.com/repos/google/wuffs/tags
2020-01-10 16:29:23 +11:00
Nigel Tao
fd5c0143ab
Fix testlib -Werror=pedantic failures
2020-01-10 14:14:23 +11:00
Nigel Tao
72fcc2d94f
Add upcast methods
2020-01-10 14:04:07 +11:00
Nigel Tao
eeae6098b6
Add "do ... while(0)" around CHECK_ETC test macros
2020-01-08 13:59:50 +11:00
Nigel Tao
9e802a5f84
Have wuffs_base__pixel_config__set take repr args
2020-01-05 15:34:05 +11:00
Nigel Tao
b666ab06f7
Make wuffs_base__pixel_subsampling a struct
2020-01-05 15:27:11 +11:00
Nigel Tao
4f53f3101f
Make wuffs_base__pixel_format a struct
2020-01-05 14:18:48 +11:00
Nigel Tao
fabfff05d1
Have pixel_foo methods take pointer receivers
2020-01-05 13:33:52 +11:00
Nigel Tao
0fa32bd09f
Rename warnings to notes
2020-01-05 13:15:00 +11:00
Nigel Tao
0319777cce
Have tests print all of status.repr
2020-01-05 12:56:48 +11:00
Nigel Tao
7f1572ca16
Add CHECK_STATUS testlib macro
2020-01-05 12:50:56 +11:00
Nigel Tao
77a5311c4b
Add CHECK_STRING testlib macro
2020-01-05 11:19:22 +11:00
Nigel Tao
e6db7f6a40
Make wuffs_base__status a struct
2020-01-05 10:48:20 +11:00
Nigel Tao
c50f16e58b
Separate status and status_msg local variables
2020-01-04 11:57:33 +11:00
Nigel Tao
8ff9cdb9a6
Rename hasher update_u32 method
2019-11-20 21:07:22 +11:00
Nigel Tao
498b7138f3
Remove "static const uint32_t etc" from cgen
...
They trigger compiler warnings (-Wunused-const-variable) precisely
because they're unused.
2019-11-02 12:15:01 +11:00
Nigel Tao
8ac2af0122
Change raczlib's dictionary wire format
...
This makes raczlib and raczstd use the same format: RAC's "common
dictionary format".
This is a breaking change to any existing RAC+Zlib files that use shared
dictionaries. RAC+Zlib is still an experimental (unstable) file format.
2019-10-24 10:47:48 +11:00
Nigel Tao
b92ea03889
Fix mimiclib/deflate-gzip-zlib.c build with miniz
2019-10-20 20:47:18 +11:00
Nigel Tao
948c6fb239
Avoid gcc's -Werror=format-truncation for snprintf
2019-10-14 09:31:15 +11:00
Nigel Tao
dc1218fec0
Spell std/deflate's "literal/length" consistently
2019-10-14 09:28:28 +11:00
Nigel Tao
ff7bffcffc
Calculate deflate Huffman table worst case size
2019-10-14 09:21:29 +11:00
Nigel Tao
358ad7f918
Add an explicit deflate-etc.deflate.decompressed
2019-10-12 22:05:11 +11:00
Nigel Tao
18c6e5716a
Fix deflate-etc.deflate.commentary.txt typo
2019-10-12 08:26:43 +11:00
Nigel Tao
745b5c41e0
Give test/c/std/gif error messages more context
2019-10-05 11:57:55 +10:00
Nigel Tao
9089d37578
Clip std/gif replicated rows to the frame rect
...
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=17802
2019-10-05 11:54:03 +10:00
Nigel Tao
efb18036cb
Add gif-small-frame-interlaced.gif test
2019-10-05 11:40:24 +10:00
Nigel Tao
293a633e8a
Clip std/gif output to the image rect
2019-09-28 21:47:56 +10:00
Nigel Tao
851b7561d9
Fix dirty rect for interlaced GIFs
2019-09-28 14:17:42 +10:00
Nigel Tao
15670546bb
Let std/deflate decode a degenerate H-D table
2019-09-28 13:23:49 +10:00
Nigel Tao
18763813d5
Support zlib dictionaries
2019-09-28 10:38:30 +10:00
Nigel Tao
ca9015bd2d
Have std/gif replicate interlaced rows
2019-09-14 08:35:50 +10:00
Nigel Tao
f379f7f905
Fix parsing 0 length GIF metadata
2019-08-31 08:20:18 +10:00
Nigel Tao
874f5a1712
Add test/data/artificial/gif-no-frames.gif
2019-08-24 15:03:45 +10:00
Nigel Tao
9c8711f67c
Move NII loop count from header to footer
2019-08-18 21:32:32 +10:00
Nigel Tao
c36b4d79c4
Add a mimic test for zlib dictionaries
2019-08-11 20:06:29 +10:00
Nigel Tao
635c3c8fe9
Rename foo.raczlib to foo.rac
2019-08-08 11:31:30 +10:00
Nigel Tao
89e5510b9a
Add an example RAC file, copied from the spec
2019-08-07 15:04:18 +10:00
Nigel Tao
aa846d2dd7
Remove io_{reader,writer} C types
2019-07-06 17:23:34 +10:00