mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 00:47:28 +01:00
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:
1 parent
24fae427c1
commit
cae59b4ce8
6 files changed
+59
-57
No files matched your search
@@ -201,8 +201,10 @@ pri func decoder.decode_subblock_modes!(
|
||||
var mode : base.u8[..= 9]
|
||||
|
||||
if args.luma_mode < 4 {
|
||||
this.mb_states_top[args.mbx] = (mode as base.u32) * 0x1111
|
||||
this.mb_states_left = (mode as base.u32) * 0x1111
|
||||
this.mb_states_top[args.mbx] = (this.mb_states_top[args.mbx] & 0xFFFF_0000) |
|
||||
((args.luma_mode as base.u32) * 0x1111)
|
||||
this.mb_states_left = (this.mb_states_left & 0xFFFF_0000) |
|
||||
((args.luma_mode as base.u32) * 0x1111)
|
||||
return nothing
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user