Commits
Commits on
63f401a2f3a62278f75b019ceb7a6deeb3fea9052026-09-07
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.
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.
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.
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
test(av1): lane-tplwin invariants, suite totals and the deferred listAhmet Kaan Gümüş · 559c3a8Browse files
test(av1): lane-tplwin depth-4 arms, the in-batch wall re-run and the shipped ruleAhmet Kaan Gümüş · 547e76aBrowse files
perf(av1): the tpl lookahead window comes back at the fast presets -- 8 at 0..2, 4 at 3..6, 1 aboveAhmet Kaan Gümüş · d247015
perf(av1): the tpl lookahead window comes back at the fast presets -- 8 at 0..2, 4 at 3..6, 1 above Measured per preset on the 12-frame native gate (lane-tplwin, tables in the TPL_DEPTH doc). Depth 4 is the best arm on every real-content row at preset 3 and buys film B 0.7 BD points at preset 6, for a wall that stays under this box's noise where depth 8 costs a visible 3-8%. Preset 0 keeps 8: shortening it there costs film B 0.7 on both columns, so the byte pins do not move. The delta_q witness' fire count is now gated on the WINDOW rather than on preset 0, since presets 1..6 have a map again.
docs(txset): the shipped-state confirm run -- only the capture row movesAhmet Kaan Gümüş · 748b008Browse files
docs(txset): the 12-frame gate table and the screen-gate verdictAhmet Kaan Gümüş · 7b99709Browse files
test(av1): the five-type fire count is preset 0's; every preset with the lever must still reach a non-DCT typeAhmet Kaan Gümüş · 878e910
test(av1): the five-type fire count is preset 0's; every preset with the lever must still reach a non-DCT type
feat(av1): gate the tx_type search to screen frames -- seven BD points on the capture, both films lose without itAhmet Kaan Gümüş · d4cc317Browse files
Merge branch 'lane-sb128fix' (d14eda95): the decoder's frame context is seeded from the stream only; encoder contexts come from FrameCtx::for_encoder (the sb128 merge had raced real 128-superblock decode gates against the encoder witness)Ahmet Kaan Gümüş · bbeb761Browse files
fix(av1): the decoder's FrameCtx no longer reads the encoder's SB128 globalAhmet Kaan Gümüş · d1b410e
fix(av1): the decoder's FrameCtx no longer reads the encoder's SB128 global lane-sb128 seeded FrameCtx::new()'s sb128_flag / reach_sb_px from crate::encode::sb128_on(), so any test forcing the encoder knob (the 128-superblock encoder witness) made every concurrently decoding thread start its context at 128: the three real-aomenc sb128 decode gates failed in parallel and no_per_frame_state_is_thread_local_any_more flagged "encode.rs: SB128" as per-frame state outside FrameCtx. FrameCtx::new() is a DECODER context again (false / 64, overwritten by set_sb128 from the parsed sequence header). The encoder's own contexts come from the new FrameCtx::for_encoder(), used at every FrameCtx construction in encode.rs and encoder.rs, so the mode search's Reach and the filter search's internal decodes still agree with the tile writer. The static is renamed ENC_SB128 -- an encoder knob like speed::SPEED, which is what the state test's name pin intends.
test(av1): lane-tplwin presets 3 and 6, depth 1 vs 8 on the 12-frame native gateAhmet Kaan Gümüş · 82d145eBrowse files
docs(txset): the instrument table, the kernels and the checks so farAhmet Kaan Gümüş · ef13e7fBrowse files
test(av1): witness that every reduced-set tx_type fires and both decoders read it exactlyAhmet Kaan Gümüş · a3b3ee4Browse files
feat(av1): search an intra luma transform unit's own tx_typeAhmet Kaan Gümüş · 2fd2ac4
feat(av1): search an intra luma transform unit's own tx_type The writer coded DCT_DCT for every luma transform unit ever written -- the symbol was a constant -- while the five-type reduced-set alphabet (TX_SET_INTRA_2: IDTX, DCT_DCT, ADST_ADST, ADST_DCT, DCT_ADST) was already the CDF it wrote into. The search now offers that set per intra luma unit, priced through the same RDOQ'd trial path (the tx_type symbol included, coeff_bits_typed), and the writer names the chosen type through the decoder's own symbol map (decode::tx_type_symbol, keyed by the CDF's alphabet width, so the two cannot drift). The forward transform gains the FLIPADST family as well: a flipped axis is the plain ADST basis over the mirrored residual, which is what the decoder's ud_flip/lr_flip undoes. All sixteen types now round trip.
test(av1): lane-tplwin arm driver + report skeleton for the per-preset tpl windowAhmet Kaan Gümüş · 2890ce6Browse files
Merge branch 'lane-sb128' (f3298510): the tile writers can walk 128x128 superblocks (EC_AV1_SB128), off by defaultAhmet Kaan Gümüş · ad81365
Merge branch 'lane-sb128' (f3298510): the tile writers can walk 128x128 superblocks (EC_AV1_SB128), off by default Structurally +7 B of partition symbols per 60 roots, but the spec forces the loop-restoration unit to 128 under a 128 superblock and the 12-frame gate loses 0.3 dB on film A for it (+21.7/-4.4 -> +38.8/+9.1). The writer's no-neighbour partition sentinel moved from 64 to the decoder's 128 (table and reader move together). Under the flag a ref-slot refusal still fires intermittently (open).
test(av1): a 128x128-superblock witness, and the root counter behind itAhmet Kaan Gümüş · 6e9b2d8
test(av1): a 128x128-superblock witness, and the root counter behind it Eight 128 roots on a 3-frame static clip, byte-exact through ffmpeg and decode_stream. `force_sb128` moves a process-global (the superblock size is a sequence field), so the gate is `#[ignore]`d and runs alone.
Merge branch 'lane-deltaq' (d5dddb4c): per-superblock delta_qindex from the tpl map, wired and measured, off by default; the encoder's trial decode hard-coded DeltaParamsAhmet Kaan Gümüş · 8ce79c1
Merge branch 'lane-deltaq' (d5dddb4c): per-superblock delta_qindex from the tpl map, wired and measured, off by default; the encoder's trial decode hard-coded DeltaParams Best arm is within 0.3 of the control on the films and 0.7 worse on screen (the tpl lambda arm was already neutral, so the same factor through the quantiser is the same information). decode_inter_frame_tiles_lr now takes the frame's delta params (stale-header class, instance 10).
test(av1): the deadzone monotonicity claim moves to the quantiser's own test; the RD pass decides every zeroing now, so a coded stream no longer tracks the deadzoneAhmet Kaan Gümüş · 1ede510
test(av1): the deadzone monotonicity claim moves to the quantiser's own test; the RD pass decides every zeroing now, so a coded stream no longer tracks the deadzone
feat(av1): the tile writers walk 128x128 superblocks under EC_AV1_SB128Ahmet Kaan Gümüş · d2e10de
feat(av1): the tile writers walk 128x128 superblocks under EC_AV1_SB128 The sequence bit, a 128 partition root whose only arm is SPLIT into the four 64x64 superblocks the encoder already codes, loop restoration read once over the 128 span (and its unit size forced to 128, the smallest a 128 superblock can signal), and libaom's TL/TR/BL/BR visit order. The writer's no-neighbour partition sentinel moves 64 -> 128 to match the decoder's: at 64 it is byte-neutral, at the 128 root it put the symbol on CDF row 3 instead of row 0.
docs(av1): lane-deltaq full suite totals (565 passed / 0 failed / 44 ignored)Ahmet Kaan Gümüş · 58df4d5Browse files
test(av1): silence the unused offered-count binding the i64 merge left in the key-root witnessAhmet Kaan Gümüş · 8435973Browse files
Merge branch 'lane-i64' (be1936a8): the key frame's partition search offers a 64x64 intra root, on at every presetAhmet Kaan Gümüş · f82ceec
Merge branch 'lane-i64' (be1936a8): the key frame's partition search offers a 64x64 intra root, on at every preset 12-frame (lane base) film A +34.8/+5.0 -> +33.2/+3.7, film B +47.0/+16.5 -> +42.4/+12.2, screen +32.8/-24.2; long-GOP film A -0.6, film B +21.6 vs rav1e. Offered only on superblock-aligned frames: a doubly-cut corner superblock desyncs chroma three ways (open). Pins re-taken on the merged tree.
perf(av1): ship the per-superblock delta_qindex OFF -- the mapping sweep does not payAhmet Kaan Gümüş · 5d826fd
perf(av1): ship the per-superblock delta_qindex OFF -- the mapping sweep does not pay 12-frame native gate against this head's own control (film A +34.8/+5.0, film B +47.0/+16.5, screen +33.4/-23.8): res 4 K 1.0 is the best arm at film A +34.7/+5.2, film B +46.7/+16.6, screen +34.1/-23.6 -- neither film column moves the keep rule's 0.5 and screen loses 0.7 against libaom. res 8 is worse everywhere; K 1.3 is K 1.0 within noise. speed::DELTAQ_RES is 4 (= off) at every preset, so every stream is byte-identical to the pre-lane one and the byte pins stand at 9808/35791. EC_AV1_DELTAQ=2 switches the syntax on; the witness forces it through a process-global override under the speed knobs' own exclusive lock.
test(av1): the delta_q witness makes its fire count only at preset 0Ahmet Kaan Gümüş · ad1a843
test(av1): the delta_q witness makes its fire count only at preset 0 speed::TPL_DEPTH cuts the lookahead window to one picture above preset 0, so there is no tpl map -- and no delta_q syntax -- outside preset 0.
docs(av1): lane-deltaq report -- what the feature commit holds and the mapping derivationAhmet Kaan Gümüş · eb6e4d0Browse files
docs(lane-i64): the suite totals and the doubly-straddling defect the first run foundAhmet Kaan Gümüş · 1c31b37Browse files
Merge branch 'lane-rdoq' (d4c07b51): rate-distortion optimised quantisation inside the trial loop, on at presets 0..6Ahmet Kaan Gümüş · 224ef48
Merge branch 'lane-rdoq' (d4c07b51): rate-distortion optimised quantisation inside the trial loop, on at presets 0..6 Reverse-scan level lowering priced through the writer's own coefficient coder; bounded to levels <= 2 and 24 prices per block. 12-frame film A +37.1/+7.3 -> +24.4/-1.8, film B +52.5/+22.3 -> +35.5/+7.6, screen +28.1/-25.7; long-GOP film A +29.4/-3.9, film B +100.2/+16.6 (lane base). Wall 1.7-2.1x at preset 0. Pins re-taken on the merged tree.
feat(av1): per-superblock delta_qindex from the tpl mapAhmet Kaan Gümüş · 1c072fa
feat(av1): per-superblock delta_qindex from the tpl map The tpl map only scaled LAMBDA per superblock, so it could move mode decisions but never the quantizer where the map says a superblock is worth more. This codes the spec's own per-superblock syntax instead: delta_q_present with delta_q_res in the frame header, a delta_qindex symbol group at the first coded block of every superblock, and the search quantizing (luma and chroma) at that superblock's own qindex. The mapping is derived, not fitted: RD lambda goes as the square of the quantizer step, so a superblock the map gives a lambda factor f wants the qindex whose ac_q is sqrt(f) times the frame's -- inverted through the ac_q table itself. EC_AV1_DELTAQ (res log2, 0 = off), _K, _CLAMP. Also: decode_inter_frame_tiles_lr hard-coded DeltaParams::default(), the stale-header class its own three parameters above it document, so the encoder's trial decode desynced at the first superblock.
docs(av1): lane-rdoq report -- long-GOP rows, invariants, deferredAhmet Kaan Gümüş · 83d96c2Browse files
fix(av1): the key 64x64 intra root only on a superblock-aligned frameAhmet Kaan Gümüş · ce92789
fix(av1): the key 64x64 intra root only on a superblock-aligned frame A 248x152 frame -- bottom-right superblock cut on both axes -- desyncs that corner's CHROMA three ways once the frame carries whole 64 roots elsewhere (luma stays exact). Named corner-cut with the trace as its upgrade path. The filter-intra decode fixture carries a step edge now: its smooth field was coded as four whole 64x64 roots, which are too big for filter intra, so the gate went blind to the feature it pins. The witness asserts the per-FRAME mode count instead of the process-global counter.
Merge branch 'lane-libcen' (65bbda55): libaom-vs-ours census on both films; the gap is inter anchors (non-skip area), the 128x128 superblock and per-superblock delta_q, not allocationAhmet Kaan Gümüş · 977fcddBrowse files
census(av1): rank the libaom gap -- anchor count, the missing 128 superblock, per-SB delta_q; the mini-GOP-16 structure arms are refutedAhmet Kaan Gümüş · 8fd360cBrowse files
docs(av1): lane-rdoq report -- lambda sweep bowl, deadzone re-sweep, preset gateAhmet Kaan Gümüş · 5b2bdceBrowse files
feat(av1): RDOQ on to preset 6; re-pin the encoder's own streamsAhmet Kaan Gümüş · 4e24be3
feat(av1): RDOQ on to preset 6; re-pin the encoder's own streams Preset-6 gate says it dominates the ladder (preset 6 with RDOQ beats preset 0 without it on every row and both columns, at less wall), so the lever is on to 6 and withheld from the unmeasured real-time rungs. Pins 9853 -> 8618 at q=150 and 35866 -> 33339 at q=60; EC_AV1_RDOQ=0 restores both.
docs(lane-i64): the 12-frame, long-GOP and speed-6 tables, the decision and the invariantsAhmet Kaan Gümüş · 7a807afBrowse files
census(av1): libaom-vs-ours long-GOP census at the PSNR-matched point on both films; syntax_census names the coding tools per levelAhmet Kaan Gümüş · 2696ba0Browse files
test(av1): re-take the sequence byte pins for the key 64x64 intra rootAhmet Kaan Gümüş · ef8dbd1
test(av1): re-take the sequence byte pins for the key 64x64 intra root 9808 -> 9843 (q=150) and 35791 -> 35834 (q=60); EC_AV1_I64=0 restores both, verified on this build before the re-take. Gate logs for the 12-frame, speed-6 and long-GOP arms.
feat(av1): ship the RDOQ rate weight at 2.2x the search's own, sweptAhmet Kaan Gümüş · eeae32a
feat(av1): ship the RDOQ rate weight at 2.2x the search's own, swept 12-frame native gate, BD vs libaom: film A +27.6/+26.3/+25.6/+24.6/+24.4/+24.7 and film B +39.5/+37.5/+37.0/+35.9/+35.5/+36.1 at 0.7/1.0/1.3/1.6/2.2/3.2, so the bowl is at 2.2 on every row. The gate can re-sweep the deadzone now (EC_AV1_DEADZONE); it bowls at the shipped 0.5 (film A +48.1 at 0.42, +26.3 at 0.5, +49.3 at 0.6, with RDOQ on).
test(av1): fire-share census + the smooth-gradient witness for the key 64x64 intra rootAhmet Kaan Gümüş · bbc059fBrowse files
feat(av1): a key frame's partition search offers a 64x64 intra rootAhmet Kaan Gümüş · f5d8b45
feat(av1): a key frame's partition search offers a 64x64 intra root The writer has always been able to code a whole superblock as one intra block (`Superblock::Whole`); nothing produced one, so every key-frame superblock was split into four 32x32 while libaom and rav1e leave 45-54% of theirs whole on film. `code_square` reaches side 64 (`TxbSet::Luma64` + two `TxbSet::Chroma32`, the coded 32x32 corner as its level grid), the intra edge/prediction scratch is sized for a 64-wide block, chroma at 32 points is DCT-only (`EXT_TX_SET_DCTONLY`), and the root is compared against its four quadrants at one lambda with the inter root's clamped early-out. `EC_AV1_I64=0` restores the split-only search.