mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 00:38:14 +01:00
Have std/png decode interlaced PNG images
This commit is contained in:
1 parent
4053c2abe6
commit
baad01d50f
4 files changed
+572
-188
No files matched your search
+2
-2
@@ -151,7 +151,7 @@ do_wuffs_png_swizzle(uint32_t width,
|
||||
WUFFS_INITIALIZE__DEFAULT_OPTIONS));
|
||||
dec.private_impl.f_width = width;
|
||||
dec.private_impl.f_height = height;
|
||||
dec.private_impl.f_bytes_per_row = width;
|
||||
dec.private_impl.f_pass_bytes_per_row = width;
|
||||
dec.private_impl.f_filter_distance = filter_distance;
|
||||
wuffs_png__decoder__choose_filter_implementations(&dec);
|
||||
|
||||
@@ -653,7 +653,7 @@ do_bench_wuffs_png_decode_filter(uint8_t filter,
|
||||
WUFFS_INITIALIZE__DEFAULT_OPTIONS));
|
||||
dec.private_impl.f_width = width;
|
||||
dec.private_impl.f_height = height;
|
||||
dec.private_impl.f_bytes_per_row = bytes_per_row;
|
||||
dec.private_impl.f_pass_bytes_per_row = bytes_per_row;
|
||||
dec.private_impl.f_filter_distance = filter_distance;
|
||||
wuffs_png__decoder__choose_filter_implementations(&dec);
|
||||
|
||||
|
||||
Reference in new issue
Block a user