std/vp8: fix luma subblock prediction modes

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:
Nigel Tao committed 2026-06-19 19:04:31 +10:00
1 parent 24fae427c1
commit cae59b4ce8
6 files changed
+59 -57

No files matched your search

+3 -3
View File
@@ -111,7 +111,7 @@ test_wuffs_webp_decode_interface_lossy() {
WUFFS_INITIALIZE__LEAVE_INTERNAL_BUFFERS_UNINITIALIZED));
return do_test__wuffs_base__image_decoder(
wuffs_webp__decoder__upcast_as__wuffs_base__image_decoder(dec),
"test/data/bricks-color.lossy.webp", 0, SIZE_MAX, 160, 120, 0xFF493D65);
"test/data/bricks-color.lossy.webp", 0, SIZE_MAX, 160, 120, 0xFF123168);
}
const char* //
@@ -200,8 +200,8 @@ test_wuffs_webp_decode_many_small_reads() {
wuffs_base__color_u32_argb_premul last_pixel =
wuffs_base__pixel_buffer__color_u32_at(&pb, w - 1, h - 1);
if (last_pixel != 0xFF2D1922) {
RETURN_FAIL("last_pixel: have 0x%" PRIX32 ", want 0xFF2D1922", last_pixel);
if (last_pixel != 0xFF2D1827) {
RETURN_FAIL("last_pixel: have 0x%" PRIX32 ", want 0xFF2D1827", last_pixel);
}
return NULL;