The temporal lambda weighting ships on at strength 0.5 -- native BD down on five of six columns, control run byte-identical to the pre-lane baseline
Browse files at this commit0e1d650c5ea96d48881e2b8c4116b1121d6672a7Parent: 9b24d77- feat
- the temporal lambda weighting ships on at strength 0.5 -- native BD down on five of six columns, control run byte-identical to the pre-lane baseline
1 changed file +18 -1
- crates/ec-av1/src/encode.rs +18 -1
crates/ec-av1/src/encode.rsmodified+18 -1
| @@ -7298,7 +7298,24 @@ fn search_inter_block( | |||
| 7298 | /// ([`tpl_sb_factors`]). 0 keeps every block at the frame's own lambda, which | 7298 | /// ([`tpl_sb_factors`]). 0 keeps every block at the frame's own lambda, which |
| 7299 | /// is what every measurement before this lane was taken on. Swept by | 7299 | /// is what every measurement before this lane was taken on. Swept by |
| 7300 | /// `EC_AV1_TPL=<k>`. | 7300 | /// `EC_AV1_TPL=<k>`. |
| 7301 | -const TPL_STRENGTH: f64 = 0.0; | 7301 | +/// |
| 7302 | +/// SWEPT on lane-av1tpl at the native gate (1920x1024, 12 frames, BD-rate vs | ||
| 7303 | +/// libaom `cpu-used 6` / rav1e `speed 6`); `k=0` reproduces the pre-lane | ||
| 7304 | +/// baseline exactly, which is the control the rest of the table is read | ||
| 7305 | +/// against: | ||
| 7306 | +/// | ||
| 7307 | +/// | k | film 1080p | film 2160p | screen | | ||
| 7308 | +/// |---|---|---|---| | ||
| 7309 | +/// | 0 | +16.2/-1.1 | +46.6/+18.8 | +51.3/-14.4 | | ||
| 7310 | +/// | 0.25 | +16.4/-0.7 | +46.6/+18.8 | +51.2/-14.4 | | ||
| 7311 | +/// | **0.5** | **+15.9/-1.3** | **+46.5/+18.7** | **+51.2/-14.4** | | ||
| 7312 | +/// | 1 | +16.2/-0.9 | +46.6/+18.8 | +51.2/-14.4 | | ||
| 7313 | +/// | 2 | +16.5/-0.7 | +46.7/+19.0 | +51.1/-14.4 | | ||
| 7314 | +/// | ||
| 7315 | +/// 0.5 is the only arm that is at least flat on every row and down on five of | ||
| 7316 | +/// the six columns, so it ships as the default. The lookahead pass that feeds | ||
| 7317 | +/// it costs 1.5 ms per 1920x1024 frame against a ~0.8 s encode (0.2%). | ||
| 7318 | +const TPL_STRENGTH: f64 = 0.5; | ||
| 7302 | 7319 | ||
| 7303 | fn tpl_strength() -> f64 { | 7320 | fn tpl_strength() -> f64 { |
| 7304 | std::env::var("EC_AV1_TPL") | 7321 | std::env::var("EC_AV1_TPL") |