diff options
author | Marco Paniconi <marpan@google.com> | 2018-10-11 10:24:16 +0000 |
---|---|---|
committer | Marco Paniconi <marpan@google.com> | 2018-10-11 10:24:16 +0000 |
commit | e188b5435de71bcd602c378f1ac0441111f0f915 (patch) | |
tree | f9b3cd78f287b53842adcbadb42933e38e99b297 | |
parent | bc066684ca4deff24d02ee56071d731b431bf438 (diff) | |
download | libvpx-e188b5435de71bcd602c378f1ac0441111f0f915.tar.gz |
Revert "vp8: Increase rate threshold for overshoot-drop"
This reverts commit bc066684ca4deff24d02ee56071d731b431bf438.
Reason for revert: <INSERT REASONING HERE>
Regression in webrtc perf test
Original change's description:
> vp8: Increase rate threshold for overshoot-drop
>
> Increase the rate threshold for the dropping when
> overshoot is detected during encoding. This helps
> to prevent some unneccessary drops for hard content.
>
> Change-Id: I258bf33883d46347efd44e1e192cb25c444d05fe
TBR=sprang@chromium.org,marpan@google.com,builds@webmproject.org
# Not skipping CQ checks because original CL landed > 1 day ago.
Change-Id: Ib0e84747430ba6d04e479f9efd86d628b80a1e67
-rw-r--r-- | vp8/encoder/ratectrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/encoder/ratectrl.c b/vp8/encoder/ratectrl.c index e89f71ed8..fc833bccc 100644 --- a/vp8/encoder/ratectrl.c +++ b/vp8/encoder/ratectrl.c @@ -1474,7 +1474,7 @@ int vp8_drop_encodedframe_overshoot(VP8_COMP *cpi, int Q) { // QP threshold: only allow dropping if we are not close to qp_max. int thresh_qp = 3 * cpi->worst_quality >> 2; // Rate threshold, in bytes. - int thresh_rate = 3 * (cpi->av_per_frame_bandwidth >> 3); + int thresh_rate = 2 * (cpi->av_per_frame_bandwidth >> 3); // Threshold for the average (over all macroblocks) of the pixel-sum // residual error over 16x16 block. int thresh_pred_err_mb = (200 << 4); |