Commits
Commits on
a43f3c74f16933e4b24ea11a174b0fa3c371c2e12026-09-02
fix(av1): the 1:4 intra strip readers never published the TXFM_CONTEXT bandsAhmet Kaan Gümüş · a43f3c7
fix(av1): the 1:4 intra strip readers never published the TXFM_CONTEXT bands decode_block_rect64/decode_block_rect4 are also the INTER frame's readers for a 64x16/16x64 (and 32x8/8x32) intra strip, but unlike every other intra-in-inter path they skipped libaom's set_txfm_ctxs write, so the block after a strip read the row's init value 64 as its left transform height and took the tx_size_cat3 CDF row 1 where libaom takes row 0 -- a same-value/wrong-row desync. Measured on a 58-OBU prefix of the 10-bit 3840x1608 stream (40 decoded frames): the first silent wall is decode-order frame 33, first wrong pixel Y(1920,64), first diverging element tx_depth at mi(16,480) (ours ctx=1 rng=56472, aomdec ctx=0 cat=3 rng=34964). Output frame 36 differing bytes 1992768 -> 765464; the wall is narrowed, not closed (see lanes/frame36-r1.handoff.md). Also adds two triage rungs: EC_PROBE_HDR=1 prints one line per frame header from decode_probe, and EC_TXCTX now also dumps tx_size_context_txfm's inputs.
Merge branch 'lane-sub8x4' (8c74306): intra 8x4/4x8/4x4 leaves and intra 16x4/4x16 strips inside inter partitions, TX_64X32/32X64 corner TUs lifted with a pinned 10-bit 3840x1608 witness; the 4K head cut decodes 48 frames with no refusalAhmet Kaan Gümüş · c249957Browse files
docs(av1): lane-sub8x4 r3 suite line -- 422 passed, 2 failed (the two pre-existing 1:4 recipe defects), 37 ignoredAhmet Kaan Gümüş · d0ccc46Browse files
docs(av1): lane-sub8x4 r3 report -- both 1:4/64-corner refusals narrowed behind a 33-frame film witness, tile arm restored, intra14 sibling gate un-ignored and its frame-count assert correctedAhmet Kaan Gümüş · 42fc07fBrowse files
feat(av1): intra 16x4/4x16 strips in an inter 1:4 partition and the un-split 64x32/32x64 corner transform unit, both refusals narrowed behind one film gateAhmet Kaan Gümüş · ddc5714
feat(av1): intra 16x4/4x16 strips in an inter 1:4 partition and the un-split 64x32/32x64 corner transform unit, both refusals narrowed behind one film gate
Both arms were already written and both sat behind env switches (EC_INTRA16X4_DECODE,
EC_RECT64_SPLIT) because three earlier rounds across two lanes reported that no witness
stream exists: every frame of the 10-bit 3840x1608 stream that fires either arm ALSO
carries a sub-8x8 intra leaf, which refused, so no firing frame ever finished and no
pixel comparison was possible. That dead-end expired with this lane's r2 (the sub-8x8
intra leaves decode); re-measuring is all it took.
The first 50 frame-carrying OBUs of that stream's head now decode all 33 frames with no
refusal and match ffmpeg on every plane of every frame, while intra16x4_in_inter reads
16x4=31 4x16=17 chroma_ref=23 and rect64_corner_tu reads 64x32=90 32x64=5. Pinned as
crates/ec-av1/fixtures/reelb_rect64_intra16x4_witness.obu (23472 bytes, sha256
c9e721088766163b9dbeb9fa8dd8b257ff0ec7f9157fc350de4d3c33cd9ec4e4, cut twice from
independent ffmpeg runs that hashed identically) and gated by
a_10bit_film_frames_with_intra_16x4_strips_and_rect64_corner_tus_decode_pixel_exact,
which hard-asserts all five counters. The full 48-frame segment diverges at decode-order
frame 36; the fixture is the exact prefix, not a truncation chosen to hide that.
Neither refusal STRING leaves refusal_inventory: both are narrowed, not deleted. "a split
intra strip whose transform unit is {tx_w}x{tx_h}" still stands for every shape other
than 64x32/32x64, and the 16x4/4x16 one still stands for a strip with no chroma-pair
record.
Sibling sweep: a_10bit_film_inter_frame_with_intra_1to4_strips_decodes_pixel_exact was
#[ignore]d with the note "un-ignore when the 64x32/32x64 luma coefficient tables land",
so it is un-ignored here. Running it for the first time showed its untested
frames.len() == 2 assert was wrong -- a raw ffmpeg decode of that fixture writes exactly
one 3840x1608 10-bit frame, so the second frame OBU is a no-show. Corrected to 1 with an
added ffmpeg-frame-count equality so the compare cannot go vacuous; the gate is green
with 480 intra 1:4 strips and the shown frame pixel-exact.Merge branch 'lane-gaterecipe' (c4f1926): the two 1:4 firing gates ran vacuous recipes; recipes re-measured against aomdec, stdin fed from a threadAhmet Kaan Gümüş · 64c4983Browse files
test(av1): restore the --tile-columns=1 arm in the sub-8x8 intra gate -- r2's multi-tile desync was main's motion-field tile clamp, fixed by 1d2259cAhmet Kaan Gümüş · 90b0b04
test(av1): restore the --tile-columns=1 arm in the sub-8x8 intra gate -- r2's multi-tile desync was main's motion-field tile clamp, fixed by 1d2259c The arm was excluded in r2 with a measured reason: the 192x128 cq-63 recipe with --tile-columns=1 desynced at decode-order frame 4, and identically with --min-partition-size=16 --max-partition-size=16 (no sub-8x8 block of any kind), so the defect was pre-existing and not this lane's bands. Merging main brings 1d2259c (av1_copy_frame_mvs read the mi grid through the per-tile reach clamp, so the saved motion field kept only the last tile's columns) -- exactly the frame-3/4 temporal-MV shape. With that fix the arm is pixel-exact, so the gate now carries the neighbour-map tile arm COMMON asks every lane for: 13 arms.
fix(av1): two 1:4 gates asserted a shape their recipes never producedAhmet Kaan Gümüş · a7dc272
fix(av1): two 1:4 gates asserted a shape their recipes never produced Both were red on their FIRING assert with 0 mismatches and 0 refusals once the refusals their streams used to stop at were lifted. Measured with aomdec EC_TRACE/EC_TRACE_COEFF histograms: the old 64-axis 1:4 recipe writes zero 1:4 partitions and zero rectangular sub-transforms, so the leaves the assert counted came out of a refused stream (class counter-from-refused-stream). Re-swept ~40 recipes: a 384x256 high-frequency product texture at cq 10 with --min-partition-size=8 --enable-tx-size-search=1 is what splits a rectangular transform; the rect var-tx gate now uses it (8-bit, 21+15 leaves before a named refusal). The 16x16-level split-tx-8x4 arm has no decodable recipe at all -- the one that fires it mismatches the reference at frame 2 -- so it is reported unproven with the measurement, not asserted. Also feeds aomenc stdin from a thread: the old shape deadlocked (one encode hung 40 minutes).
docs(av1): lane-sub8x4 r2 handoff addendum -- the straddling-band suite failure is main's missing motion-field tile fix, which is also the likely cause of this lane's multi-tile desyncAhmet Kaan Gümüş · 5106e8dBrowse files
docs(av1): lane-sub8x4 r2 handoff -- deblock tx-width root cause, sub-8x8 intra gate green, multi-tile defect disproved as this lane'sAhmet Kaan Gümüş · b57fa91Browse files
feat(av1): intra 8x4/4x8 and 4x4 leaves inside an inter frame's sub-8x8 partitions, refusals lifted behind a real-aomenc gateAhmet Kaan Gümüş · d94fd8e
feat(av1): intra 8x4/4x8 and 4x4 leaves inside an inter frame's sub-8x8 partitions, refusals lifted behind a real-aomenc gate Both sub-8x8 intra refusals and their `EC_SUB8INTRA_DECODE` bypass are gone: "an intra 4x4 block inside an inter frame's sub-8x8 split ..." "an intra 8x4/4x8 block inside an inter frame's sub-8x8 HORZ/VERT partition ..." New gate `a_real_aomenc_inter_sequence_with_intra_sub8x8_leaves_decodes_pixel_exact` (stream.rs) re-encodes 12 real aomenc streams -- 8/10-bit x cq 48/55/63 x 128x128/192x128, `--min-partition-size=4 --max-partition-size=8 --enable-1to4-partitions=0` -- and compares all 6 decode-order frames, all three planes, against ffmpeg. Continue-and-sweep: a named refusal is recorded, any other decode error or any pixel mismatch fails. The fixture recipe is encoded twice on the first arm and the two streams compared byte for byte. End-of-sweep assert reads all five `sub8_intra_rect_hits` cells, so neither lifted refusal rests on a stream that never carried its shape. Result: 12/12 arms pixel-exact, counters [8x4=362, 4x8=80, chroma_ref=156, mixed=153, split4x4=98]. `sub8_intra_rect_hits` grows a fifth cell for the PARTITION_SPLIT 4x4 arm (the second refusal's own witness); decode_probe prints it. NOT included, measured not assumed: the `--tile-columns=1` arm. That recipe desyncs at decode-order frame 4 -- and desyncs identically with `--min-partition-size=16 --max-partition-size=16`, i.e. with no sub-8x8 block in the stream at all, so it is a pre-existing multi-tile defect, not this lane's bands. Repro pinned in the gate comment. Sibling gates re-run: sub8/obmc/mv_stack/1to4/refusal_inventory/gate_coverage = 33 passed, 2 failed, 5 ignored -- both failures are the zero-counter RECIPE defects this branch already carried (16x16-level 1:4 VERT_4 arms, rect var-tx leaf arm), neither a pixel mismatch.
fix(av1): compound 8x8 leaf published transform width 8 to the deblock grid even when its var-tx split it into 4x4 unitsAhmet Kaan Gümüş · 315f5f2
fix(av1): compound 8x8 leaf published transform width 8 to the deblock grid even when its var-tx split it into 4x4 units
`decode_inter_block8`'s COMPOUND early return called `fill_lf_grid(leaf_mi, 2, 8, ..)`
with a literal 8 where the fall-through single-ref tail writes `if split8 { 4 } else { 8 }`.
libaom `get_transform_size` (av1_loopfilter.c:207) reads the per-TU `inter_tx_size` for a
non-skip inter luma block, so the leaf's interior vertical/horizontal edges at x % 8 == 4
are real filter edges. Ours skipped them and widened the neighbouring edge's filter from
4-tap to 8-tap. Class early-return-skips-tail, third instance in this same arm.
Witness (8-bit 128x128 6-frame inter stream, cq 63): entropy and the pre-filter picture were
already exact on every frame; the POSTDEBLOCK dump vs the instrumented aomdec's diverged on
decode frame 2 at luma (78..80, 58..63), 12 px, max delta 3, around the unfiltered x=60 edge
of the 8x8 at mi(20,14) -- our `EC_AV1_DEBLOCK_TRACE_V` printed no VEDGE at x0=60 there while
the block's four TX_4X4 units demand one. A 12-stream sub-8x8-intra probe sweep
(8/10-bit x cq 48/55/63 x 128x128/192x128) goes 10/12 -> 12/12 pixel-EXACT vs ffmpeg.docs(av1): lane-sub8x4 r1 handoff -- merge resolution, two root causes, re-measured step-1 premisesAhmet Kaan Gümüş · 885adf5Browse files
fix(av1): compound 8x8 leaf's early return clobbered its own per-TU luma coefficient contextAhmet Kaan Gümüş · d0f01ab
fix(av1): compound 8x8 leaf's early return clobbered its own per-TU luma coefficient context `decode_leaf8`'s COMPOUND arm returns before the fall-through tail, and that tail is where the `split8` plane-0 save/restore around `record_mi` lives. A compound var-tx 8x8 leaf therefore published the whole-block luma grid (all-zero when the transform is split into 4x4 units, since `read_inter_luma8`'s `record_mi_luma` already wrote the per-unit state) to `above[..][0]`/`left[..][0]`, so the NEXT block's first transform unit read `get_txb_ctx`'s `skip_contexts[4][0] = 3` where aomdec reads `[4][4] = 6` (txb_common.h:330). Class early-return-skips-tail. Witness (8-bit 192x128 inter stream, aomdec ladder): frame 2 mi(14,12) first luma TU, ours ctx=3 rng=43376 vs reference ctx=6 rng=61310; the block left of it, mi(14,10), is a compound 8x8 whose four TX_4X4 units all read ctx=6 correctly and then had their published levels zeroed. A 12-stream sub-8x8-intra probe sweep keeps its 10/12 pixel-EXACT rows and one refusing stream now decodes all 6 frames.
merge(sub8x4)+fix(av1): one faithful copy of libaom's sub-8px mv-stack scans, and a sub-8x8 leaf that never saw its sibling's block sizeAhmet Kaan Gümüş · 35461bb
merge(sub8x4)+fix(av1): one faithful copy of libaom's sub-8px mv-stack scans, and a sub-8x8 leaf that never saw its sibling's block size Merge of lane-intra16x4 r3 and lane-sub8intra r2: both ported the same two clauses of libaom `scan_row_mbmi`/`scan_col_mbmi` (mvref_common.c:143-236) into `mvstack.rs`; the merge keeps ONE copy per scan (row, col and their compound twins) -- the odd-mi step-back under a sub-8px block and the `>= mi_size_wide[BLOCK_8X8]` half of the weight / `processed_rows|cols` guard. Fix on top (`decode_inter_sub8_rect2`): libaom's `xd->above_mbmi`/`left_mbmi` are the neighbour block as DECODED, so leaf 1 of an 8x8 HORZ/VERT group sees leaf 0's own bsize. We published the side bands only in the GROUP tail, so leaf 1 read the block preceding the whole group; `get_tx_size_context` (pred_common.h:342) takes `block_size_wide[above_mbmi->bsize]` from there, and an intra 8x4 leaf 1 read `tx_size_cat0` row 1 where aomdec reads row 2 (class tx-grid-published-block-side). 12-stream sub-8x8-intra probe sweep: 5/12 pixel-EXACT -> 10/12.
Merge branch 'lane-mergefix' (ed7af98): build_motion_field read the mi grid through the last tile's clamp, dropping every other tile column's saved motion vectors; frame-edge straddling gate greenAhmet Kaan Gümüş · b09d6c1Browse files
fix(av1): mv-stack row/col scans dropped libaom's sub-8px clauses, desyncing every 4-wide/4-high blockAhmet Kaan Gümüş · 9d5ecaa
fix(av1): mv-stack row/col scans dropped libaom's sub-8px clauses, desyncing every 4-wide/4-high block `scan_row`/`scan_col` (and the compound twins) applied the weight and `processed_rows`/`processed_cols` update whenever `bw4 <= n4`, but libaom `scan_row_mbmi`/`scan_col_mbmi` (mvref_common.c:172/222) gate that on `xd->width >= mi_size_wide[BLOCK_8X8]` as well, and step the |offset|>1 column back on an odd mi_col under a sub-8px block. A 4-wide 1:4 strip therefore got a raised candidate weight and a shifted outer scan: on a 128x128 cq60 aomenc stream, mi(24,15) built the stack (12,28) w648 / (-4,26) w648 / (-4,18) w8 where libaom builds (12,28) w650 / (-4,18) w648 / (-4,26) w8 / (6,332) w4, picking a different mv and desyncing 5466 luma pixels of frame 1 from (122,13). With both clauses ported the same stream is entropy-exact (125/125 aomdec EC_MODE entries match, value and range) and stops on another lane's named sub-8x8 intra refusal instead of decoding wrong pixels. The intra 16x4/4x16 gate becomes continue-and-sweep: every arm decodes, named refusals only from a measured list, every decode-order frame compared on every plane, and ONE end-of-sweep assert over the recorded failures plus a per-bit- depth firing assert. Still ignored, refusal NOT lifted -- no recipe found yet gives a pixel-exact attempt with the counter above zero.
fix(av1): mv-stack column/row scans dropped libaom's two sub-8x8 rules -- an 8x4 leaf's refmv CDF row was 3 where libaom uses 4Ahmet Kaan Gümüş · 53add12
fix(av1): mv-stack column/row scans dropped libaom's two sub-8x8 rules -- an 8x4 leaf's refmv CDF row was 3 where libaom uses 4 `scan_col_mbmi`'s odd-row snap (`if ((mi_row & 0x01) && xd->height < n8_h_8) --row_offset;`) and its transposed `scan_row_mbmi` twin were never ported, and the weight/`processed_cols` guard kept only `xd->height <= n4_h`, dropping libaom's `xd->height >= n8_h_8` half. Both only misfire for a query block with a side under 8px, so they surfaced the moment an intra 8x4 leaf made its inter neighbour's second-outer column scan matter: the scan probed the undecoded row below, lost `col_match_count`, and read the `refmv` symbol off ctx 3 instead of 4 -- same decoded mode, wrong CDF row, tile desynced from there (class wrong-alphabet-same-value). Fixed in all four scan functions (single-ref and compound). On the 8-bit 128x128 sub-8x8 witness the all_zero range ladder now matches the reference on 2106/2106 transform units across all 6 frames (was 1405) and mi(24,0)'s mode range matches; the three remaining pixel clusters are the OBMC `mi_step == 1` chroma-pair merge already fixed on another lane, with which the witness is cmp-exact against ffmpeg on all 6 frames. No refusal lifted, no gate yet.
docs(mergefix): r5 report -- saved motion field kept only the last tile's columns; straddling gate greenAhmet Kaan Gümüş · d72296d
docs(mergefix): r5 report -- saved motion field kept only the last tile's columns; straddling gate green
fix(av1): the saved motion field kept only the LAST tile's columns -- av1_copy_frame_mvs read the mi grid through the per-tile reach clampAhmet Kaan Gümüş · ba5351f
fix(av1): the saved motion field kept only the LAST tile's columns -- av1_copy_frame_mvs read the mi grid through the per-tile reach clamp `build_motion_field` (this crate's `av1_copy_frame_mvs`) walks the whole frame's mi grid AFTER the tile loop has finished, when `MiGrid`'s tile window is still narrowed to the last tile. `MiGrid::get` returns `None` outside that window, so every tile but the last saved no motion vectors at all: on the pinned 192x68 2-tile-column stream the saved field held only mi_col 32..47, and the next frame's temporal (MFMV) candidates over the whole left two thirds silently vanished from the MV stack. The entropy stream still matched symbol for symbol -- a missing weight-2 temporal vote only reorders the stack -- so a NEW_NEWMV block at mi(0,24) took stack[1] = (36,0) (the compound extension's zero-fill) instead of libaom's (0,0), predicting 32 px off and leaving a 32-px-wide wrong column band. New `MiGrid::get_frame` is the unclamped frame-level read; only `build_motion_field` uses it. Rungs added with it: `EC_TPL` (per frame: use_ref_frame_mvs + filled projected cells) and `EC_TRACE_TPL`'s new `EC_TPL_SAVED` occupancy map of the saved field, which is what showed the 16-column hole. Pre-filter reconstruction of all 6 decode-order frames of the pinned stream goes 1306/3358/5027/6622 wrong luma px (frames 2..5) -> 0.
Merge branch 'main' into lane-mergefixAhmet Kaan Gümüş · 54a60c1
Merge branch 'main' into lane-mergefix # Conflicts: # crates/ec-av1/examples/decode_probe.rs # crates/ec-av1/src/cdf_state.rs # crates/ec-av1/src/decode.rs # crates/ec-av1/src/refusal_inventory.rs # crates/ec-av1/src/stream.rs # lanes/mergefix-r2.report.md
feat(av1): intra 8x4/4x8 and 4x4 leaves of an inter frame's sub-8x8 partition decode behind EC_SUB8INTRA_DECODE (gate RED, refusals kept)Ahmet Kaan Gümüş · 2b05cf7
feat(av1): intra 8x4/4x8 and 4x4 leaves of an inter frame's sub-8x8 partition decode behind EC_SUB8INTRA_DECODE (gate RED, refusals kept) decode_intra_sub8_leaf reads read_intra_block_mode_info's syntax (y_mode[0], no angle delta below 8x8, uv_mode + CfL only on the chroma reference, filter_intra off the shape's own class row) and then decode_leaf_rect8's luma/chroma body, with the INTER frame's tx-depth context and set_txfm_ctxs publication. Both sub-8x8 callers guard their chroma tail when the chroma reference is intra, and predict the group's 4x4 chroma WHOLE from the chroma-reference block's mv when a sibling is intra (is_sub8x8_inter false). Measured: 5/6 film probes stop first on sub-block 0 of a HORZ/VERT pair, non-skip; under the switch all six move to the next wall. The path is NOT proven: on an 8-bit 128x128 aomenc witness the intra leaf itself is bit-exact (mode + tx_depth rng match the oracle) but the stream desyncs inside the next 8x8 group, so the refusals stay the default behaviour and no gate is added.
fix(av1): OBMC overlappable-neighbour walk never ported libaom's mi_step==1 chroma-pair mergeAhmet Kaan Gümüş · 0ee3ba4
fix(av1): OBMC overlappable-neighbour walk never ported libaom's mi_step==1 chroma-pair merge `overlappable_above`/`overlappable_left` (obmc.h `foreach_overlappable_nb_*`) skipped the "4-wide/4-tall neighbour is half of a chroma pair" case as unreachable; the 16x16-level 1:4 partitions made it reachable. The 16x16 block right of a HORZ_4 whose strip 0 is inter and strips 1..3 intra counted that inter strip as overlappable, so we read a motion_mode symbol libaom never wrote (its walk snaps back to the pair's even row and reads the INTRA strip 1), desyncing the tile at the next coefficient: first TU all_zero=1 vs the reference's eob=59. After the fix the 8-bit 192x128 witness matches aomdec on 620/620 all_zero symbols (value and range) up to another lane's sub-8x8 intra refusal, and a new gate recipe (horizontal-bar source, cq63, --min-partition-size=8, 192x128, 5 intra 16x4 strips) decodes 6 frames bit-exact vs ffmpeg. Gate run once with --include-ignored: still RED, on attempt 0 only -- a mismatch r1 measured as another shape (99 rows above that stream's first strip) which panics before the new arm runs, so the test stays #[ignore]d with that measurement and the refusal stays in place behind EC_INTRA16X4_DECODE.
docs(av1): lane-intra16x4 r1 handoff -- measurement table, what the path implements, the surviving pixel mismatch, next stepAhmet Kaan Gümüş · e5f8021Browse files
feat(av1): intra 16x4/4x16 strip of an inter 16x16-level 1:4 partition decodes behind EC_INTRA16X4_DECODE (gate RED, refusal kept)Ahmet Kaan Gümüş · dfaeea5
feat(av1): intra 16x4/4x16 strip of an inter 16x16-level 1:4 partition decodes behind EC_INTRA16X4_DECODE (gate RED, refusal kept) The key frame's per-strip body is lifted out of decode_rect4_16 into decode_rect4_16_strip and run from the INTER block path with INTRA_IN_INTER_MODE = (size_group 0, the skip decode_inter_block already read), so a single intra strip of a partition whose other strips are inter decodes through the readers the key frame already proves -- including the 4:2:0 pairing (even strips read no chroma, the odd one codes one 8x4/4x8 unit at the pair's origin, predicted per the strip that carries it). The inter path additionally publishes set_txfm_ctxs + txfm_partition_update for the strip (the key-frame body has no var-tx tree) and reads the tx-depth symbol off the real TXFM_CONTEXT bands; without that the block after the strip broke while the strip itself was exact. Not pixel-proven: the r1 gate (real aomenc, 4 recipes x 8/10 bit, every frame Y/U/V vs ffmpeg) is RED and #[ignore]d with its measurement, so the named refusal stays the default and the new path is behind EC_INTRA16X4_DECODE=1. Measured with the switch on, all six 10-bit film probes leave this wall (five stop on the sub-8x8 intra block, another lane's shape).
Merge branch 'lane-rectres' (a66f9a4): rectangular residual coding for non-skip 32x8/8x32 inter strips (the film's rect-residual wall)Ahmet Kaan Gümüş · 0cc84e8Browse files
docs(av1): lane-rectres r1 report -- shape histogram, gate result, film wall move, open suiteAhmet Kaan Gümüş · ba3aca0
docs(av1): lane-rectres r1 report -- shape histogram, gate result, film wall move, open suite The full `cargo test -p ec-av1 --lib` run had not printed its result line when the round ended; the report says so rather than claiming a total.
feat(av1): the 32x32-level 1:4 inter strip codes its rectangular residual (32x8/8x32)Ahmet Kaan Gümüş · 0f5742b
feat(av1): the 32x32-level 1:4 inter strip codes its rectangular residual (32x8/8x32) MEASURED first: an env-gated print at the refusal site (EC_RECTRES=1) on both 10-bit 3840x1608 film cuts and four offsets of the 10-bit 1920x792 stream gives 6/6 refusals at w=32 h=8 or w=8 h=32, non-skip, inter -- nothing else. The 64-axis shapes the charter expected were already supported and never fire. TX_32X8 codes all 256 positions. New TxbSet::LumaRect32x8Inter = the intra LumaRect32x8 tables (get_txsize_entropy_ctx = TX_16X16, txsize_log2_minus4 = 4) plus a tx_type table the intra twin has none of: av1_get_ext_tx_set_type at tx_size_sqr_up == TX_32X32 is EXT_TX_SET_DCT_IDTX for inter with or without reduced_tx_set, read at the txsize_sqr_map[TX_32X8] == TX_8X8 row. Chroma pair is one 16x4/4x16 unit (ss_size_lookup[BLOCK_32X8] = BLOCK_16X4) = Chroma8's tables. Scans, sub_tx_size_map[TX_32X8] = TX_16X8 var-tx leaves and the rect coefficient reader were already shape-general. Gate a_real_aomenc_inter_sequence_with_32x32_level_1to4_strips_codes_their_rect_residual: real aomenc, --enable-1to4-partitions=1 --enable-tx-size-search=1 --min-partition-size=8 --max-partition-size=32, 16 attempts x 8/10-bit, both orientations, every decode-order frame Y/U/V vs ffmpeg, oos_mismatch == 0, one hard assert per lifted shape on the PIXEL-COMPARED counter: 32x8=7 8x32=8, 0 refusals, 0 mismatches. A 72-run recipe sweep found that only 32-pixel motion bands at cq >= 48 make aomenc code a NON-SKIP strip; narrower bands give the same partition with skip set and prove nothing about the residual. Film frontier: the 10-bit 3840x1608 cut still shows 33 frames -- the gain is inside frame 34, which now codes a 32x8 residual unit and stops on a different wall (an intra 16x4/4x16 strip inside an inter 16x16-level 1:4 partition). All six cuts moved to that same next refusal. The rect64 refusal is NOT lifted: the clean prefix reports rect64_corner_tu 0/0, so no witness exists yet.
Merge branch 'lane-rect64port' (d08f9c6): TX_64X32/TX_32X64 split-intra-strip luma corner ported onto main behind EC_RECT64_SPLIT (no film witness yet; the next wall is the inter rect-residual refusal)Ahmet Kaan Gümüş · 480a3f2Browse files
docs(rect64port): r1 suite line -- 417 passed, 3 failed (the 3 known reds), 37 ignoredAhmet Kaan Gümüş · da8601bBrowse files
fix(av1): the loop filter ignored spec 7.14.2's skip/pu_edge suppression, filtering a var-tx interior edge lattice the reference never touchesAhmet Kaan Gümüş · fc0fe40
fix(av1): the loop filter ignored spec 7.14.2's skip/pu_edge suppression, filtering a var-tx interior edge lattice the reference never touches edge_params dropped the `!pv_skip || !curr_skipped || pu_edge` term on the invariant "a coded block's transform is always its own full size", which var-tx broke: every 8-px interior transform edge inside a skipped inter block was filtered. Adds a per-4x4-mi coded-block-origin band (written alongside the skip flag) for the pu_edge term. On the pinned 192x68 cq61 tile_cols=1 8-bit stream, decode-order frame 1 goes 7244 -> 0 wrong post-deblock luma px; its pre-filter reconstruction was already bit-exact, which disproves the compound-prediction premise this round started from. The 1:4 rect-vartx sibling gate stays green. The straddling gate still fails on a different, isolated defect: decode frame 2 is wrong pre-filter in the x=96..127 column band. (cherry picked from commit 6bc2c8b32c187d51e7723249c7eecbad9a298466)
docs(rect64port): r1 report -- port landed behind EC_RECT64_SPLIT, no witness (frontier moved to the inter rect-residual refusal)Ahmet Kaan Gümüş · ddb3943Browse files
feat(av1): TX_64X32/TX_32X64 luma corner read for a split intra strip, behind EC_RECT64_SPLIT=1 (no witness yet)Ahmet Kaan Gümüş · 42d7c39
feat(av1): TX_64X32/TX_32X64 luma corner read for a split intra strip, behind EC_RECT64_SPLIT=1 (no witness yet) Hand-port of the lane-intra64split decode hunk onto main 78d8ff7: a 64-level HORZ/VERT intra strip whose luma transform unit is the un-split TX_64X32 / TX_32X64 reads its coded 32x32 corner through TxbSet::Luma64 with default_scan(TX32) and the real rect shape passed to av1_nz_map_ctx_offset -- byte for byte decode_block_rect64's depth-0 key-frame arm. Per-orientation counter rect64_corner_tu_hits(0|1) exported through stream.rs and printed by decode_probe. NOT lifted: measured on both 10-bit 3840x1608 cuts, the arm fires (16x 64x32 + 2x 32x64 on the first cut, 2x 32x64 on the second) but the SAME frame then stops at "a non-skip rectangular (HORZ/VERT/HORZ_B) strip needs rectangular residual coding", so no frame containing the shape ever completes and no pixel comparison exists. A refusal is lifted only with a gate, so the arm sits behind EC_RECT64_SPLIT=1 and the refusal stays the default; refusal_inventory and gate_coverage unchanged.
docs(mergefix): r4 sibling gate batch -- 10 passed, 1 failed (the lane's own gate, unchanged)Ahmet Kaan Gümüş · 34789daBrowse files
docs(mergefix): r4 handoff -- frame 1 is entropy AND prediction exact; the residual band is decode frame 2, x=96..127Ahmet Kaan Gümüş · 8fc2d7e
docs(mergefix): r4 handoff -- frame 1 is entropy AND prediction exact; the residual band is decode frame 2, x=96..127
fix(av1): the loop filter ignored spec 7.14.2's skip/pu_edge suppression, filtering a var-tx interior edge lattice the reference never touchesAhmet Kaan Gümüş · 99d520f
fix(av1): the loop filter ignored spec 7.14.2's skip/pu_edge suppression, filtering a var-tx interior edge lattice the reference never touches edge_params dropped the `!pv_skip || !curr_skipped || pu_edge` term on the invariant "a coded block's transform is always its own full size", which var-tx broke: every 8-px interior transform edge inside a skipped inter block was filtered. Adds a per-4x4-mi coded-block-origin band (written alongside the skip flag) for the pu_edge term. On the pinned 192x68 cq61 tile_cols=1 8-bit stream, decode-order frame 1 goes 7244 -> 0 wrong post-deblock luma px; its pre-filter reconstruction was already bit-exact, which disproves the compound-prediction premise this round started from. The 1:4 rect-vartx sibling gate stays green. The straddling gate still fails on a different, isolated defect: decode frame 2 is wrong pre-filter in the x=96..127 column band.
debug(av1): EC_LFPARAMS rung + r4 report -- frame 1 of the pinned 192x68 stream reconstructs bit-exact, the mismatch is our deblock filtering 10x more edges than the oracleAhmet Kaan Gümüş · 85dc25f
debug(av1): EC_LFPARAMS rung + r4 report -- frame 1 of the pinned 192x68 stream reconstructs bit-exact, the mismatch is our deblock filtering 10x more edges than the oracle The r3/charter premise (compound-prediction defect at mi(0,16)) is disproved: the pre-filter dumps match exactly for frames 0 and 1; the postdeblock dumps differ by 7244 luma px. Levels ruled out by the new rung; suspects are the missing spec 7.14.2 skip / pu_edge suppression in edge_params and the inter var-tx LF TU grid.
docs(mergefix): r3 handoff -- root cause proven, fix withheld for the 1:4 sibling gateAhmet Kaan Gümüş · b4995b0Browse files
docs(av1): name the var-tx parent-side publish defect at its site, keep the shipped valueAhmet Kaan Gümüş · ff5d3c5
docs(av1): name the var-tx parent-side publish defect at its site, keep the shipped value r3 proved the root cause of the straddling-band partition-ctx divergence (a var-tx inter block is not always square: a superblock-level PARTITION_VERT strip is 32x64 with side == 64 and stamps the parent's 64 into the partition-context bands, so the next superblock reads CDF row 0 where the oracle reads row 1) and reverts the fix: all four variants -- true footprint in the record call, per-piece band republish, parent-span band republish, and VERT-only -- take the straddling gate 3622 -> 3376 differing pixels AND turn two attempts of the 1:4 rect var-tx gate into the named "non-skip rectangular strip needs rectangular residual coding" refusal, failing its hit assert. `side` is not the parent bsize at every call site, so the band write belongs in the partition arms; that is r4's job. Site comment records the finding, lanes/mergefix-r3.report.md the ladders, variants and swept sites.
Merge branch 'lane-sb128c' (2432624): 128-root AB partitions, tx_size ctx against max_txsize_rect, per-unit reach above 64Ahmet Kaan Gümüş · 6f01e4dBrowse files
docs(sb128c): r10 report -- two root causes behind the 128-rect divergence, suite 388/0/35Ahmet Kaan Gümüş · 8a9dc08Browse files
Merge branch 'lane-vert46' (3b4b9b6): per-transform-unit chroma entropy context above 64, var-tx bands stamped at the block's true dimsAhmet Kaan Gümüş · d4020b9Browse files
Cherry-pick lane-inter16ab (ee04373): every block of an inter frame publishes its txfm-partition bandAhmet Kaan Gümüş · de4295bBrowse files
fix(av1): transform-unit top-right/bottom-left inside a block wider than 64Ahmet Kaan Gümüş · d1400b2
fix(av1): transform-unit top-right/bottom-left inside a block wider than 64 A block wider than 64 is coded in 64x64 "mu" chunks in raster order, so libaom's has_top_right takes the column offset MODULO the chunk (plus the one centre unit of a 128x128) and has_bottom_left grants the left edge of a right-hand chunk what the already-coded left chunk holds. Reach::of_tu applied the plain block-wide rule, so the last unit column of every chunk of a 128x64 intra block predicted from a chunk not yet reconstructed -- 375 wrong samples per 128x64 block on a 512x512 key frame with the transform split. Gate: a 512x512 arm (second 128 superblock column, high-frequency source, --enable-tx-size-search=1) joins the sb128 intra_rect_block gate: 164 128x64 + 156 64x128 blocks, 294 of them at TX_16X16, 5 frames pixel-exact.
Cherry-pick lane-mergefix (3b96a3a): reset the var-tx above/left txfm contexts per tile and per superblock rowAhmet Kaan Gümüş · 703bfadBrowse files
Merge branch 'lane-leaf8tx' (fe98aec): an 8x8 intra leaf in an inter frame whose tx_depth splits into 4x4 unitsAhmet Kaan Gümüş · b995924Browse files
fix(av1): a var-tx inter block published its parent's side into the partition-context bandsAhmet Kaan Gümüş · aabeeaf
fix(av1): a var-tx inter block published its parent's side into the partition-context bands The `vartx_leaves` branch of `decode_inter_block` called `record_split_luma_rect_mi(at, side, side, ..)` on the premise that "a var-tx block is always square". A superblock-level PARTITION_VERT inter strip is 32x64 with `side == 64`, so every such strip stamped 64 into `above_side_mi`/`left_side_mi` instead of its own 32x64. The next superblock's 64-level partition context then read `above_side_mi*2 <= 64` as false and picked CDF row 0 where libaom picked row 1. Class `tx-grid-published-block-side` (7th instance). On the pinned 192x68 cq61 tile_cols=1 8-bit stream the 64x64 partition of mi(16,32) now enters and exits at the oracle's ranges (ctx 0 -> 1, rng 51641 -> 38495, aomdec EC_PART ctx=13 = bsl*4+1); the edge-straddling gate goes 3622 -> 3376 differing pixels. Residue is a frame-1 reconstruction defect (mode and coefficient ladders of frame 1 are now element-exact vs the instrumented oracle) -- see lanes/mergefix-r3.report.md.