The keyq sweep table
Browse files at this commitcf00a222f8b14aec7a2598f883922fb57aaf8039Parent: 20d60a5- docs
- the keyq sweep table
2 changed files +25 -0
- lanes/keyq.sweep.txt +19 -0
- lanes/keyq/census-k48.log +6 -0
lanes/keyq.sweep.txtmodified+19 -0
| @@ -17,3 +17,22 @@ WINNER key -48 at arf -32: both films improve on both columns against the contro | ||
| 17 | 17 | (film A -8.5 / -7.1, film B -13.2 / -9.3). -64 overshoots on film B (+140.7) and a |
| 18 | 18 | deeper ARF (-40) with the same key gives the bytes back on both films, so the anchor |
| 19 | 19 | is what the ARFs wanted, not more ARF. |
| 20 | + | |
| 21 | +## 12-frame gate (encode::tests::bd_rate_screen_native) at the winner | |
| 22 | +| clip | control (key 0) | key -48 | | |
| 23 | +|---|---|---| | |
| 24 | +| bars 1080p | +1.7 / -14.3 | +2.0 / -14.0 | | |
| 25 | +| bars 2160p | +13.7 / -9.5 | +13.1 / -9.6 | | |
| 26 | +| film A | +43.3 / +15.0 | +38.5 / +8.2 | | |
| 27 | +| film B | +66.9 / +35.1 | +58.2 / +26.5 | | |
| 28 | +| screen capture | +33.4 / -23.8 | +33.4 / -23.8 (pyramid gated off, byte-identical) | | |
| 29 | + | |
| 30 | +Both film rows improve on both columns at 12 frames too, so key_q_offset is NOT | |
| 31 | +gated on GOP length (unlike mid_q_offset). | |
| 32 | + | |
| 33 | +## rate loop | |
| 34 | +The key slot cannot steer the offset back (one key frame per run), so the finer key | |
| 35 | +ran bitrate_target_lands_within_10_percent_over_48_frames +10.8% over target. The | |
| 36 | +loop now prices the key's share through the calibration slope | |
| 37 | +(KEY_WEIGHT * exp(-key_q_offset / GAIN)) and takes it out of the other gop-1 | |
| 38 | +pictures: 768 kbps pyramid arm -0.3%, 1536 kbps -6.2%. |
lanes/keyq/census-k48.logadded+6 -0
| @@ -0,0 +1,6 @@ | ||
| 1 | + | |
| 2 | +running 1 test | |
| 3 | +test encode::tests::bd_rate_film_long_gop ... | |
| 4 | +native crop, 48 frames, gop=48; tiles (0, 0), tile threads 1, intrabc false, palette maxcolors 128 | |
| 5 | +| clip | ours PSNR/bytes per point | BD-rate vs libaom | BD-rate vs rav1e | wall ours:libaom:rav1e (noisy) | | |
| 6 | +|---|---|---|---|---| |