Tune QP-based quality thresholds.
Increases measure time for downscale back to 5 seconds, this is required to not over-react on hand-waving or quick device rotations. Also increase max thresholds for QP a bit to not overreact when quality still looks somewhat OK. Min thresholds for H264 seemed very low and are increased to be sure that we can go back up again. The window is still quite big with the increased max QP. Also changes libvpx thresholds to use the same thresholds as the encoder, they were excessively low before and wouldn't adapt on bad QPs at all before (but rely on >60% framedropping based on bitrates to go down). BUG=webrtc:5678 R=stefan@webrtc.org TBR=glaznev@webrtc.org Review URL: https://codereview.webrtc.org/1894083002 . Cr-Commit-Position: refs/heads/master@{#12403}
This commit is contained in:
@ -29,9 +29,9 @@ static const int kDisabledBadQpThreshold = 64;
|
||||
static const int kLowInitialBitrateKbps = 300;
|
||||
// These values need to be in sync with corresponding constants
|
||||
// in quality_scaler.cc
|
||||
static const int kMeasureSecondsDownscale = 3;
|
||||
static const int kMeasureSecondsFastUpscale = 2;
|
||||
static const int kMeasureSecondsUpscale = 5;
|
||||
static const int kMeasureSecondsDownscale = 5;
|
||||
static const int kMinDownscaleDimension = 140;
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user