ws-video2-theora: Theora MC average without type diagnostics (lint TYPES back to the baseline)

This commit is contained in:
4DBug committed 2026-10-31 15:01:19 -05:00
1 parent 1013925a85
commit 88d5fe7d2f
1 file changed
+5 -3
+5 -3
View File
@@ -537,10 +537,12 @@ local function reconFrag(st: State, fi: number, qis: { number }, dstPlanes: { bu
local s2 = s1 + my2 * stride + mx2
for y = 0, 7 do
local d, a, b = pos + y * stride, s1 + y * stride, s2 + y * stride
local u, v = readu32(ref, a), readu32(ref, b)
local u: number = readu32(ref, a)
local v: number = readu32(ref, b)
writeu32(dst, d, band(u, v) + rshift(band(bxor(u, v), 0xFEFEFEFE), 1))
u, v = readu32(ref, a + 4), readu32(ref, b + 4)
writeu32(dst, d + 4, band(u, v) + rshift(band(bxor(u, v), 0xFEFEFEFE), 1))
local u2: number = readu32(ref, a + 4)
local v2: number = readu32(ref, b + 4)
writeu32(dst, d + 4, band(u2, v2) + rshift(band(bxor(u2, v2), 0xFEFEFEFE), 1))
end
else
for y = 0, 7 do