forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on cbbd6e2ef6acafb00aeb55e460423f024126f90fFiltered to shims/oxideav-ac3/src/lib.rsClear filter

2026-08-21

2026-08-20

feat(ac3-enc-shim): expose Ac3Encoder on the family's export-facing shapeAhmet Kaan Gümüş · 1466a62
feat(ac3-enc-shim): expose Ac3Encoder on the family's export-facing shape

Ac3Encoder had zero callers outside crates/ec-ac3 -- the shim only wrapped
the decoder. Add new/push_pcm_f32/finish/next_packet/encoder_delay at the
same shape as rusty_aac's AacEncoder, the pattern an export path already
drives, plus a round trip test (encode 1s stereo, decode through this
shim's own decoder, corr >=0.99 past encoder_delay()).

2026-08-14

feat(image): WebP decoding, VP8 key frames and VP8LAhmet Kaan Gümüş · 22ac6ab
feat(image): WebP decoding, VP8 key frames and VP8L

The RIFF container, both bitstreams, and the separate alpha plane an
extended file carries.

VP8 (RFC 6386) is a complete key frame decoder: boolean entropy decoder,
segmentation, per-partition token decoding with the neighbour contexts,
the WHT and DCT inversions bit-exactly as specified, all sixteen intra
prediction modes including the six diagonal subblock ones, and both loop
filters with their per-macroblock strength derivation. The probability and
quantizer tables are generated from the RFC text rather than retyped —
two thousand values transcribed by hand is a defect waiting to be found
several macroblocks into a picture.

VP8L is the lossless bitstream: canonical prefix codes with meta prefix
groups, the colour cache, LZ77 over the two-dimensional distance map, and
all four transforms applied in the reverse of the order they were read.
The colour cache size is read *before* the meta prefix codes; the other
order parses plausibly and then fails on the first real file.

Alpha arrives either raw or as a headerless lossless stream in the green
channel, then unfiltered by the method its chunk declares. Animation is
refused by name: a still decoder that quietly returns frame one makes
"this plays" and "this decoded" indistinguishable to its caller.