You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vectorize the integer (islow) IDCT, columns and rows four at a time in int lanes, checked against djpeg -dct int. Profile the IDCT's share of DCT decode time first; the research could not verify it.
Blocked by #470 (test and benchmark infrastructure).
Internal Vector128<T> only, with the scalar path kept as the fallback. No Vector256/Vector512 or platform intrinsics unless a benchmark shows a need (Mono on the MAUI targets never accelerates Vector256, and AdvSimd needs LLVM, iOS Release only).
Bit-exact with the scalar path: an exhaustive (or near-exhaustive) equality test, and the same tests run with DOTNET_EnableHWIntrinsic=0.
No allocations; a BenchmarkDotNet case with [MemoryDiagnoser] showing before/after.
Measure in both browser builds (the WebAssembly interpreter maps only part of the Vector128 API and can be slower than scalar; the AOT build emits native Wasm SIMD). Do not ship a kernel that regresses the interpreter build.
Activity
docs(benchmarks): add the CI browser figures for the #474 inverse DCT
test(direct2d): assert WIC beats the managed decoder only with subsam…
perf(filters): vectorize the 8 x 8 islow inverse DCT (#474) (#495)
michaelstonis commentedon Nov 11, 2026
Done in #495 (9c2977f).