Commits
2026-08-20
test(aac-sbr): synthetic HE-AAC matrix fixture to separate rate family from kx geometryAhmet Kaan Gümüş · 002ea6d
test(aac-sbr): synthetic HE-AAC matrix fixture to separate rate family from kx geometry Generates a controlled 16-file HE-AAC/LC fixture matrix (2 sample rates x 4 bitrates x 2 profiles) from one shared synthesized source via the system encoder's HE-AAC profile, and adds synthetic_heaac_matrix to instrument full/below/above-crossover correlation and kx/k2 per row against the reference decoder, plus our own full-chain-vs-core-only self-consistency -- without depending on any single real file's content. LC control rows gate the test (>=0.999), proving the harness before the HE-AAC numbers are trusted.
2026-08-19
test(hw): the reference feed keeps the film's own cadence, and RSS is measured aloneAhmet Kaan Gümüş · 3c2d14b
test(hw): the reference feed keeps the film's own cadence, and RSS is measured alone Three fixes to the live GPU suite: - the reference decode now passes pictures through at their coded cadence instead of conforming to the container's nominal rate, which duplicated or dropped frames on films whose real cadence differs and read as every frame being one off from some point onward - elementary-stream extraction is bounded to the frames under comparison plus a reorder margin, instead of piping a whole feature film through memory - the resident-set leak check re-runs itself in a child process: VmRSS is process-wide, and a sibling test allocating between baseline and end showed up as a 200 MB leak that no code caused
2026-08-14
feat(core): workspace + ec-core IR foundationAhmet Kaan Gümüş · a3c0049
feat(core): workspace + ec-core IR foundation
Cargo workspace (crates/*, shims/*, tools/*) and ec-core, the IR every
crate in the family builds on:
- timebase: reduced rational TimeBase + Timestamp, all i128-exact integer
math, four rounding modes. 24000/1001 is representable and stays exact;
cross-base ordering compares instants without rounding first.
- packet: Buf (refcounted byte range, cheap clone and slice) + Packet with
optional pts/dts/duration, flags and side data.
- frame: VideoFrame over validated planes (I420/I422/I444, 10-bit I010/
I210/I410, NV12/NV21, P010/P016, gray, packed RGB/BGRA) with CICP colour
code points, AudioFrame with named channel positions (5.1 = FL FR FC LFE
BL BR) interleaved or planar.
- bitio: MSB and LSB bit readers/writers, exp-Golomb ue/se both ways,
truncation reported as NeedMore instead of panicking, exp-Golomb prefix
bounded so a fuzzer cannot spin.
- error: NeedMore/Eof/Unsupported{what,why}/Corrupt{context}/Io; a refusal
always names what was refused and why.
- registry: CodecId for every codec edith touches (video, audio, subtitle),
CodecParameters/StreamInfo, and the Demuxer/Muxer/Decoder/Encoder
contracts. Codecs are push/pull (send_packet/receive_frame) because
packets and frames do not correspond one to one and end of stream has to
be drainable.
forbid(unsafe_code), warn(missing_docs), no dependencies, no async.