Nigel Tao
|
b4dcc4e5ed
|
Support swizzle from PIXEL_FORMAT__Y to same
|
2020-12-26 22:11:11 +11:00 |
|
Nigel Tao
|
217b9dc9dc
|
Implement std/png filters
|
2020-12-26 19:26:47 +11:00 |
|
Nigel Tao
|
4ff1429553
|
Add std/png filter_and_swizzle
|
2020-12-25 18:35:19 +11:00 |
|
Nigel Tao
|
6980e93a76
|
Have std/png decode_frame handle multiple IDATs
|
2020-12-25 15:40:24 +11:00 |
|
Nigel Tao
|
43a74d6b81
|
Apply io_limit to original not just derived vars
|
2020-12-24 22:45:31 +11:00 |
|
Nigel Tao
|
d655f51dae
|
Fix std/png decode_frame workbuf bounds checks
|
2020-12-24 22:34:25 +11:00 |
|
Nigel Tao
|
b4fd57e76d
|
Have std/png call zlib.decoder.transform_io
|
2020-12-24 21:41:45 +11:00 |
|
Nigel Tao
|
4e39155715
|
Have std/png depend on std/{crc32,zlib} part 2/2
|
2020-12-24 14:29:59 +11:00 |
|
Nigel Tao
|
10783eda5a
|
Have std/png depend on std/{crc32,zlib} part 1/2
|
2020-12-24 14:29:33 +11:00 |
|
Nigel Tao
|
67a05d1e25
|
Have std/png io_bind the workbuf
|
2020-12-24 14:25:57 +11:00 |
|
Nigel Tao
|
78c7087eee
|
Implement io_limit
|
2020-12-24 14:01:48 +11:00 |
|
Nigel Tao
|
58c30e9d6d
|
Add std/png
|
2020-12-24 13:10:29 +11:00 |
|
Nigel Tao
|
47a231f679
|
Simplify nie.decoder.decode_image_config
|
2020-12-23 21:28:31 +11:00 |
|
Nigel Tao
|
332fb46b5c
|
Remove std/nie decoder.swizzle derived var hack
|
2020-12-23 15:34:42 +11:00 |
|
Nigel Tao
|
1197e86616
|
Add std/nie
|
2020-12-23 14:53:56 +11:00 |
|
Nigel Tao
|
5a387fe090
|
Swizzler support for src_pixfmt = RGB|A_NONPREMUL
Binary size, before:
21520 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
22536 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
34488 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
34408 gen/lib/c/gcc-static/wuffs-base-pixconv.o
After:
25712 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
26800 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
42816 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
42768 gen/lib/c/gcc-static/wuffs-base-pixconv.o
|
2020-12-20 21:50:37 +11:00 |
|
Nigel Tao
|
38827d87f3
|
Have restart_frame require decode_image_config
|
2020-12-19 22:45:41 +11:00 |
|
Nigel Tao
|
68fb70f9d5
|
Harmonize image decoders' call_sequence states
|
2020-12-19 22:42:49 +11:00 |
|
Nigel Tao
|
9399c82409
|
Have non-animated image decoders give EOD earlier
|
2020-12-19 22:03:22 +11:00 |
|
Nigel Tao
|
695a6815b1
|
Remove gif.config_decoder
The original motivation (having a low-featured low-memory decoder just
for counting GIF frames) is obsolete: https://crbug.com/1132828
Binary size, before:
42264 gen/lib/c/clang-9-dynamic/wuffs-std-gif.lo
42392 gen/lib/c/clang-9-static/wuffs-std-gif.o
44824 gen/lib/c/gcc-dynamic/wuffs-std-gif.lo
45624 gen/lib/c/gcc-static/wuffs-std-gif.o
After:
26736 gen/lib/c/clang-9-dynamic/wuffs-std-gif.lo
26712 gen/lib/c/clang-9-static/wuffs-std-gif.o
27976 gen/lib/c/gcc-dynamic/wuffs-std-gif.lo
28392 gen/lib/c/gcc-static/wuffs-std-gif.o
|
2020-12-18 22:06:08 +11:00 |
|
Nigel Tao
|
0f807639c1
|
wuffs gen -version=0.3.0-alpha.18
|
2020-12-15 16:23:24 +11:00 |
|
Nigel Tao
|
c79129a853
|
Restore deprecated {reader,writer}_io_position
|
2020-12-15 16:23:02 +11:00 |
|
Nigel Tao
|
688de33f2a
|
Have std/bmp skip_frame handle RLE compression
|
2020-12-15 16:19:18 +11:00 |
|
Nigel Tao
|
290adc9069
|
Have std/bmp consume the final per-row padding
|
2020-12-15 11:43:04 +11:00 |
|
Nigel Tao
|
59799ddcc5
|
Remove std/bmp redundant dst_y_end field
|
2020-12-14 23:17:31 +11:00 |
|
Nigel Tao
|
47b114e948
|
Have std/bmp reject RLE EOL if y out of bounds
|
2020-12-14 23:12:27 +11:00 |
|
Nigel Tao
|
267134df94
|
wuffs gen -version=0.3.0-alpha.17
|
2020-12-14 09:53:25 +11:00 |
|
Nigel Tao
|
1878dc9037
|
Have std/bmp detect bad RLE compression
|
2020-12-14 09:49:16 +11:00 |
|
Nigel Tao
|
f880d644fa
|
Have std/bmp decode OS/2 BMP files
|
2020-12-14 09:24:40 +11:00 |
|
Nigel Tao
|
7c2f36509b
|
Have std/bmp decode 1, 2 or 4 bits per pixel
|
2020-12-13 22:37:40 +11:00 |
|
Nigel Tao
|
8a12a64754
|
Add limited_swizzle_u32_interleaved_from_reader
|
2020-12-12 00:28:16 +11:00 |
|
Nigel Tao
|
8ee76df4f5
|
Add swizzle_interleaved_transparent_black decl
|
2020-12-11 14:22:53 +11:00 |
|
Nigel Tao
|
977ed8f0d9
|
Have std/bmp decode COMPRESSION_RLE8
|
2020-12-11 10:24:25 +11:00 |
|
Nigel Tao
|
49b5b3c03c
|
Remove redundant loop condition in std/bmp
|
2020-12-05 23:11:41 +11:00 |
|
Nigel Tao
|
f67d83cc07
|
Add std/bmp COMPRESSION_ETC constants
|
2020-12-05 22:49:28 +11:00 |
|
Nigel Tao
|
6695e4aae8
|
Fix std/bmp checking bits_per_pixel too early
|
2020-12-04 23:23:12 +11:00 |
|
Nigel Tao
|
0ccdece50a
|
Add swizzle_interleaved_transparent_black
|
2020-12-04 22:53:59 +11:00 |
|
Nigel Tao
|
fa17982be0
|
Run "wuffs gen" missed for 0c481fe7
|
2020-12-03 22:11:15 +11:00 |
|
Nigel Tao
|
0c481fe7c6
|
Improve cgen for constant-indexed slices of arrays
|
2020-12-02 22:39:34 +11:00 |
|
Nigel Tao
|
8482161c91
|
Add base.pixel_buffer.palette_or_else
|
2020-12-02 22:13:35 +11:00 |
|
Nigel Tao
|
2cf0252453
|
Have std/bmp decode 8-bit paletted images
|
2020-11-26 14:34:32 +11:00 |
|
Nigel Tao
|
50a0e767d4
|
Fix -Werror=conversion in base/image-public.h
|
2020-11-24 09:02:43 +11:00 |
|
Nigel Tao
|
960b5df3c4
|
Have std/bmp decode BITFIELDS compression
|
2020-11-24 09:00:32 +11:00 |
|
Nigel Tao
|
cda0db2f0c
|
Rename std/bmp mask_x fields
|
2020-11-23 22:40:11 +11:00 |
|
Nigel Tao
|
3811a2b839
|
Have std/bmp decode BGRX
|
2020-11-18 23:44:04 +11:00 |
|
Nigel Tao
|
ac930b801b
|
Swizzler support for src_pixfmt = BGRX
Binary size, before:
18520 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
19200 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
30256 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
30192 gen/lib/c/gcc-static/wuffs-base-pixconv.o
After:
20440 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
21200 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
33424 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
33384 gen/lib/c/gcc-static/wuffs-base-pixconv.o
|
2020-11-16 21:51:42 +11:00 |
|
Nigel Tao
|
6b69425247
|
Don't unroll pixel_swizzler 4x8 4x16le conversion
Binary size, before:
18712 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
19392 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
36880 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
36824 gen/lib/c/gcc-static/wuffs-base-pixconv.o
After:
18520 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
19200 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
30256 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
30192 gen/lib/c/gcc-static/wuffs-base-pixconv.o
|
2020-11-16 18:59:52 +11:00 |
|
Nigel Tao
|
4a5df43aeb
|
Add PIXEL_FORMAT__BGRA_NONPREMUL_4X16LE
Binary size, before:
14272 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
14760 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
22336 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
22280 gen/lib/c/gcc-static/wuffs-base-pixconv.o
After:
18712 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
19392 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
36880 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
36824 gen/lib/c/gcc-static/wuffs-base-pixconv.o
|
2020-11-16 15:23:57 +11:00 |
|
Nigel Tao
|
904004e79a
|
Let non-strict JSON Pointer syntax allow "~t"
|
2020-11-15 20:56:04 +11:00 |
|
Nigel Tao
|
feac89519f
|
Rearrange cgen temporary assignment for =?
|
2020-11-11 22:05:46 +11:00 |
|