std: rename some CLAMP and CLIP tables

This commit is contained in:
Nigel Tao committed 2026-06-14 20:12:21 +10:00
1 parent 5daeafbc6f
commit 18488a3bd0
6 files changed
+16 -14

No files matched your search

+2 -2
View File
@@ -165,13 +165,13 @@ pri func decoder.decode_subblock_modes!(
i = 0
while i < 16 {
if i < 4 {
top_mode = CLIP_9[15 & (this.mb_states_top[args.mbx] >> (i * 4))]
top_mode = CLAMP_NO_MORE_THAN_9[15 & (this.mb_states_top[args.mbx] >> (i * 4))]
} else {
top_mode = this.mb_subblock_modes[i - 4]
}
if (i & 3) == 0 {
left_mode = CLIP_9[15 & (this.mb_states_left >> (i & 12))]
left_mode = CLAMP_NO_MORE_THAN_9[15 & (this.mb_states_left >> (i & 12))]
} else {
left_mode = this.mb_subblock_modes[(i ~mod+ 15) & 15]
}