forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to lanes/av1-predict-r1.report.mdClear filter

2026-08-25

feat(av1): seven intra modes, picked per block by rate-distortionAhmet Kaan Gümüş · 4331d17
feat(av1): seven intra modes, picked per block by rate-distortion

The predictors of spec 7.11.2 that read no further than the row above and the
column left of a block -- DC, V, H, SMOOTH, SMOOTH_V, SMOOTH_H and PAETH -- with
the edge construction that fills a missing side from the side that exists. Each
32x32 luma block now codes under all seven and keeps the one whose squared error
and estimated rate come out cheapest; chroma stays DC, which is the mode the tile
writer codes for it.

The weight on rate was swept over three real clips and two synthetic pictures at
six values; 0.05 step-squared per bit is the best point on every one. Against DC
alone it saves 11.5% of the rate on screen capture, 7.8% on the test card and
59.5% on a picture that runs one way. Against libaom the gap at matched size on a
film frame narrows from 2.4 dB to 2.0 dB.

Every mode is gated forced over a whole picture, with ffmpeg's reconstruction
equal sample for sample, and striped pictures gate the search on picking the
direction the picture runs -- a transposed predictor passes every symmetric test.