Commits
Commits on
00c1b3ff2d80d84fef71bb6208110dedbbd95fc42026-09-02
Merge branch 'lane-sqdrift' (7d498c0): square-only inter sequence with a 64x64 intra superblock gateAhmet Kaan Gümüş · 566a617
Merge branch 'lane-sqdrift' (7d498c0): square-only inter sequence with a 64x64 intra superblock gate Root cause (the no-CfL uv_mode alphabet on 64-axis blocks) landed on main via lane-sbrect10 (9f1f108); this lane confirmed it by ablation and contributes the square-only gate plus two trace rungs (EC_IIS intra-in-inter symbol trace, pre_rng on the partition_w64 TRACE line). Gates: a_real_aomenc_square_only_inter_sequence_with_a_64x64_intra_superblock_decodes_pixel_exact, a_real_aomenc_inter_frame_with_a_64x64_intra_block_reads_the_no_cfl_uv_alphabet -- both pass.
wip(sb128c): r7 partial from the interrupted roundAhmet Kaan Gümüş · 386c0a8
wip(sb128c): r7 partial from the interrupted round Inter-path 128x64 / 64x128 at the 128 root: gathered-edge counters, the two-square-TX_64X64 var-tx read for bw.max(bh) > 64, the mu-chunk chroma branch ordered before the rect_tu one, sb-size-aware whole_sb delta-q test, overhang clamp in PlaneBuf, and the HORZ/VERT inter_piece! arm with per-block cdef_idx fan-out. AB shapes stay refused by name.
Merge lane-cdef 8c6065e into lane-rectchroma2 (chroma deblock grid, CDEF skip band, LR crop)Ahmet Kaan Gümüş · e49934bBrowse files
fix(av1): an intrabc block's chroma tx_type is inherited from its luma transform, not derived from the chroma intra mode -- every screen-content key frame with a real intra-block-copy block desynced at the first chroma eob symbolAhmet Kaan Gümüş · d68cb84
fix(av1): an intrabc block's chroma tx_type is inherited from its luma transform, not derived from the chroma intra mode -- every screen-content key frame with a real intra-block-copy block desynced at the first chroma eob symbol libaom av1_get_tx_type (blockd.h) branches PLANE_TYPE_UV on is_inter_block, and is_inter_block counts is_intrabc_block (blockd.h:373), so an intrabc block's chroma tx_type is the colocated luma transform's coded type. We applied the intra rule (intra_mode_to_tx_type of the chroma mode) and read DCT_DCT where libaom had V_DCT: TX_CLASS_2D instead of TX_CLASS_VERT changes eob_multi_ctx, the scan order and every nz context. Ladder (EC_TRACE_COEFF both decoders, 256x192 8-bit screen key frame): luma exact through after_bases rng=58543, first divergence at the chroma eob, ref 65032 (eob 8) vs ours 37532 (eob 5). The chartered premise -- a desync inside read_intrabc_dv -- was stale: the oracle's EC_TRACE_IBC rung and our own trace both give dv=(-512,-608) at that block, and a wrong DV predictor cannot move the bitstream position anyway. Gate a_real_aomenc_screen_key_frame_reads_use_intrabc_on_rect_strips grows from 3 to 7 arms, spells --enable-intrabc=1, compares every frame of every decoding arm and asserts a per-arm intrabc-block counter: 4 intrabc blocks across 3 arms, all pixel-exact vs ffmpeg, 0 out-of-scope mismatches. gate_coverage drops enable-intrabc from its 8-bit never-exercised list (its stated premise, "every real stream's intrabc block sits under TX_MODE_SELECT", is disproven).
fix(av1): inter 32x32-level HORZ/VERT decoded the frame-edge second strip libaom never codedAhmet Kaan Gümüş · ca58ed5
fix(av1): inter 32x32-level HORZ/VERT decoded the frame-edge second strip libaom never coded Merges lane-cdef 8c6065e (cdef_find_dir at a crop edge) and fixes the inter tile's 32-level PARTITION_HORZ/PARTITION_VERT, which decoded the second 32x16/16x32 strip unconditionally. libaom decode_partition guards it with has_rows/has_cols, so at a frame edge (height or width mod 16 == 8 -- both of the user's films) we read symbols the encoder never wrote: without the guard a 72x192 cq32 stream refuses outright and a 104x192 one decodes luma rows 127..191 of frame 5 wrong. Adds an inter_edge_strip counter per level (64/32/16) x axis and un-ignores lane-oddh r2's inter arm as a 5-size real-aomenc gate: 30 attempts luma-exact, edge hits [109,34,0,3,2,432], 0 refusals, control 192x128 zero hits.
docs(uv8): r3 handoff -- reduced-vs-full 8x8 intra tx_type set, gate green, suite in flightAhmet Kaan Gümüş · 82b6c95Browse files
fix(av1): count the 8x8 inter leaf's fall-through CDEF skip-band write tooAhmet Kaan Gümüş · 408ab87
fix(av1): count the 8x8 inter leaf's fall-through CDEF skip-band write too lane-cdef r1 incremented INTER8_SKIP_BAND_HITS only in decode_inter_block8's COMPOUND early-return arm, so its gate's assert really read "a COMPOUND 8x8 leaf wrote the band". On the tree merged with main the 10-bit cq=12 arm's leaves come through the single-ref fall-through instead, which writes the band but did not count -- the gate failed on an instrumentation gap, not on pixels (cdef_skipped_units passed, and all five arms are pixel-exact once past it).
Merge lane-uv8 6223830 into lane-leaf8tx: 8x8 intra-in-inter leaf tx_type alphabet + 4 lane mergesAhmet Kaan Gümüş · ca1ea86
Merge lane-uv8 6223830 into lane-leaf8tx: 8x8 intra-in-inter leaf tx_type alphabet + 4 lane merges Conflict in stream.rs was two appended test fns; kept both sides.
fix(av1): get_tx_size_context's inter-neighbour override read a SUB-cell index into two mi-granular bandsAhmet Kaan Gümüş · 9fbdab4
fix(av1): get_tx_size_context's inter-neighbour override read a SUB-cell index into two mi-granular bands `tx_size_context_txfm`/`_rect` implement libaom `get_tx_size_context` (pred_common.h): when the above/left neighbour is an INTER block its BLOCK size, not its transform-context band, decides the `tx_depth` CDF row. Both copies indexed `above_inter`/`left_inter` with `mi_c / (SUB / MI)` / `mi_r / (SUB / MI)`, but those two bands are mi-granular everywhere else they are written (`record_inter_rect_mi`) and read (`intra_inter_ctx`) -- so the override consulted a neighbour four mi columns/rows away and, at the first intra block right of an inter one, read tx_depth off ctx 0 where libaom has ctx 1. Same value, different interval: the tile desynced from there. MEASURED on the r2 handoff's pinned stream (10-bit 192x128, md5 50ea2b42423f1c8b4eed9fa48c4775a6): the aomdec `EC_ISTEP name=tx_depth` ladder was 85 of 147 elements and first diverged at mi(24,24) ctx 0 vs 1; it is now 147/147 identical and the stream decodes pixel-exact. Consequence for the gate: with a correct decode that stream contains ZERO intra HORZ/VERT strips in an inter frame -- r1/r2's "firing" counters were read off our own desynced decode (class counter-from-refused-stream). 90 probe encodes over the old 192x128 / min=max=32 geometry produce no strip at all, so the gate moves to the merged unsplit-strip gate's geometry (96x96, min 16 / max 64, cq sweep down to 4) where aomenc does split intra strips. Both arms are now GREEN with zero named refusals: 8-bit 6 counted-exact attempts (depth1=9, depth2=1), 10-bit 2 counted-exact. `EC_SPLITSTRIP` now prints EVERY intra strip with its depth, not only the split ones -- a source that codes no strip at all and one that codes only unsplit strips were indistinguishable through it.
docs(sb128c): r6 report -- merge of main + lane-golomb, the has_top_right over-gating regression, the 128-root partition sweep and the film's gathered-HORZ blockerAhmet Kaan Gümüş · 3355529Browse files
docs(mc64): r2 report -- root cause was the no-CFL uv_mode alphabet, rect-side gate pinned, suite 385/0Ahmet Kaan Gümüş · ad2dcf6Browse files
fix(av1): the 8x8 intra leaf inside an inter frame read the REDUCED five-type tx_type set unconditionallyAhmet Kaan Gümüş · 564bd72
fix(av1): the 8x8 intra leaf inside an inter frame read the REDUCED five-type tx_type set unconditionally decode_inter_block8's intra arm passed a hardcoded TxbSet::Luma8 (the reduced_tx_set==1 alphabet, EXT_TX_SET_DTT4_IDTX, five types) for the leaf's 8x8 luma transform. With reduced_tx_set==0 libaom's av1_get_ext_tx_set_type returns EXT_TX_SET_DTT4_IDTX_1DDCT for is_inter==0 at tx_size_sqr==TX_8X8 -- seven types. Same symbol value, different narrowing: the msac range diverged at the leaf's first tx_type and desynced the rest of the tile, which is what produced the 30/30 "named refusal" attempts the r1/r2 gate logs showed. Route the set through txbset_for(8, reduced_tx_set); reduced_tx_set was already a parameter of this function. Per-TU range ladder against the instrumented aomdec on the gate's own 192x128 8-bit stream goes from a first divergence at TU 3392 (frame 2, mi 2,34) to 13986/13986 identical. Gate uv_mode_in_inter8_gate: 3/3 arms (8-bit, 10-bit, two-tile) pixel-exact on attempt 0 with all three chroma classes firing; the counted predicate is tightened to require all three on the same compared attempt.
docs(inter16ab): r5 report -- rect wedge codebooks (hgtw/hltw), 288-entry libaom enumeration, gate 16/16, film blocker moves to rect residual codingAhmet Kaan Gümüş · d2534b6Browse files
docs(uv8): r2 handoff -- 4 lane merges, and the min-8 desync localised to the first filter-intra CfL 8x8 intra leaf of an inter frameAhmet Kaan Gümüş · db5c143Browse files
debug(av1): EC_TRACE_MODE_STEP ladder lines for the 8x8 intra-in-inter leaf (use_filter_intra + modes)Ahmet Kaan Gümüş · 6670752Browse files
Merge branch 'lane-sbrect10' (9f1f108): uv_mode reads the no-CfL alphabet when the block size excludes CfLAhmet Kaan Gümüş · b6adf58
Merge branch 'lane-sbrect10' (9f1f108): uv_mode reads the no-CfL alphabet when the block size excludes CfL A 64x64 intra block inside an inter frame read uv_mode off the 14-symbol CfL-allowed alphabet; libaom's is_cfl_allowed caps CfL at 32x32, so the value matched (DC_PRED) while the interval narrowing did not and the tile desynced from that block on (class wrong-alphabet-same-value). Gated at every uv_mode read site (read_intra_mode, read_intra_mode_rect, intra-in-inter) with the NOCFL_UV_MODE_HITS counter proving the shape fired, plus the compound MV stack's global-motion tail slots. The superblock rect-strip gate's 10-bit arm runs again. Gate: a_real_aomenc_inter_frame_with_a_64x64_intra_block_reads_the_no_cfl_uv_alphabet Suite: 384 passed / 0 failed / 33 ignored.
docs(kf900): r5 suite result -- 385 passed / 0 failed / 33 ignoredAhmet Kaan Gümüş · 593f3e5Browse files
docs(intersub8): r5 report -- HORZ lifted, root cause was the merged 8x8-leaf CDEF skip bandAhmet Kaan Gümüş · 2afc992Browse files
fix(av1): drop the sub-8x8 inter refusal the merged lane-intersub8 liftedAhmet Kaan Gümüş · a9c4f35Browse files
Merge branch 'main' (aa83400) into lane-intersub8Ahmet Kaan Gümüş · b198e87
Merge branch 'main' (aa83400) into lane-intersub8 Auto-merge clean in decode.rs / stream.rs / refusal_inventory.rs / decode_probe.rs; cdf.rs is byte-identical to main's. One bsize_index and one compound_type/wedge_idx read site survive the merge, so main's inter16ab copy of the rect CDF-row fix and this lane's r4 copy did not duplicate. cargo check -p ec-av1 --all-targets is clean.
Merge 7d498c0 (lane-sqdrift) into lane-uv8: no-CFL uv alphabet for >=64 intra-in-interAhmet Kaan Gümüş · e21ece2Browse files
feat(av1): lift the sub-8x8 inter HORZ refusal (two BLOCK_8X4 leaves)Ahmet Kaan Gümüş · 4496b6d
feat(av1): lift the sub-8x8 inter HORZ refusal (two BLOCK_8X4 leaves) The |d|<=2 luma band that kept HORZ refused through r4 was the merged lane-cdef defect: the 8x8 inter leaf never wrote the CDEF skip band, so 8x8 groups next to an 8x4 pair were filtered where libaom skips them. A 56-arm sweep (7 cq x 4 sp x 2 depths, transposed source, rect on) now has zero mismatching arms; the three that were red are pixel-exact. The gate grows attempts 16..23 on the transposed source (aomenc picks HORZ below 8x8 there, VERT on the untransposed one), counts the two axes apart and asserts each fired on >=2 pixel-compared attempts, and asserts a non-square masked-compound block (new RECT_MASKED_COMPOUND_HITS) so r4's compound_type/wedge_idx CDF-row fix stops being unexercised.
Merge branch 'lane-cdef' (8c6065e): the 8x8 inter leaf writes the CDEF skip bandAhmet Kaan Gümüş · a2059e0
Merge branch 'lane-cdef' (8c6065e): the 8x8 inter leaf writes the CDEF skip band lane-cdef r1 found that decode_inter_block8's leaf path never wrote the per-8x8 skip band apply_cdef's is_8x8_block_skip reads, so an all-skip 8x8 group kept the previous frame's flags and was filtered where libaom's dlist excludes it; it also runs cdef_find_dir on the same padded block the taps read, and gives dump_stage/dump_stage16 a per-frame index. Taken here because this lane's sub-8x8 HORZ residue has exactly that shape.
fix(av1): gate the top-right mv probe on the bs>64 half of has_top_right only, and cap inter var-tx leaves per root sizeAhmet Kaan Gümüş · 76749a1
fix(av1): gate the top-right mv probe on the bs>64 half of has_top_right only, and cap inter var-tx leaves per root size The r5 wiring applied libaom's whole has_top_right, position mask included, without its three shape refinements (is_last_vertical_rect, is_first_horizontal_rect, the PARTITION_VERT_A bottom-left square). That is right for a 128 block (bs > 64 -> no candidate, the defect r5 fixed) and wrong below it: the 64-level AB, free-partition and 1:4 stream gates lost frame 16 luma. Gate on the size half only; ceiling and upgrade path named at the helper. Also: the merged var-tx leaf ceiling is per root (32 below the 128 root, 64 at it, where the mu-chunk reader codes a TX_64X64's 32x32 coded corner), and the skipped-inter internal-edge suppression is narrowed to the 128 root, the only size whose leaves are not the block.
test(av1): pin the rect-partitioned 192x128 stream whose inter frame carries a 64x64 intra blockAhmet Kaan Gümüş · 732ea3b
test(av1): pin the rect-partitioned 192x128 stream whose inter frame carries a 64x64 intra block The rect-on twin of the square-only 64x64-intra-in-inter gate: all 6 decode-order frames byte-exact against the oracle, asserting the no-CFL uv_mode alphabet fired. Ablating the <=32 is_cfl_allowed bound makes it fail, so the gate is not vacuous.
Merge af47324 (lane-intersub8) into lane-uv8: keep interp3 compound-leaf interp readAhmet Kaan Gümüş · 3009c58Browse files
docs(edgeboth): r1 report -- both-axes-cut forced SPLIT, gate 20/20 pixel-exact, suite 383/0Ahmet Kaan Gümüş · 325d290Browse files
Merge branch 'lane-sqdrift' (7d498c0) into lane-mc64: no-CFL uv_mode alphabet for 64x64 intra blocks in inter framesAhmet Kaan Gümüş · 300c046Browse files
feat(av1): non-DC chroma modes on an 8x8 intra leaf inside an inter frame (UNGATED)Ahmet Kaan Gümüş · 9e5cab1
feat(av1): non-DC chroma modes on an 8x8 intra leaf inside an inter frame (UNGATED) decode_inter_block8's intra arm now reads uv_mode over the CFL-allowed alphabet, the CfL alphas and angle_delta_uv in libaom's own order (read_intra_block_mode_info, decodemv.c:1178-1220), predicts chroma from get_uv_mode(uv_mode) with the CfL AC over the leaf's 4x4 chroma, derives the chroma tx_type from that mode, reads palette_uv only when uv_mode is DC, takes its luma/chroma edge-filter strength from the mi-exact neighbour modes instead of a hardcoded false, and stamps the mode/uv_mode neighbour bands it never wrote. New per-leaf counters intra_in_inter8_uv_hits(). The refusal string and its CAPABILITY_CLAIMS line are dropped, but the gate (stream.rs::uv_mode_in_inter8_gate, 8-bit/10-bit/2-tile arms) never observed a firing attempt: every --min-partition-size=8 inter stream refuses on an UNRELATED, pre-existing inter-frame desync (same refusals with the chroma tools switched off; the key frame of the same recipe is pixel-exact). See lanes/uv8-r1.handoff.md.
feat(av1): rectangular wedge masks (hgtw/hltw codebooks) -- COMPOUND_WEDGE and wedge-interintra on 8x16/16x8/16x32/32x16/8x32/32x8 inter blocksAhmet Kaan Gümüş · da48c91
feat(av1): rectangular wedge masks (hgtw/hltw codebooks) -- COMPOUND_WEDGE and wedge-interintra on 8x16/16x8/16x32/32x16/8x32/32x8 inter blocks wedge.rs carried only wedge_codebook_16_heqw and the one signflip row the three square sizes share, so every rectangular masked-compound or wedge-interintra block was refused by name. Ported the remaining two codebooks (wedge_codebook_16_hgtw for h>w, _hltw for h<w, reconinter.c 203-235) and the four distinct wedge_signflip_lookup rows (reconinter.c 160-183), keyed by the block's TRUE footprint. Masks are stored padded to a max(bw,bh)-square plane so the existing square prediction/blend buffers index them unchanged (a rect strip is predicted square and writes only write_w x write_h). Verification by ENUMERATION against a C harness LINKED AGAINST libaom (av1_init_wedge_masks + av1_get_contiguous_soft_mask): all 9 wedge-capable bsizes x 2 signs x 16 indices = 288 checksums, fixture lanes/wedge_libaom.expected.txt; its 96 square lines are byte-identical to the older independent transcription lanes/wedge_dump.expected.txt. New gate a_real_aomenc_stream_with_a_rectangular_compound_wedge_decodes_pixel_exact: 16/16 attempts (8+10 bit, cq 50/55, 4 pans) pixel-exact vs ffmpeg and vs aomdec over every decode-order frame, 298 rect wedge blocks (16x32=108 hgtw, 32x16=190 hltw), 0 zero-wedge mismatches. Both "the wedge codebook is square-only" refusals dropped from refusal_inventory. The 1:4 gate's VERT_4 / split-tx-8x4 arms now assert their MEASURED blocker (the rect-residual-coding refusal) instead of a bare 0.
fix(av1): per-frame stage dumps + MC trace, and re-localise the 192x128 frame-2 mismatch to a 64x64 INTRA blockAhmet Kaan Gümüş · f866759
fix(av1): per-frame stage dumps + MC trace, and re-localise the 192x128 frame-2 mismatch to a 64x64 INTRA block EC_AV1_POSTDEBLOCK_DUMP/EC_AV1_POSTCDEF_DUMP wrote .f0 for every frame, so any per-frame filter-stage bisection silently compared the last decoded frame; they are now keyed on the decode-order picture index like the prefilt dump. EC_MC_TRACE prints every mc::predict_with_filters / predict_compound_intermediate / warp_affine call with its q4 position, block size, subpel fractions and kernels, placed before the whole-pel fast path, plus EC_IB at decode_inter_block entry and is_inter/skip on EC_MODE -- an absent MC call is now visible. With that: the 192x128 8-bit stream's frame-2 luma-only mismatch at px(128,64) is a 64x64 PARTITION_NONE INTRA block in an inter frame, not the inter NEWMV block the charter described (that mv belongs to frame 1's split superblock, which is exact). Zero MC calls for the block in either decoder; chroma bit-exact, so the 64-length luma transform is the suspect. Stream pinned as a fixture because its aomenc recipe does not reproduce it.
docs(intersub8): r4 report -- rect masked-compound CDF row root-caused, HORZ still refused on a post-entropy pixel bandAhmet Kaan Gümüş · 781507aBrowse files
fix(av1): rect masked compound read the SQUARE envelope's compound_type/wedge_idx CDF rowAhmet Kaan Gümüş · f750870
fix(av1): rect masked compound read the SQUARE envelope's compound_type/wedge_idx CDF row A 16x8 (or any non-square) compound block with comp_group_idx==1 read BLOCK_16X16's compound_type_cdf/wedge_idx_cdf row instead of BLOCK_16X8's, because decode_inter_block indexed those tables by its square `side` argument rather than the block's true (write_w, write_h) footprint -- class table-indexed-by-raw-size. The same square envelope also decided is_any_masked_compound_used, so a 4x16/16x4 strip would read a comp_group_idx symbol libaom never writes. Root cause proven by range ladder on a 192x128 6-frame 8-bit AV1 stream (transposed-structure geq source, cq14, rect partitions on): entering the 16x8 block both decoders are at rng 46505, agree through the mv (58288), and after the fix agree at the end of mode info (61760) and at the next block (60694); that stream now decodes pixel-exact on every decode-order frame, where before it drifted from decode-order frame 5. Also: a COMPOUND_WEDGE mask on a non-square block is refused by name (the wedge codebook here is built per square side only), and EC_TRACE_MODE gains EC_CGI / EC_CIDX / EC_IF rungs (comp_group_idx, compound_idx, interp filter: ctx + value + range) -- the rungs that localized this. The sub-8x8 HORZ (two BLOCK_8X4) refusal STAYS: with the fix, 3 of 28 sweep arms still differ by |d| <= 2 in luma only, in the bottom-left corner, with an element-exact entropy ladder -- a post-entropy filter/reconstruction defect. EC_AV1_SUB8_HORZ=1 decodes it for that bisect.
docs(intra14): r3 report -- the r2 blocker was our own desync, suite 382/0/35Ahmet Kaan Gümüş · e112161Browse files
docs(intrasplit): r2 handoff -- merge state, firing-but-red 10-bit gate, pinned stream, next ladder stepAhmet Kaan Gümüş · fd8e31aBrowse files
docs(intrasplit): r2 suite totals 385/3 -- 2 own gate arms plus a merged inter16ab 1:4 gate that only goes red on the r14+inter16ab cross-productAhmet Kaan Gümüş · c30dbf2Browse files
docs(kf900): r5 report -- rect strips never read use_intrabc, ladder proof, gate, 3 deferred residuesAhmet Kaan Gümüş · c542306Browse files
Merge branch 'lane-inter16ab' (af7de9f): 16x16-level inter AB partitionsAhmet Kaan Gümüş · 5e512e0
Merge branch 'lane-inter16ab' (af7de9f): 16x16-level inter AB partitions The inter path codes HORZ_A/HORZ_B/VERT_A/VERT_B at the 16x16 level through the inter_leaf8! macro (two 8x8 inter leaves plus one 16x8/8x16 strip), so the old refusal narrows to the 1:4 pair (HORZ_4/VERT_4), which still needs the sub-8 inter chroma-pair path. Merged alongside lane-r14's rectangular var-tx leaves; the only conflict was the decode_probe counter block, kept both. Gate: a_real_aomenc_inter_sequence_with_16x16_level_ab_partitions_decodes_pixel_exact Suite: 383 passed / 0 failed / 33 ignored.
fix(av1): rect intra strips never read use_intrabc -- every screen-content key frame desynced at its first symbolAhmet Kaan Gümüş · 0bdf223
fix(av1): rect intra strips never read use_intrabc -- every screen-content key frame desynced at its first symbol av1_allow_intrabc is a FRAME-level test (libaom decodemv.c:892, read_intra_frame_mode_info): on an intra frame whose header sets allow_intrabc, every intra block reads a use_intrabc symbol right after skip/cdef/delta_q and before mbmi->mode. There is no block-shape term, but read_intra_mode_rect -- the reader for every HORZ/VERT/1:4 rect strip -- never read it, so the arithmetic decoder desynced at the FIRST mode symbol of the first rect block of any --tune-content=screen key frame. Measured on an 8-bit 256x192 aomenc key frame (cq59, cpu-used 0, rect + 1:4 partitions, tune-content=screen): the decode reported OK and all 49152 luma samples differed from ffmpeg's. Cross-decoder range ladder: entry rng 32874 identical, our y-mode read gave 62696, the oracle 58628 -- exactly the value obtained by consuming one default intrabc symbol (rng 30694, normalised 61388) before the kf_y_mode read. The flag is now consumed in read_intra_mode_rect, taking allow_intrabc from the per-frame INTRABC_MI_GRID (Some only when the header set it), so no new plumbing. Reconstruction of an intrabc block at a rect shape is not ported, so a firing symbol refuses by name (inventory 45 -> 46). Gate: a_real_aomenc_screen_key_frame_reads_use_intrabc_on_rect_strips (3 real-aomenc 8-bit arms) -- 147 rect-strip use_intrabc symbols read, 1 named refusal, 1 frame compared pixel-exact.
docs(cdef): r2 report -- merge resolutions, the chroma residue was loop restoration, gate un-ignoredAhmet Kaan Gümüş · 27fb0f6Browse files
test(av1): the frame-edge straddling-band gate is green -- un-ignored, with a straddling-CDEF-unit counter and multi-tile armsAhmet Kaan Gümüş · 827ee1d
test(av1): the frame-edge straddling-band gate is green -- un-ignored, with a straddling-CDEF-unit counter and multi-tile arms The 68x192 / 192x68 straddling band (a frame axis that is not a multiple of 8) now decodes pixel-exact on Y, U and V for all 5 frames, 8- and 10-bit: the luma half was this lane's r1 CDEF direction-search fix (libaom searches over cdef_prepare_fb's padded buffer, CDEF_VERY_LARGE past the MI-ROUNDED extent -- cdef.c:164-167 hsize/vsize and the frame_boundary[RIGHT] fill at cdef.c:249-256 -- not the last real sample at the crop), the chroma half was lane-golomb r8's crop-sized loop-restoration planes and reference-size test, merged in this round. * decode.rs: new CDEF_STRADDLE_UNITS counter -- a FILTERED 8x8 CDEF unit whose extent crosses the cropped frame edge, i.e. exactly the units for which clamping and CDEF_VERY_LARGE padding differ. apply_cdef takes the header's cropped size for it. * stream.rs: a_frame_edge_straddling_band_decodes_pixel_exact un-ignored, hard-asserts that counter grew (337 units over 14 compared attempts), and gains a --tile-columns=1 twin of each arm. All 32 multi-tile attempts refuse by name today (census in the doc comment) -- that half compares nothing yet.
fix(av1): a partition node the true frame edge cuts on BOTH axes is a forced SPLIT with no symbol, at the 16 level tooAhmet Kaan Gümüş · f3c311a
fix(av1): a partition node the true frame edge cuts on BOTH axes is a forced SPLIT with no symbol, at the 16 level too libaom `decode_partition` reads no partition symbol at all when `!has_rows && !has_cols` (`else if (!has_rows && !has_cols) partition = PARTITION_SPLIT;`) and then drops the out-of-frame children on its `if (mi_row >= mi_rows || mi_col >= mi_cols) return;` early return, so no neighbour or tx-grid write happens for them. The 128/64/32 levels already inferred that split; the 16 level refused by name on both the intra and the inter path, which made every frame whose width AND height are 8 mod 16 (200x72, 136x104, 264x136, 72x200, 104x136) undecodable -- the bottom-right 16x16 is cut on both axes there. The existing SPLIT leaf loop at that level already filters its four 8x8 children by `mr < mi_rows && mc < mi_cols`, i.e. libaom's own early return, so the lift is the forced value plus a per-level hit counter (EDGE_BOTH_CUT_HITS, [16,32,64,128]) proving the case fires. GATE a_real_aomenc_both_axes_cut_corner_block_decodes_pixel_exact: real aomenc, 5 both-cut frame sizes x 8/10-bit x cq 32/45, every frame compared against ffmpeg: 20/20 attempts pixel-exact, out_of_scope_mismatch=0, both-cut hits [16,32,64,128]=[20,20,12,0], 0 refusals. The inter half of the same sweep is a second, #[ignore]d gate: measured, its corner block decodes exactly (200x72 luma diff bbox rows 64..=71 cols 15..=186, corner cols 192..=199 clean) but the bottom 8-row one-axis frame-edge BAND of an inter frame is wrong, and the control 192x72 -- zero both-cut nodes, hits [0,0,0,0] -- mismatches identically, so that band defect is lane-oddh's inter half-strip arm, not this lift.
docs(inter16ab): r4 report -- 8x4 inter leaf tables, side-keyed CDF row sweep, frame-aware 1:4 recipe measurement, rect wedge is the blockerAhmet Kaan Gümüş · 90877dcBrowse files
Merge lane-golomb 173b793 into lane-cdefAhmet Kaan Gümüş · 6f7bda6
Merge lane-golomb 173b793 into lane-cdef Conflicts, both in decode.rs: * dump_stage's per-decode-order-frame index: both lanes added one. Kept this lane's shared dump_stage_idx() helper (dump_stage16 uses it too) and dropped lane-golomb's duplicate thread_local counter. * the var-tx leaf loop: took main's general (row, col, tw, th) rect leaves and lane-golomb's fill_lf_grid_leaf_luma writer, so a rectangular leaf still overrides LUMA tx dims only -- routing it through fill_lf_grid_rect would recompute the chroma dims from the leaf span (libaom get_transform_size applies the split override for AOM_PLANE_Y only). cdf.rs byte-identical across main, lane-golomb and this tree.
feat(av1): sub-8x8 inter PARTITION_VERT (two BLOCK_4X8 leaves); HORZ twin implemented but refusedAhmet Kaan Gümüş · 60b3ba2
feat(av1): sub-8x8 inter PARTITION_VERT (two BLOCK_4X8 leaves); HORZ twin implemented but refused
decode_inter_sub8_rect2 codes both rectangular sub-8x8 inter shapes: per-sub-block mode info
in decodemv.c order (single ref only -- is_comp_ref_allowed(BLOCK_8X4) false, so no skip_mode
and no comp_mode; no interintra/motion_mode/OBMC/warp below min dim 8), one txfm_partition
symbol at max TX_8X4/TX_4X8 through r14's general read_var_tx_size, chroma coded once on the
chroma-reference (second) sub-block as one TX_4X4 per plane with sub8x8 prediction from BOTH
sub-blocks' mvs (reconinter.c build_inter_predictors_sub8x8), and per-mi neighbour/mv-grid
writes over the true w_mi x h_mi span.
New luma coefficient sets TxbSet::LumaRect8x4Inter{,Set1}: LumaRect4x8's tables (8x8
coefficient class, 32-position eob_pt) with the inter TX_4X4 tx_type row (EXT_TX_SET_ALL16).
These also close the panic risk lane-inter16ab r3 noted, where a TX_16X4 -> TX_8X4 var-tx
split reached rect_inter_luma_set's unreachable!().
Gate: a_real_aomenc_inter_sequence_with_a_sub8x8_inter_split_decodes_pixel_exact now runs 16
attempts per bit depth -- 0..7 with --enable-rect-partitions=0 (SPLIT, unchanged) and 8..15
with =1 (VERT) -- and asserts a new rect_fired >= 2 alongside fired >= 2 and
out_of_scope_mismatch == 0, comparing every decode-order frame Y/U/V at 8 and 10 bit.
The HORZ (two BLOCK_8X4) arm is refused by name rather than shipped: a 28-arm sweep on a
transposed-structure source mismatches on 4 arms at cq 12/14/16/32, outside the known CDEF
band. Range ladder on one of them localizes the divergence to the mode info of the 16x8 inter
block immediately to the group's right -- matching through its EC_MODE entry, differing by its
first coefficient TU -- i.e. a per-row neighbour band the group leaves behind. Details in
lanes/intersub8-r3.handoff.md.Merge main 727f29a (lane-r14, lane-kf1200, lane-reelckf) into lane-cdefAhmet Kaan Gümüş · 9c20172
Merge main 727f29a (lane-r14, lane-kf1200, lane-reelckf) into lane-cdef No conflicts; cdf.rs untouched by either side.