forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/ec-image/src/webp/vp8l.rsClear filter

2026-10-23

Restore edith_codecs after local data loss (2026-10-23)Ahmet Kaan Gümüş · b7434a2
Restore edith_codecs after local data loss (2026-10-23)

On 2026-10-23 an automated agent ran `rm -rf $HOME` and deleted the local
repository with all of its history. This commit restores the working tree
from the newest surviving copy, the host-c server lane mirror. That mirror
matches local main as of the testcut Phase 2 reports, including the tool
cache, the nextest fast profile and changed-crates.sh. The history before
this commit was not recovered.

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.