Files
craft-libs/crates/video/examples
alehelandClaude Opus 5.5 59dbd044fc fix(video): Bink review findings in the docs, example, oracle test and probe scripts
Docs: the README, the frame module and the crate docs said every decoder
converts to VideoFrame; Bink's has no conversion.

bink_binkdec creates its output as a new file, so no other name of the input
(a hard link included) can be truncated.

bink_oracle counts samples past the end of the shorter plane as differences.

Decoder: a failed frame swaps the planes back instead of copying them, and a
block without coefficient planes allocates no lists. Same output.

Probe scripts: a failed or partial run no longer replaces a complete table
(scans, trees2, dataset) or passes for a match (t8, fuzz_diff); bits read
past the data are zeros in the probe as in the model (cmodel, rmodel);
fit1 compares quantiser 0's rows only; cenc refuses magnitudes of more than
15 bits and pins the list order its self-check needs; dec3 clips scaled
blocks to the plane; probe counts chroma rounded up; t1 and ac1 no longer
import modules that are not here. fuzz_diff also follows the running DC,
bounds each decoder's time and keeps its cases in a private directory.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 08:52:00 +01:00
..