forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to lanes/rdoq-r1.logClear filter

2026-09-07

feat(av1): rate-distortion optimised quantisation behind a preset leverAhmet Kaan Gümüş · 4cc1d86
feat(av1): rate-distortion optimised quantisation behind a preset lever

The deadzone quantiser rounded every coefficient blind to what its level
costs; every reference has the pass that decides that against the entropy
coder (libaom av1_optimize_txb, rav1e optimize_txb). tile::rdoq walks the
scan in reverse and lowers each level one step at a time while the bits it
gives back outweigh the squared error it adds, pricing every candidate
through the same coeff_bits/write_coeffs the search and the writer use, so
no second cost model can drift from the writer.

Applied inside the trial loop (trial_typed, code_from_prediction), so the
reconstruction, the price and the written levels are all the pass's grid.
EC_AV1_RDOQ=0 restores the plain quantiser and the byte pins.