📝 State the preset bar as settled and H.264's miss as its rate [ci skip]

The bar was settled after the run: a slower preset earns its time when it
gains 0.5 dB at one of the two sizes and loses nothing at the other, its
encoder within 3% of P1's rate at both. H.264's P2 and P3 gain 0.78 and
0.92 dB at 2160p but run 3.4% and 6.2% under P1's rate at 1080p, so they
miss on the rate, not the gain; HEVC's P2 and P3 code P1's streams. The
mapping stays at P1.
This commit is contained in:
Anees Iqbal committed 2026-11-27 16:59:57 -08:00
1 parent 6319405ea9
commit 3731afd9b1
1 file changed
+8 -4
@@ -288,16 +288,20 @@ fn frame_rate_of(settings: &RgfxVideoEncodeSettings) -> (u32, u32) {
/// encodes: constant QP, an IDR every 60 frames, no B-frames. **Measured** on the same 3090 and
/// driver (2026-11-27, m3-max-77665, read in m3-max-77677): NVENC alone, one frame in flight,
/// tuning hq, QP 22 to 34, P1 to P7. The bar was a preset that gains 0.5 dB of luma over P1 at
/// equal bits (BD-PSNR Y) while the encoder stays faster than the guest round trip above (45 to
/// 47 fps at 3840x2160, 155 to 175 at 1920x1080) at both sizes. The best rows:
/// equal bits (BD-PSNR Y) at one of the two sizes and loses nothing at the other, its encoder
/// within 3% of P1's rate at both and faster than the guest round trip above (45 to 47 fps at
/// 3840x2160, 155 to 175 at 1920x1080). The best rows:
///
/// | codec, preset | gain at 1080p / 2160p | encoder at 1080p / 2160p | misses |
/// |---|---|---|---|
/// | HEVC Main, P5 | +0.57 / +0.49 dB | 169-183 / 42.6-47.2 fps | the gain and the rate at 2160p |
/// | HEVC Main, P5 | +0.57 / +0.49 dB | 169-183 / 42.6-47.2 fps | the rate |
/// | HEVC Main 10, P5 | +0.64 / +0.60 dB | 118-132 / 29.5-35.1 fps | the rate |
/// | every codec, P6 and P7 | +0.19 to +1.02 / +0.77 to +0.99 dB | 82-155 / 21.8-40.1 fps | the rate |
/// | H.264 High, P2 and P3 | +0.10, +0.22 / +0.78, +0.92 dB | 224-250 / 62.2-65.7 fps | the gain at 1080p |
/// | H.264 High, P2 and P3 | +0.10, +0.22 / +0.78, +0.92 dB | 250.2, 243.1 / 65.7, 64.5 fps | the rate at 1080p |
///
/// H.264's P2 and P3 run 3.4% and 6.2% under P1's 259.1 fps at 1080p (medians over the four QPs
/// on the clean source; at 2160p P1 runs 65.3), so neither is within 3%. HEVC's P2 and P3 code
/// the same streams as P1, byte for byte, at both depths and sizes.
/// P1 runs at 165-267 and 42.6-76.5 fps. The gains are a clean source's, a moving test pattern;
/// the same pattern under temporal noise gains 0.15 dB or less at every preset, since its noise
/// is not coded at these QPs. HEVC's P4 gains +0.23 to +0.34 dB over P1 on the clean source: