Expand description
Rate-distortion analysis for optimal encoding parameter selection.
Models the trade-off between bitrate and quality to help select the best CRF, QP, or bitrate for a given quality target. Provides RD-curve fitting, operating point selection, and Bjontegaard-delta (BD-rate) comparison.
Structs§
- RdCurve
- An RD curve consisting of multiple measurement points.
- RdPoint
- A single rate-distortion measurement point.
Enums§
- Quality
Metric - Quality metric type used in the analysis.
Functions§
- average_
quality_ delta - Compute the average quality difference between two RD curves
over their overlapping bitrate range (simplified BD-rate style comparison).
Positive means
curve_bhas higher quality at the same bitrate. - efficiency
- Compute the efficiency of a point as quality per kbps.