Nigel Tao
|
6d510bcfcb
|
Spin out a std/lzw package
|
2018-06-02 14:15:09 +10:00 |
|
Nigel Tao
|
3e1cdd1a83
|
Rename some error messages
|
2018-06-02 13:16:50 +10:00 |
|
Nigel Tao
|
5b08ad2ba6
|
Change the order of check_wuffs_version args
This puts the self_ptr, self_len args next to each other.
|
2018-05-29 21:59:50 +10:00 |
|
Nigel Tao
|
1211e16e3c
|
Add more error codes for check_wuffs_version
|
2018-05-29 14:33:15 +10:00 |
|
Nigel Tao
|
87ab36f8c4
|
Have check_wuffs_version take the sizeof receiver
Also rename foo__initialize to foo__check_wuffs_version.
|
2018-05-29 14:20:27 +10:00 |
|
Nigel Tao
|
0e498cb86d
|
Remove use of struct field initial values
|
2018-05-29 09:07:23 +10:00 |
|
Nigel Tao
|
cdb3b341bd
|
Remove unused wlimit arg
|
2018-05-29 08:44:20 +10:00 |
|
Nigel Tao
|
5badfef313
|
Remove unused base.io_writer arg
|
2018-05-29 08:41:42 +10:00 |
|
Nigel Tao
|
c5362d6413
|
Remove the write_to_ib_instead_of_w hack
|
2018-05-29 08:26:27 +10:00 |
|
Nigel Tao
|
3c3e6fc2fa
|
Decode std/gif to an image_buffer, not io_buffer
This is about correctness, not performance, as an image_buffer supports
decoding to a frame_rect whose top-left corner isn't (0, 0). For the
record, though:
name old speed new speed delta
wuffs_gif_decode_1k_bw/clang 318MB/s ± 1% 307MB/s ± 2% -3.37% (p=0.000 n=48+48)
wuffs_gif_decode_1k_color/clang 140MB/s ± 0% 137MB/s ± 1% -2.18% (p=0.000 n=46+46)
wuffs_gif_decode_10k/clang 128MB/s ± 0% 125MB/s ± 2% -1.95% (p=0.000 n=39+46)
wuffs_gif_decode_100k/clang 120MB/s ± 0% 119MB/s ± 1% -1.36% (p=0.000 n=45+47)
wuffs_gif_decode_1000k/clang 122MB/s ± 0% 121MB/s ± 1% -1.35% (p=0.000 n=44+49)
wuffs_gif_decode_1k_bw/gcc 329MB/s ± 2% 320MB/s ± 1% -2.97% (p=0.000 n=48+48)
wuffs_gif_decode_1k_color/gcc 160MB/s ± 1% 156MB/s ± 1% -2.50% (p=0.000 n=44+46)
wuffs_gif_decode_10k/gcc 144MB/s ± 1% 141MB/s ± 1% -2.30% (p=0.000 n=45+44)
wuffs_gif_decode_100k/gcc 128MB/s ± 1% 126MB/s ± 1% -1.43% (p=0.000 n=46+45)
wuffs_gif_decode_1000k/gcc 131MB/s ± 1% 129MB/s ± 1% -1.44% (p=0.000 n=48+46)
|
2018-05-28 19:58:15 +10:00 |
|
Nigel Tao
|
e1293c2522
|
Fix decoding GIFs to an image (not IO) buffer
|
2018-05-28 14:06:58 +10:00 |
|
Nigel Tao
|
b926cd1d02
|
Add test/data/hippopotamus.* images
|
2018-05-28 10:47:33 +10:00 |
|
Nigel Tao
|
30e1db733b
|
Have image_buffer__palette return slice not ptr
|
2018-05-24 13:35:33 +10:00 |
|
Nigel Tao
|
5e856540bd
|
Have std/gif update an image_buffer's dirty_rect
|
2018-05-24 11:29:16 +10:00 |
|
Nigel Tao
|
34cfc3f863
|
Have std/gif's palettes be BGRA, not RGB
|
2018-05-24 10:33:02 +10:00 |
|
Nigel Tao
|
66bcaf380d
|
Handle GIF frame out of bounds same as Chromium
|
2018-05-23 15:59:41 +10:00 |
|
Nigel Tao
|
981bf19ad8
|
Add test/data/artificial GIF data
|
2018-05-23 12:20:45 +10:00 |
|
Nigel Tao
|
2301c763c3
|
Add a base.image_buffer arg to decode_frame
|
2018-05-18 09:42:24 +10:00 |
|
Nigel Tao
|
ca66d68527
|
Call wuffs_base__image_buffer__set_from_slice
|
2018-05-17 20:49:23 +10:00 |
|
Nigel Tao
|
227f8610fc
|
Rename some testlib set_limit methods
|
2018-05-11 13:49:47 +10:00 |
|
Nigel Tao
|
23fff7f841
|
Simplify some testlib set_limit methods
|
2018-05-11 13:45:26 +10:00 |
|
Nigel Tao
|
bf4aa38a84
|
Relocate some for-test-only set_limit methods
|
2018-05-11 13:42:06 +10:00 |
|
Nigel Tao
|
8586cf8e3d
|
Reset the GIF's LZW decoder if necessary
|
2018-05-10 14:42:10 +10:00 |
|
Nigel Tao
|
76c6af4ff4
|
Use some more animated GIF test data
|
2018-05-10 10:14:07 +10:00 |
|
Nigel Tao
|
a2044fdaa6
|
Drop the ".c" in "std/gif.c" test output
|
2018-05-05 11:38:31 +10:00 |
|
Nigel Tao
|
5e9cca7e82
|
Tweak "wuffs bench" output format
|
2018-05-04 17:32:35 +10:00 |
|
Nigel Tao
|
ba98b04307
|
Add an iterscale flag
|
2018-05-04 17:17:59 +10:00 |
|
Nigel Tao
|
bd71c2d9fd
|
Rename proc_reps to reps
|
2018-05-04 16:55:14 +10:00 |
|
Nigel Tao
|
f36234a724
|
Rename reps to iters
|
2018-05-04 16:53:42 +10:00 |
|
Nigel Tao
|
ee777d66c5
|
Remove some redundancy in error messages
|
2018-05-03 11:51:55 +10:00 |
|
Nigel Tao
|
b9b398dc9a
|
Remove obsolete limit implementation
|
2018-05-02 20:29:39 +10:00 |
|
Nigel Tao
|
4e55710afc
|
Call the set_limit method
|
2018-04-28 14:36:16 +10:00 |
|
Nigel Tao
|
a2cf739e52
|
Make an io_{reader,writer}'s buffer private
|
2018-04-27 21:02:48 +10:00 |
|
Nigel Tao
|
8827e222b1
|
Add wuffs_base__io_buffer__{reader,writer} funcs
|
2018-04-27 20:54:44 +10:00 |
|
Nigel Tao
|
eecdaba4e8
|
Rename crc32.ieee to crc32.ieee_hasher
|
2018-04-27 20:23:45 +10:00 |
|
Nigel Tao
|
035b138cb1
|
Spin out a std/adler32 package
|
2018-04-27 17:20:10 +10:00 |
|
Nigel Tao
|
3ab749be0d
|
Test checksumming fragmented input
|
2018-04-26 13:11:05 +10:00 |
|
Nigel Tao
|
97aab37462
|
Rename buf1, reader1, etc to io_buffer, io_reader
Also remove the unused Buf1, Buf2 and Usize tokens.
|
2018-04-05 20:49:48 +10:00 |
|
Nigel Tao
|
82a48796c8
|
Add pixel_format, image_buffer, etc. definitions
|
2018-04-05 17:09:33 +10:00 |
|
Nigel Tao
|
ef899b0492
|
Make gzip checksum check length, not just CRC32
|
2018-03-28 12:36:31 +11:00 |
|
Nigel Tao
|
a8e40fedc9
|
Implement the gzip checksum
Also fix a bug in ast.Raw.SetPackage, discovered because type checking
failed to show that "[] u8" and "[] u8" are equivalent types.
|
2018-03-28 12:30:00 +11:00 |
|
Nigel Tao
|
86d0ade206
|
Implement gzip decode
|
2018-03-28 11:10:51 +11:00 |
|
Nigel Tao
|
9cc6964c30
|
Stub out a new std/gzip package
|
2018-03-28 10:22:46 +11:00 |
|
Nigel Tao
|
061729f7b2
|
Remove redundant crc32 benchmarks
|
2018-03-25 22:02:13 +11:00 |
|
Nigel Tao
|
a2949fe28d
|
Add Adler32 and CRC32/IEEE tests for pi's digits
|
2018-03-25 21:54:07 +11:00 |
|
Nigel Tao
|
3a7ccfe9b4
|
Implement crc32's ieee.update
|
2018-03-25 18:09:51 +11:00 |
|
Nigel Tao
|
0ebfb75699
|
Add crc32 ieee test cases
|
2018-03-25 17:20:31 +11:00 |
|
Nigel Tao
|
008bce65f2
|
Have crc32's ieee.update return u32
|
2018-03-25 17:04:14 +11:00 |
|
Nigel Tao
|
917737ec97
|
Stub out a new std/crc32 package
|
2018-03-25 16:58:23 +11:00 |
|
Nigel Tao
|
4675efdcc5
|
Fix deflate decode when the distance is 32768
|
2018-03-23 12:49:42 +11:00 |
|