wai-web: expose the byte-exact JPEG-AI mANS decode to wasm (decodeJpegAiMans) #51
Loading…
Reference in a new issue
No description provided.
Delete branch "wai-jpegai-wasm-demo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a wasm-bindgen entry for the ISO/IEC 6048 JPEG-AI entropy decoder, driving the live
/jpegaireproduction-vector demo.Verified end-to-end in a real browser (Playwright/Chrome on the live site): the wasm decode reproduces the native cross-arch golden exactly — 172 coded positions, 0 mismatches — and the in-tab blake3 of the decoded symbols equals the native reference hash
dce09d34…. Same pure-i64 Rust a native sink runs, compiled to wasm32; no float, no ML runtime.The demo page + wasm assets are already deployed at wai.transaction.science/jpegai (static portal, deployed via deploy.sh).
Co-Authored-By: Claude Opus 4.8 [email protected]