Commits
2026-09-20
lanes: record merge-side follow-ups for av1txrouting (merge 10e3b8d1)Ahmet Kaan Gümüş · dcbe6ff
lanes: record merge-side follow-ups for av1txrouting (merge 10e3b8d1) Parents 92e5ec48 + 8d8413f0; three conflict hunks resolved by combining both lineages (decode.rs read_intra_mode_sub8's return type plus mono's has_chroma fold; both per-frame setters in decode_frame; the lane's two gates ahead of mono's witness with the pilot pin dropped). Records the two-way content-line equivalence proof, the merged-tree gates (0 warnings; 598 passed / 0 failed / 60 ignored, 6708 s), the six behavior probes (including the pilot 10-bit sha256), the kept instruments and the next-lane tripwires on the non-4:2:0 and qmatrix refusal pins.
ec-av1: refuse using_qmatrix by name (third silent-garbage field) + census tableAhmet Kaan Gümüş · 754210b
ec-av1: refuse using_qmatrix by name (third silent-garbage field) + census table The re-verifier refuted the report's "exactly two parsed-but-never-read pixel-affecting fields": QuantizationParams.using_qmatrix/qm_y/qm_u/qm_v are parsed by ec-av1-syntax (frame.rs:190-196, :1418-1426) and read by NOTHING on the decode path -- dequantisation is base_q_idx plus the plane DC/AC deltas -- so a spec-legal aomenc --enable-qm=1 stream decoded into silently wrong pixels. The same class the non-4:2:0 guard just closed for 4:4:4. - stream.rs decode_stream: refuse using_qmatrix=1 at the frame header, named, beside the non-4:2:0 guard. - Gate a_frame_using_quantisation_matrices_is_refused_by_name (stream.rs): real aomenc --enable-qm=0 control decodes; --enable-qm=1 refused by name. Fail-pre-fix measured: with the guard removed the gate panics "the --enable-qm=1 stream now decodes", and decode_probe shows those bytes byte-differ from ffmpeg while the qm-off twin is byte-exact. - refusal_inventory.rs: new REFUSALS entry + PROVEN pair; report 9.2's "exactly two" -> three, plus the field->consumer census table (every SequenceHeader / ColorConfig / QuantizationParams / FrameHeader field with its first production read or its disposition). - cdf_state.rs P3: wide()'s doc comment named the deleted txbset_for_inter, now inter_txbset_for. Gates: cargo test -p ec-av1 --lib -- refusal_inventory <new gate> a_reader_told_not_to_adapt a_non_420 = 16 passed / 0 failed; cargo check -p ec-av1 --all-targets = 0 warnings.
2026-09-19
ec-av1: non-420 named refusal, disable_cdf_update wiring, rect-intrabc var-tx + sub-8 txfm-context fixesAhmet Kaan Gümüş · 8b37c57
ec-av1: non-420 named refusal, disable_cdf_update wiring, rect-intrabc var-tx + sub-8 txfm-context fixes Five defects, each with a gate and/or a first-divergence move (report S9): - non-4:2:0 chroma (4:4:4/4:2:2) is now REFUSED BY NAME at the sequence header instead of decoding silently wrong pixels; gate a_non_420_subsampled_sequence_header_is_refused_by_name (profile 1 + 2 headers, profile-0 control still decodes) and a real aomenc yuv444p stream refuses where it used to decode garbage. - disable_cdf_update (spec 5.9.2) is now consumed: per-reader msac::SymbolDecoder::adapt + FrameCtx cell + one line in decode_frame. Gates: a_real_aomenc_stream_with_cdf_update_disabled_decodes_pixel_exact (byte-exact vs ffmpeg; pre-fix the same stream differs at byte 6) and the msac unit gate a_reader_told_not_to_adapt_matches_a_non_adapting_writer. - transform.rs:1134 panic root-caused and FIXED: txbset_for_inter (a duplicate whose 4 fell through to Luma64) is deleted; all inter-table sites use inter_txbset_for, which has the 4x4 arms libaom's EXT_TX_SET_ALL16/_DTT4_IDTX ask for. allintra0 no longer panics; it stops at the existing named mixed-leaf var-tx refusal. - rect intrabc leaves (4x8/8x4) read the INTER var-tx tree under TxMode::Select (block_signals_txsize is bsize > BLOCK_4X4) and reconstruct per 4x4 TU when it splits; sub-8x8 leaves publish the TXFM context bands (set_txfm_ctxs for every block); the stale intrabc_dv slot no longer leaks into the next 8x8+ block. - inventory re-pin: the dead sub-8x8-intrabc refusal entry retired, the Golomb entry re-pinned to its measured symptom-reachability. warped is NOT byte-exact yet: first divergence moved (38,60) -> (46,66), the key-frame tx-depth context read off the deblock grid where libaom reads the TXFM bands (next step in report S9.7). allintra/warped now stop 16 mi rows later at the 1:4 rect-strip intrabc refusal (lane 3's).
ec-av1: sub-8x8 intrabc reconstruction (WIP) + trace alignment; reportAhmet Kaan Gümüş · 787e43e
ec-av1: sub-8x8 intrabc reconstruction (WIP) + trace alignment; report
The charter's one-routing-predicate hypothesis is REFUTED: the three
real-stream stops have three distinct causes (see
lanes/av1txrouting.report.md).
- Stops 3.3/3.4 ('a sub-8x8 leaf that uses intrabc') are GENUINE sub-8x8
intrabc blocks (instrumented aomdec reads intrabc val=1 and an EC_DV at
the same mi positions). Implemented: read_intra_mode_sub8 reads the DV and
returns early; read_intrabc_dv generalized to a (n4_w,n4_h) footprint;
decode_leaf_split4 / decode_leaf_rect8 reconstruct the leaf via a
mc::predict_with_filter frame copy injected through the set_palette_pred
override, with the inter coefficient sets and no tx_depth symbol; chroma
inherits the LUMA's coded tx_type (av1_get_tx_type treats intrabc as
inter) via fctx.intrabc_chroma_tx. record_intrabc_mi_rect publishes a
rect footprint.
The 4x4 split path is proven symbol-identical to aomdec (luma residual
full rng match at allintra (45,52)). The 4x8/8x4 RECT path is NOT yet
byte-exact (warped differs at luma row 128, desync at (38,60)) -- WIP.
- Stop 3.2 ('a Golomb tail') root cause: 4:4:4 chroma subsampling is not
implemented anywhere in the decoder (hardcoded /2 chroma extents); every
4:4:4 stream is silently garbage, none is byte-exact. First divergence
at a444-cu6 (0,0): aom chroma TX_8X16 entry rng 39857, ours 4x8. Needs a
named sequence-header refusal + a subsampling-threading lane.
- Trace prints added at previously-silent tx_depth/intrabc sites so a
cross-decoder first-divergence diff aligns.
NOT mergeable yet: see the report's section 5 (rect intrabc, the 1:4 rect
strip intrabc, the decode_leaf8 dequant panic, the 4:4:4 refusal, inventory
re-pin, suite run).