forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 052d1d3f81ff6b9e7c09b93b58c5e772d825fcb3Filtered to lanes/keyq/ctl.logClear filter

2026-09-07

feat(av1): the pyramid codes its key frame 48 q-steps below baseAhmet Kaan Gümüş · 20d60a5
feat(av1): the pyramid codes its key frame 48 q-steps below base

The long-GOP sweep (lanes/keyq.sweep.txt): every arm from -16 to -48
improves both films on both columns, -48 is the floor (film A +52.0/+11.7
-> +43.5/+4.6, film B +144.5/+44.3 -> +131.3/+35.0), -64 overshoots on
film B, and a deeper ARF under the same key gives the bytes back. The
12-frame gate agrees (film A +43.3/+15.0 -> +38.5/+8.2, film B
+66.9/+35.1 -> +58.2/+26.5), so the offset is not gated on GOP length.

The rate loop had to learn the offset: a run holds one key frame, so the
key slot never gets a second frame to steer on, and the finer key ran the
48-frame bitrate gate +10.8% over target. Its byte share is now priced
through the calibration slope and the rest of the run pays for it (-0.3%).

Pins re-taken: 8590 -> 9778 and 28535 -> 35450.
feat(av1): a key-frame quantizer offset for the coding pyramidAhmet Kaan Gümüş · f7ddd74
feat(av1): a key-frame quantizer offset for the coding pyramid

The 48-frame census found our key frame coded at base q while its own
ARFs sit 32 steps finer, where rav1e (key 100 / arf 120 / leaf 153) and
libaom (63 / 95 / 163) both make the key the best frame of the run.
Pyramid::key_q_offset carries that offset, read as the fifth field of
EC_AV1_PYRAMID; the default is 0 until the sweep picks a point, so every
stream is byte-identical here.