Skip to content

v0.0.11

Choose a tag to compare

@fluxin fluxin released this 22 Oct 05:53
· 39 commits to main since this release

API unchanged from v0.0.10. No public signature changed; the VP9 encoder's struct gained two internal fields.

VP9 decoder: faster, output unchanged.

  • 1080p VP9 decodes take 1728 → 1385 ms and 2586 → 1868 ms (decode_benchmark vp9-p0/p2, median of seven).
  • What changed:
    • Intra prediction and reconstruction run in SIMD lanes.
    • Blocks with only a DC coefficient take a shortcut through the inverse DCT.
    • Coefficients are zeroed after use instead of before every block.
    • Unscaled inter prediction has its own path.
    • The loop filter is specialised per plane kind and pass.
    • Bounds checks are dropped on the hot paths.
  • Output is identical to FFmpeg on every alpha-gate VP9 fixture, with 1 and 8 threads: 8/10/12-bit, 4:2:0/4:4:4, alpha, lossless, RGB, segments, tiles, tile rows, error-resilient and two-pass encodes.

VP9 encoder: different, much smaller files.

  • Probabilities now adapt backward from each frame's counts, as libvpx does: frames are no longer error-resilient, and refresh_frame_context is on.
  • Transform size is chosen per block (TX_MODE_SELECT), with split decisions.
  • The forward transform is vectorised.
  • On a synthetic 320×180 animation, files are 3.8–6× smaller at 2–3 dB higher PSNR (q 60, 100, 160).
  • Encoded bytes differ from v0.0.10. What a decoder shows is verified: the reconstruction is identical to FFmpeg's and libvpx's decodes at every size, q and block size in the encode check, and Chromium's transparency check passes.

The alpha gate, the VP9 encode check, every package's check under vet, and every package's tests pass.