The vertical lifting combined strided columns one at a time; it now lifts
whole rows, per pair of output rows in parallel, with the same integer
equations and edge rules (i64 floor shifts equal the div_euclid it replaces).
The horizontal pass runs its rows in parallel and drops the Result per sample;
overflow is still an error. Differential tests compare both passes with the
previous implementation for every size 1..=17 and every edge combination.
Part of #1654
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every plane of every tile is one parallel task that ends in sensor samples;
the mosaic is then filled per output row pair in parallel, without a modulo,
division, bounds check or Result per sample. The first error in tile and
plane order is still the one reported, and the sensor buffer is allocated
only after every plane has decoded. The CC0 corpus test also pins the four
EOS R5 Mark II files and skips files that are not present.
Part of #1654
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ten subbands of a plane are separate entropy streams; the first error in
band order is still the one reported. The step is looked up once per band, or
once per QP cell for adaptive gains, instead of once per coefficient.
Part of #1654
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One 8-byte load per ~56 bits instead of a checked 5-byte window per read;
the Rice prefix and its low bits come from one cached word. Escapes and the
end of the stream keep the bit-by-bit path, so results and errors match.
Part of #1654
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
k from leading_zeros, neighbour reads from row slices of one reused
colour-vector buffer, per-quantizer coding parameters computed once,
placement through a precomputed map. Output unchanged; adds a
differential test against the previous decoder and an optional corpus test.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Archive::open() instead of ZipArchive constructor
- Writer::add(name, data, compression) instead of start_file+write_all
- Archive::entry_name() for name iteration (no file_names iterator)
- Archive::contains(), declared_size(), read(name, max) for entry access
- Reader no longer generic over Read+Seek; reads all bytes into memory
(needed because Archive<'a> borrows 'static bytes)
- Thumbnail::read no longer generic