Commits
Commits on
4a5d8ea8762f44e509cc683d3deb5c76c77dfc982026-09-08
Merge branch 'lane-seg2' (291453c1): the sub-8x8 intra reader never read intra_segment_id and stamped a 1x1 mi footprint; film B under libaom adaptive quantization decodes exact at every ladder pointAhmet Kaan Gümüş · 4a5d8eaBrowse files
Merge branch 'lane-pareto2' (4142f563): the preset ladder re-priced on the RDOQ tree; preset 6 keeps the extra-reference NEWMV search and the full coefficient breakout; the native gate prices rav1e/libaom/SVT-AV1 at their fast presetsAhmet Kaan Gümüş · 03046ceBrowse files
test(av1): witness -- a segmented key frame with sub-8x8 intra leavesAhmet Kaan Gümüş · 6c9362cBrowse files
fix(av1): a sub-8x8 intra leaf stamps its own mi footprint, not 1x1Ahmet Kaan Gümüş · 120e018
fix(av1): a sub-8x8 intra leaf stamps its own mi footprint, not 1x1 An 8x4/4x8 leaf goes through the same reader as a BLOCK_4X4 split leaf; a 1x1 segment stamp left its second mi cell at segment 0, which a later block read back as the spatial prediction and cdf_index. Adds the EC_SEG / EC_SEGHDR / sub8 EC_ISTEP traces the diff was found with.
Merge branch 'lane-golomb2' (6675a24b): the straddle gate generates its segmented streams by recipe and asserts the block-q span; the Golomb reader bound is libaom's to the bit, comments correctedAhmet Kaan Gümüş · 778c3d3Browse files
fix(av1): a BLOCK_4X4 intra leaf never read its own segment_idAhmet Kaan Gümüş · 96c590f
fix(av1): a BLOCK_4X4 intra leaf never read its own segment_id read_intra_mode_sub8 skipped spec 5.11.6's intra_segment_id entirely, so on a segmented key frame the first sub-8x8 split ate the segment_id symbol's place in the tile (msac desync from that block on) and every 4x4 leaf dequantized with the previous block's SEG_LVL_ALT_Q.
docs(lanes): lane-pareto2 -- reproducible recipe for the SVT-AV1 preset-8 screen point our decoder reads one sample offAhmet Kaan Gümüş · 5f9ef35Browse files
Merge branch 'lane-last2' (9a8e50dd): a second past reference (LAST2) for the leaf chain, witnessed, refuted on both films in both arms, ships off; the pins test encodes at the default preset whatever EC_AV1_SPEED saysAhmet Kaan Gümüş · 5113966Browse files
docs(av1): read_golomb's cap IS libaom's (decodetxb.c:30), so the refusal is a desync symptom, never a reader gapAhmet Kaan Gümüş · 6be36b1
docs(av1): read_golomb's cap IS libaom's (decodetxb.c:30), so the refusal is a desync symptom, never a reader gap Corrects two comments that invited widening the bound, and records the lane.
docs(lanes): lane-pareto2 measurement log -- the Pareto table, the preset-6 lever re-price, what was not measurableAhmet Kaan Gümüş · 0e781dcBrowse files
test(av1): the stream pins are default-preset pins -- encode at speed 0 whatever EC_AV1_SPEED saysAhmet Kaan Gümüş · a50740a
test(av1): the stream pins are default-preset pins -- encode at speed 0 whatever EC_AV1_SPEED says Also: the search-free arm's screen row (byte-identical to the control, LAST2 never fires on the capture).
perf(av1): preset 6 keeps the extra-reference NEWMV search and the full coefficient breakoutAhmet Kaan Gümüş · 73765f0
perf(av1): preset 6 keeps the extra-reference NEWMV search and the full coefficient breakout The ladder was composed off a lever table measured BEFORE RDOQ. Re-priced at preset 6 on the 12-frame film A row of bd_rate_screen_native, this head, the two levers it dropped there are the two cheapest BD points in the table: extra-reference NEWMV buys 2.0 points (+26.6/-0.4 -> +24.4/-2.4) for +15..30% wall and the coefficient breakout 1.2 points (-> +24.8/-1.6) for +11%, i.e. 0.067 and 0.109 points per 1% wall against a frontier of 0.031..0.041. Shipped together, preset 6 reads +23.0/-3.2 film A, +30.7/+3.0 film B, +23.2/-28.5 screen for +27% wall on three serial arms -- and it is now PAST rav1e speed 6 on film A and on the capture. Presets 4 and 5 take both levers by bracketing; 0, 3, 8 and 10 are untouched. The module doc carries the whole re-measured Pareto table, the references at their fast presets and the per-lever re-price.
Merge branch 'lane-txw' (832daabb): the tile writer coded every transform unit as TX_CLASS_2D; V_DCT/H_DCT now take the 1-D class scan, eob row and contexts; wide intra tx set ships screen-gatedAhmet Kaan Gümüş · 08bb725Browse files
docs(txw): the film arm -- the header bit alone moves bytes, which is why the lever is screen-gatedAhmet Kaan Gümüş · 443d56bBrowse files
test(av1): the straddle gate's SEG_LVL_ALT_Q rows are generated by recipe, not two uncommittable film cropsAhmet Kaan Gümüş · 29e03fe
test(av1): the straddle gate's SEG_LVL_ALT_Q rows are generated by recipe, not two uncommittable film crops The two pinned .obu files were crops of a real film in the gitignored shared fixtures dir, so the half of the gate that actually saw the rect dequant defect SKIPped on every fresh clone. Replaced by a synthetic lavfi source -- half flat grey, half heavy noise -- encoded by libaom -aq-mode 1, whose activity segmentation gives segments with distinct quantizers; the new decode::block_q_span() counter asserts that property so the row cannot go blind. Sensitivity re-measured: with e4cab216's six sites reverted the recipe row fails at 384x152 crf 20, frame 0 plane U (160,64), 126 vs 123.
docs(txw): the split suite totals, the invariants and the witness at the final treeAhmet Kaan Gümüş · 3329cf4Browse files
docs(last2): the search-free arm, the fire-share census, the decision (LAST2 ships off) and the handoverAhmet Kaan Gümüş · 707505aBrowse files
test(av1): the native BD gate can price the references at their fast presetsAhmet Kaan Gümüş · fc10b78
test(av1): the native BD gate can price the references at their fast presets EC_AV1_PARETO_REFS=1 runs rav1e speed 8/10, libaom cpu-used 8 and (when the ffmpeg has it) SVT-AV1 preset 8/10 through the SAME arm as the row above, so the Pareto table's wall column is comparable. A reference point our decoder cannot read is a NOTE on these rows, not a gate failure; the two ladders the keep table is read off keep their teeth.
feat(av1): EC_AV1_LAST2_NEW -- the search-free LAST2 arm; native gate prints the reference censusAhmet Kaan Gümüş · bcfe7e8
feat(av1): EC_AV1_LAST2_NEW -- the search-free LAST2 arm; native gate prints the reference census
Merge branch 'lane-d792' (2fb5e976): six rectangular dequant sites used the frame q index instead of the block's (segment ALT_Q); all 27 dequant sites take the block index nowAhmet Kaan Gümüş · df5d11d
Merge branch 'lane-d792' (2fb5e976): six rectangular dequant sites used the frame q index instead of the block's (segment ALT_Q); all 27 dequant sites take the block index now Class: parsed then discarded. Only frame edges force rectangular partitions in the references' streams, so it read as a bottom-straddle defect; the 1920x792 reference ladder decodes 8/8 exact.
docs(d792): the 1920x792 arm result (8 of 9 reference-decode failures fixed), the suite, and the remaining crf-5 Golomb debtAhmet Kaan Gümüş · 7da7734Browse files
docs(last2): the slot map, the ARF stale premise, the witness tableAhmet Kaan Gümüş · 9563c9fBrowse files
test(av1): the LAST2 witness -- alternating textures, 36 blocks off LAST2, exact through both decodersAhmet Kaan Gümüş · ddabc81Browse files
feat(av1): retain a second past leaf picture and offer it as LAST2 (off by default)Ahmet Kaan Gümüş · ec4f10eBrowse files
fix(av1): RDOQ walked the 2D zigzag's tail on a 1-D transform unitAhmet Kaan Gümüş · fd6f585
fix(av1): RDOQ walked the 2D zigzag's tail on a 1-D transform unit Every candidate was already priced through the class-aware writer, so no decision was wrong; but the pass spends its budget from the tail of the scan backwards, and for a V_DCT/H_DCT unit the tail of the 2D zigzag is not the tail of the Mrow/Mcol scan its eob is measured in. It now walks the unit's own scan.
docs(d792): the gate's blindness check and the verification tableAhmet Kaan Gümüş · b9e86ceBrowse files
test(av1): a straddling-frame gate on both reference encoders' ladders, with two pinned rav1e streams the defect actually reproduces onAhmet Kaan Gümüş · 7ba3facBrowse files
fix(av1 decoder): dequantize a rectangular intra transform unit with the block's segment quantizer, not the frame'sAhmet Kaan Gümüş · cd170cb
fix(av1 decoder): dequantize a rectangular intra transform unit with the block's segment quantizer, not the frame's The rect intra paths passed FrameCtx::current_q_idx where every square path passes block_q_idx, so a block in a segment carrying SEG_LVL_ALT_Q was dequantized with the frame's own index. Only a frame edge forces rectangular partitions in the reference encoders' streams, so this showed up as a bottom-straddle-only mismatch: the whole 1920x792 reference ladder (libaom and rav1e, 8 points) now decodes sample-exact against ffmpeg, as does a 384x152 straddle repro.
docs(txw): the root cause, the class sweep, the witness and the deferred inter halfAhmet Kaan Gümüş · 1f7f6f0Browse files
Merge branch 'lane-refs' (904af5ee): the frame interpolation filter is a real knob (mc::predict had hard-wired REGULAR), default byte-identical; the LAST2 censusAhmet Kaan Gümüş · f1b38e0
Merge branch 'lane-refs' (904af5ee): the frame interpolation filter is a real knob (mc::predict had hard-wired REGULAR), default byte-identical; the LAST2 census SMOOTH/SHARP refuted as frame defaults. A second past reference would remove 7-10% of prediction SAD on both films at both levels (LAST2/LAST3 alias LAST's DPB slot today; slot 7 is free) -- built as its own lane.
docs(refs): the LAST2 build charter -- slot plan, seeded second search, per-level offerAhmet Kaan Gümüş · a051b8bBrowse files
docs(refs): the split suite totals, the invariant table and the unchanged pinsAhmet Kaan Gümüş · d381213Browse files
lane-d792: narrow the straddle defect to the dequant step (prediction, levels, scan, tx type and the 16x8 kernel all pinned equal) and land the instrumentsAhmet Kaan Gümüş · 4caf191Browse files
lane-d792: reproduce the 1920x792 reference-ladder failures standalone and bisect them to reconstructionAhmet Kaan Gümüş · a0387ecBrowse files
fix(av1): the tile writer coded every transform unit as TX_CLASS_2DAhmet Kaan Gümüş · ae80b33
fix(av1): the tile writer coded every transform unit as TX_CLASS_2D A V_DCT/H_DCT unit is TX_CLASS_VERT/TX_CLASS_HORIZ for the decoder: its own Mrow/Mcol scan, its own eob_pt row (eob_pt_class1) and its own nz-map/base-range context offsets. The writer had none of that, so the first 1-D type any search offered -- the wider reduced_tx_set = 0 alphabets -- desynced the tile from the encoder's own trial decode, surfacing as "a reference frame selected with no picture at this frame's own ref_frame_idx slot" (class refusal-from-own-desync). write_coeffs now resolves the class off tx_type exactly as decode::TxClass::of does, and takes the class scan, the class-1 eob row and class-aware base_ctx/br_ctx from it; the pricer goes through the same function, so a priced type is priced in its own alphabet and class. The wide-alphabet witness is un-ignored: preset 0 codes 1820 V_DCT and 2435 H_DCT intra units and both decoders read the clip sample-exact.
Merge branch 'lane-txi' (1a5427d2): the wider transform alphabets (reduced_tx_set=0) wired off; a non-DCT rate surcharge; the trial decode had hard-coded reduced_tx_setAhmet Kaan Gümüş · 15ab38b
Merge branch 'lane-txi' (1a5427d2): the wider transform alphabets (reduced_tx_set=0) wired off; a non-DCT rate surcharge; the trial decode had hard-coded reduced_tx_set The unconditional intra type search is a rate loss (+1.3% bytes for +0.03 dB on every plane), not propagation; the surcharge neutralises but never wins, so the search stays screen-gated. With the wide alphabet and the seven-type intra search the encoder's own trial decode desyncs (open, EC_AV1_REFPROBE=1 repro).
Merge branch 'lane-corner' (930b0aa2): the whole-64 root guards on unaligned frames are lifted; the chartered chroma desync was a stale premiseAhmet Kaan Gümüş · 0915e53
Merge branch 'lane-corner' (930b0aa2): the whole-64 root guards on unaligned frames are lifted; the chartered chroma desync was a stale premise At 248x152 the corner superblock fails has_rows, so the block the guard forbade was never legal; four doubly-cut sizes are Y/U/V exact three ways. 1920x792 film A -1.0% bytes. The reference-decode assertion is red on the 1920x792 crop (libaom crf 5 Golomb tail, rav1e +-1): a decoder lane follows.
docs(txi): the 0.5x arm closes the surcharge sweep -- monotone in the weightAhmet Kaan Gümüş · 62f5442Browse files
docs(corner): the three-way verdict, the lifted guards and the 1920x792 before/afterAhmet Kaan Gümüş · 96980ebBrowse files
docs(txi): the surcharge sweep, invariants, and the lane's dispositionsAhmet Kaan Gümüş · 4f81256Browse files
docs(txi): the per-plane instrument, the surcharge, and the reduced_tx_set=0 blockerAhmet Kaan Gümüş · f36c793
docs(txi): the per-plane instrument, the surcharge, and the reduced_tx_set=0 blocker Also: the encoder's own trial decode of an inter frame read the tile back under a hardcoded reduced_tx_set=true instead of the frame's own bit, and EC_AV1_REFPROBE=1 names the reference slot a desynced trial decode lands on.
feat(av1): the intra half of reduced_tx_set=0, and a rate surcharge on a non-DCT typeAhmet Kaan Gümüş · 7a1492f
feat(av1): the intra half of reduced_tx_set=0, and a rate surcharge on a non-DCT type The search names the widened luma set for INTRA units only: with the wider inter candidates priced some block's winner selects a DPB slot this encoder holds no picture in (the refs lane's bookkeeping), which bisection pins to the inter half alone. EC_AV1_TXRD_LAMBDA now also charges the intra type decision: the 12-frame instrument says the five-type search buys 0.04 dB for 1.2% more bytes on film A on every frame and every plane, key frame included, so the loss is the rate term and not propagation into the leaves.
fix(av1): the key frame's 64x64 intra root at a superblock the frame edge cutsAhmet Kaan Gümüş · 3603580
fix(av1): the key frame's 64x64 intra root at a superblock the frame edge cuts The root shipped behind two guards written from a desync report that does not reproduce: the frame had to be a whole number of superblocks, and the superblock wholly inside it. The first switched the whole feature off on any arbitrary export size. Legality is now the spec's has_cols/has_rows pair, the same the inter root and the tile writer already use, and the new stream::tests::a_doubly_cut_superblock_root_round_trips_in_every_plane pins Y, U and V of the reconstruction, our decoder and ffmpeg at four straddling sizes (three cut on both axes), asserting the edge fire count first.