mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
test/c/mimiclib/webp: use no_fancy_upsampling
This commit, part of a series, is inspired by pull request PR #168 by Damian Kaczmarek (with AI assistance), with some modifications. Updates PR #168
This commit is contained in:
1 parent
9e274bee24
commit
b4c8b9c238
2 files changed
+5
-4
No files matched your search
@@ -74,6 +74,7 @@ mimic_webp_decode(uint64_t* n_bytes_out,
|
||||
return "mimic_webp_decode: unsupported pixfmt";
|
||||
}
|
||||
|
||||
config.options.no_fancy_upsampling = 1; // TODO: remove for best mimicry.
|
||||
config.output.colorspace = MODE_BGRA;
|
||||
config.output.width = w;
|
||||
config.output.height = h;
|
||||
|
||||
+4
-4
@@ -530,10 +530,10 @@ proc g_tests[] = {
|
||||
test_mimic_webp_lossless_decode_image_552k_32bpp,
|
||||
test_mimic_webp_lossless_decode_image_4002k_24bpp,
|
||||
test_mimic_webp_lossy_decode_image_19k_8bpp,
|
||||
// test_mimic_webp_lossy_decode_image_40k_24bpp,
|
||||
// test_mimic_webp_lossy_decode_image_77k_24bpp,
|
||||
// test_mimic_webp_lossy_decode_image_552k_32bpp,
|
||||
// test_mimic_webp_lossy_decode_image_4002k_24bpp,
|
||||
test_mimic_webp_lossy_decode_image_40k_24bpp,
|
||||
test_mimic_webp_lossy_decode_image_77k_24bpp,
|
||||
// test_mimic_webp_lossy_decode_image_552k_32bpp,
|
||||
test_mimic_webp_lossy_decode_image_4002k_24bpp,
|
||||
|
||||
#endif // WUFFS_MIMIC
|
||||
|
||||
|
||||
Reference in new issue
Block a user