Commits
Commits on
ec4f10e671ffcc0a2ed0bc4b59f9e682e47788fd2026-09-08
feat(av1): retain a second past leaf picture and offer it as LAST2 (off by default)Ahmet Kaan Gümüş · ec4f10eBrowse 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
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.
feat(av1): reduced_tx_set=0 -- the wider tx_type alphabets, off by defaultAhmet Kaan Gümüş · e6bf936
feat(av1): reduced_tx_set=0 -- the wider tx_type alphabets, off by default The writer reads the frame's own header bit in ONE place (Cdfs::txb widens every luma set through TxbSet::wide, transcribed from the decoder's map), the search names the widened set so its pricer costs the same alphabet, and the candidate lists gain the seven-type intra set and the shared seven of the twelve/sixteen-type inter ones. speed::WIDE_TX_SET is false at every preset (EC_AV1_TXSET_WIDE overrides), and EC_AV1_TXSET=all lifts the intra search's screen gate for the unconditional arm the gate measures.
report(av1): the LAST2 census and the frame interpolation filter tablesAhmet Kaan Gümüş · 6a21052Browse files
docs(refs): the LAST2 census table and the SMOOTH arm on the 12-frame gateAhmet Kaan Gümüş · 56cd82eBrowse files
test(av1): the frame interpolation filter reaches the pixels, all three kernels ffmpeg-exactAhmet Kaan Gümüş · 06bd77fBrowse files
Merge branch 'lane-txrd' (48fcabf8): an inter block's chroma transform type is derived from the luma type; the encoder now re-codes chroma at the inherited typeAhmet Kaan Gümüş · c29f173
Merge branch 'lane-txrd' (48fcabf8): an inter block's chroma transform type is derived from the luma type; the encoder now re-codes chroma at the inherited type The 20-point bars collapse under an unconditional tx_type search was chroma quantised under DCT while the decoder inverted at the inherited type (V 52.5 -> 45.5 dB); the gate ranks on Y+U+V so it read as luma. Classes: metric blind to a plane; table and reader move together. The unconditional inter search is still 0.4-1.0 short on bars, so it stays screen-gated; screen +20.1/-30.4 -> +19.8/-30.5.
docs(txrd): the 12-frame gate table before and after the chroma fix, invariants, instrumentsAhmet Kaan Gümüş · b167492Browse files
instrument(av1): a LAST2 SAD census and a frame-level interpolation filter knobAhmet Kaan Gümüş · 012b9fc
instrument(av1): a LAST2 SAD census and a frame-level interpolation filter knob The census answers whether a second retained past reference is worth its slot bookkeeping and its second motion search before either is built; the filter knob makes the frame's kernel reach the search, the trials and the trial decode through FrameCtx instead of a hardwired Regular in mc::predict.
Merge branch 'lane-obmc3' (a5ab7ceb): OBMC re-measured on real film and rejected (doc); libaom codes a fixed interp filter on film B, so no per-block filter search; LAST2/LAST3 alias LAST's DPB slot (report)Ahmet Kaan Gümüş · 606d0d9Browse files
measure(av1): OBMC on the real film rows and at the long GOP, and the interp-filter censusAhmet Kaan Gümüş · 6a9a0fc
measure(av1): OBMC on the real film rows and at the long GOP, and the interp-filter census OBMC had only ever been judged on the colour-bars fixtures. On the real rows it reads +21.7/-4.3 (film A) and +27.2/-0.3 (film B) at min side 8 against the control's +21.7/-4.4 and +26.9/-0.6, min side 16 trades 0.2 on film A for 0.7 on film B, and at the long GOP it is +89.6/+9.0 against +89.8/+9.1 for +7.7% wall. Nothing meets the keep rule; the tool stays off. The interp filter: a libaom cpu-used 6 stream of the same long-GOP film B window codes switchable_interp 0/0 in every frame, so no per-block filter bits are at stake and the switchable search is not built.
2026-09-07
docs(txrd): the chroma-inherits-luma-tx_type finding and the three refuted hypothesesAhmet Kaan Gümüş · 7971d34Browse files
fix(av1): an inter block's chroma inherits its luma transform typeAhmet Kaan Gümüş · 25e26f3
fix(av1): an inter block's chroma inherits its luma transform type The decoder derives an inter block's chroma tx_type from the luma type at the block's chroma-reference position (spec 5.11.40, libaom av1_get_tx_type / reduce_inherited_chroma_tx_type); the encoder quantised chroma under a DCT_DCT basis whatever the luma type search chose, so every non-DCT luma winner had its chroma levels inverse-transformed on a basis they were never produced for. Instrumented on the bars 1080p gate row at q=60, unconditional inter type search: luma 53.66 -> 53.70 dB (the search's own win, real), U 51.97 -> 49.15, V 52.52 -> 45.53. Pre-filter frame luma sse is lower on every frame in the arm, so neither the RDOQ distortion model, the type rate term (EC_AV1_TXRD_LAMBDA=0 reproduces the collapse) nor the typed forward gain (measured 0.98-1.03 of unity for every type and size) was the cause. Adds EC_AV1_TXRD_LAMBDA / EC_AV1_TXRD_CENSUS and the per-frame / per-plane / pre- and post-filter gate instruments the diagnosis needed.
Merge branch 'lane-dq3' (d5070a60): per-superblock delta_q on at presets 5 and 6 behind the screen gate; both films improve on both columns, screen byte-identicalAhmet Kaan Gümüş · 9e3436cBrowse files
feat(av1): per-superblock delta_q on at presets 5 and 6, gated off screen contentAhmet Kaan Gümüş · e6bd6d8
feat(av1): per-superblock delta_q on at presets 5 and 6, gated off screen content lane-deltaq measured the whole mapping sweep flat because the tpl lookahead was one picture; with the window back the map is real. 12-frame bd_rate_screen_native, BD vs libaom / vs rav1e, off -> on: preset 6: film A +27.2/-0.2 -> +26.6/-0.4, film B +35.2/+6.6 -> +34.7/+6.4 preset 5: film A +26.6/-0.7 -> +25.8/-1.1, film B +33.3/+4.9 -> +32.8/+4.6 preset 4: film B +29.9/+2.0 -> +30.2/+2.6 -- rejected The desktop capture was the only row delta_q cost, so the map is gated on !allow_screen_content_tools, the content gate b64_residual/b64_compound take: its four q points code the identical byte counts on and off.
Merge branch 'lane-txset2' (4b758da8): the inter luma tx_type search (IDTX vs DCT), screen-gated; unconditional it loses 2 dB on the bars rows at equal bytes, which points at the type search's pricingAhmet Kaan Gümüş · f1e6120Browse files
docs(txset2): invariants, the long-GOP row at the shipped state, suite totalsAhmet Kaan Gümüş · afa077eBrowse files
Merge branch 'lane-dq2' (8bc9fb13): delta_q re-measured with the tpl window: a film win at preset 6 on both gates, blocked by the screen row; long-GOP tpl depth flat at preset 0 (report only)Ahmet Kaan Gümüş · 2b123fbBrowse files
test(av1): lane-dq2 invariants -- suite 567/45, no comp mismatch, pins unchangedAhmet Kaan Gümüş · c436b53Browse files
measure(av1): long-GOP delta_q at preset 6 -- both films improve again; nothing ships, deferred listAhmet Kaan Gümüş · 1cb94d7Browse files
docs(txset2): step 1's second round, the shipped screen gate, and step 2's scopeAhmet Kaan Gümüş · 6587882Browse files
feat(av1): the inter transform-type search ships SCREEN-GATED at presets 0-6Ahmet Kaan Gümüş · 63f401a
feat(av1): the inter transform-type search ships SCREEN-GATED at presets 0-6 Unconditional it loses twenty BD points on both synthetic bars rows of the 12-frame gate (and 0.3 on film B) while winning 0.7/0.3 on the capture; the le16 restriction does not soften the bars loss. Behind the screen content gate every non-screen frame is byte-identical to the encoder before the lane, pins included, and the capture keeps its 0.7/0.3.
measure(av1): long-GOP tpl depth 8 vs 4 at preset 0 -- identical on both film rowsAhmet Kaan Gümüş · f2a7572Browse files
test(av1): the typed round trip covers 32x32 (IDTX); an le16 arm for the inter searchAhmet Kaan Gümüş · 5c1d094
test(av1): the typed round trip covers 32x32 (IDTX); an le16 arm for the inter search The unconditional inter arm loses 20+ BD points on both synthetic bars rows of the 12-frame gate while film A gains 0.2; libaom's own census never codes IDTX at 32x32, so EC_AV1_TXSET_INTER=le16 offers the two-type set at 16x16 and below only.
feat(av1): the inter luma transform-type search (IDTX vs DCT_DCT), off by defaultAhmet Kaan Gümüş · 044aeb2
feat(av1): the inter luma transform-type search (IDTX vs DCT_DCT), off by default The writer has coded a two-symbol tx_type for every inter luma transform unit at 32x32 and below since the inter coefficient tables landed, and always named DCT_DCT. commit_inter_luma now prices both members of TX_SET_INTER_3 for the whole-block residual and for each var-tx split unit, by the same sse + lambda * bits rule the intra search uses, and the winners reach the writer through BlockCoeffs::luma_tx_types. Off at every preset (speed::TX_TYPE_SEARCH_INTER) until the gate says otherwise; EC_AV1_TXSET_INTER turns it on.
measure(av1): delta_q at preset 6 -- both films improve on both columns, screen +0.5 fails the ruleAhmet Kaan Gümüş · 233525aBrowse files
Merge branch 'lane-txset' (cdb209a0): the luma transform-type search (intra 5-type reduced set), screen-gated; forward kernels for all 16 types; the writer had coded one type everywhereAhmet Kaan Gümüş · 5b25319
Merge branch 'lane-txset' (cdb209a0): the luma transform-type search (intra 5-type reduced set), screen-gated; forward kernels for all 16 types; the writer had coded one type everywhere Screen capture +27.8/-26.0 -> +20.8/-30.1; the film rows lose unconditionally (local RD on references), so the search is gated on screen content and the film rows stay byte-identical. Pins unchanged.
measure(av1): delta_q at preset 3 with the tpl window back -- rejected (film B +0.6/+0.7, screen +0.4)Ahmet Kaan Gümüş · b3a613fBrowse files
docs(txset): long-GOP row at the shipped state and the suite totalsAhmet Kaan Gümüş · cf5dfd3Browse files
Merge branch 'lane-tplwin' (0b5148d9): the tpl lookahead window ships 8 at presets 0..2, 4 at 3..6, 1 above; the map was inert at every preset above 0Ahmet Kaan Gümüş · f1f811cBrowse files