Skip to content

v0.1.0 — first public release

Latest

Choose a tag to compare

@patcarter883 patcarter883 released this 24 Oct 14:16
· 2 commits to main since this release

First public release of w5c, a GPU-accelerated lossless wavelet codec: reversible 5/3 integer
lifting, bitplane code-blocks, and rANS entropy coding, verified bit-exact against a scalar C
reference implementation.

Contents

  • ref/ — scalar C reference codec, normative for correctness
  • gpu/ — HIP implementation, the w5c CLI, and per-stage harnesses
  • SPEC.md — bitstream specification (W5C1)
  • tests/verify_lossless.sh — bit-exact regression across block sizes, slice configurations and
    both colour modes, with a synthetic source generated in-tree
  • IP_AUDIT.md — prior art and claim boundaries
  • docs/ — microarchitecture notes and the rANS formulation

Measured

1920x1080 yuv422p10le, RX 9070 XT (gfx1201), steady state, per frame:

blk bpp encode decode
32 (default) 5.460 6.2 ms 3.4 ms
64 5.290 30.0 ms 34.4 ms
16 6.022 7.2 ms 4.7 ms

All rows bit-exact. For scale on the same source, FFV1 level 3 runs 4.729 bpp at ~31 ms/frame on
the CPU; SVT-JPEG-XS is lossy at 40–43 dB and 1.0–1.5 bpp.

Requirements

ROCm with hipcc. Builds for gfx1201 by default; override with make -C gpu ARCH=<target>.
make -C ref check runs the scalar reference on any machine.

Limits

Lossless only — no lossy mode or quantiser. One frame at a time, no rate control, muxing or audio.
Timings are content-dependent and were taken on an idle card. No CI yet: the test suite is a local
script, so nothing currently guards a pull request against breaking bit-exactness.

Licence

Apache-2.0, including an express patent grant that terminates for anyone who sues over the code.
Contributions require DCO sign-off.


The bitstream is version 1 (W5C1). The software is pre-1.0: interfaces and the container are not
frozen.