The QP reduction model is used when SAD is less than SmoothQPReductionThreshold * number of samples in block.
Where SAD is defined as the sum of absolute differences between original luma samples and luma samples predicted by a 2nd order polynomial model.
The model parameters are determined by a least square fit to original luma samples on a granularity of 64x64 samples.
\\
\Option{SmoothQPReductionThreshold}&
\Default{3.0}&
Threshold parameter for smoothness.
\\
\Option{SmoothQPReductionModelScale}&
\Default{-1.0}&
Scale parameter of the QP reduction model.
\\
\Option{SmoothQPReductionModelOffset}&
\Default{27.0}&
Offset parameter of the QP reduction model.
\\
\Option{SmoothQPReductionLimit}&
\Default{-16.0}&
Threshold parameter for controlling amount of QP reduction by the QP reduction model.
\\
\Option{SmoothQPReductionPeriodicity}&
\Default{1}&
Periodicity parameter for application of the QP reduction model. 1: all frames, 0: only intra pictures, 2: every second frame, etc.
\\
\Option{SliceChromaQPOffsetPeriodicity}&
\Default{0}&
Defines the periodicity for inter slices that use the slice-level chroma QP offsets, as defined by SliceCbQpOffsetIntraOrPeriodic and SliceCrQpOffsetIntraOrPeriodic. A value of 0 disables the periodicity. It is intended to be used in low-delay configurations where an regular intra period is not defined.
("SmoothQPReductionEnable",m_bSmoothQPReductionEnable,false,"Enable QP reduction for smooth blocks according to: Clip3(SmoothQPReductionLimit, 0, SmoothQPReductionModelScale*baseQP+SmoothQPReductionModelOffset)")
("SmoothQPReductionThreshold",m_dSmoothQPReductionThreshold,3.0,"Threshold parameter for smoothness (SmoothQPReductionThreshold * number of samples in block)")
("SmoothQPReductionModelScale",m_dSmoothQPReductionModelScale,-1.0,"Scale parameter of the QP reduction model")
("SmoothQPReductionModelOffset",m_dSmoothQPReductionModelOffset,27.0,"Offset parameter of the QP reduction model")
("SmoothQPReductionLimit",m_iSmoothQPReductionLimit,-16,"Threshold parameter for controlling maximum amount of QP reduction by the QP reduction model")
("SmoothQPReductionPeriodicity",m_iSmoothQPReductionPeriodicity,1,"Periodicity parameter of the QP reduction model, 1: all frames, 0: only intra pictures, 2: every second frame, etc")
#endif
("AdaptiveQP,-aq",m_bUseAdaptiveQP,false,"QP adaptation based on a psycho-visual model")