working wavelet encoder

This commit is contained in:
minjaesong
2025-09-16 02:51:00 +09:00
parent 4bb234a89b
commit 54f335e3de
2 changed files with 38 additions and 94 deletions

View File

@@ -4536,7 +4536,7 @@ class GraphicsJSR223Delegate(private val vm: VM) {
// Even positions: low-pass coefficients
data[i] = temp[i / 2]
} else {
// Odd positions: high-pass coefficients
// Odd positions: high-pass coefficients
val idx = i / 2
if (half + idx < length) {
data[i] = temp[half + idx]