h264: record the mode-decision lambda sweep, which changes nothing
Browse files at this commit6deb39c789cd0129d2a62124df90d98c74c910d1Parent: fad42971 changed file +25 -0
- lanes/h264x264-r2.report.md +25 -0
lanes/h264x264-r2.report.mdmodified+25 -0
| @@ -411,3 +411,28 @@ being chosen more often now that the blocks it picks are cheaper. | |||
| 411 | 411 | ||
| 412 | `transform_8x8` is still opt-in, so this changes no default stream byte; the | 412 | `transform_8x8` is still opt-in, so this changes no default stream byte; the |
| 413 | open decision to flip that default is worth 0.084 dB more than it was. | 413 | open decision to flip that default is worth 0.084 dB more than it was. |
| 414 | + | ||
| 415 | +## The mode-decision multiplier, swept and left alone | ||
| 416 | + | ||
| 417 | +`lambda_for` is `2^((qp-12)/6)` in the bits domain, the same ladder x264's | ||
| 418 | +`lambda_tab` uses, and it had never been swept as a scale. It is now, on both | ||
| 419 | +clips, at the settled quantisation constants -- BD-PSNR against x264: | ||
| 420 | + | ||
| 421 | +| lambda scale | film 3840x1608 | screen capture 2560x1440 | sum | | ||
| 422 | +|---|---|---|---| | ||
| 423 | +| 0.5 | -0.577 | -0.635 | -1.212 | | ||
| 424 | +| 0.7 | **-0.571** | -0.523 | -1.094 | | ||
| 425 | +| 0.85 | -0.576 | -0.494 | -1.070 | | ||
| 426 | +| **1.0 (kept)** | -0.593 | **-0.468** | **-1.061** | | ||
| 427 | +| 1.4 | -0.647 | -0.490 | -1.137 | | ||
| 428 | +| 2.0 | -0.767 | -0.565 | -1.332 | | ||
| 429 | + | ||
| 430 | +The two contents want opposite directions and the ladder sits at the crossing: | ||
| 431 | +film would take 0.022 dB from a 0.7 scale and screen capture would lose 0.055 | ||
| 432 | +for it. Nothing landed. The synthetic gate agrees the tilt is small | ||
| 433 | +(-4.073 -> -4.055 at 0.7), and it is not the film clip's shape. | ||
| 434 | + | ||
| 435 | +Recorded so the constant is not re-swept a third time: the remaining gap is | ||
| 436 | +not an operating-point tilt. It is bits -- we spend 13% more than x264 at | ||
| 437 | +0.45 dB higher PSNR on the film clip -- so the places left to look are the | ||
| 438 | +ones that decide what to spend them on. | ||