diff options
author | Paul Wilkins <paulwilkins@google.com> | 2018-04-12 10:42:50 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-04-12 10:42:50 +0000 |
commit | 768b018d18b72a9c3f604fbe5141fa40dc034636 (patch) | |
tree | 99b860687560026895b570eef3c1d293c1a68d60 /vp9 | |
parent | c9a459216dc3d33db60147d14caad58c586f354b (diff) | |
parent | e0b28ad696ec37e13eedc81257dba554d7bffd6e (diff) | |
download | libvpx-768b018d18b72a9c3f604fbe5141fa40dc034636.tar libvpx-768b018d18b72a9c3f604fbe5141fa40dc034636.tar.gz libvpx-768b018d18b72a9c3f604fbe5141fa40dc034636.tar.bz2 libvpx-768b018d18b72a9c3f604fbe5141fa40dc034636.zip |
Merge "Add extra case to wq_err_divisor()"
Diffstat (limited to 'vp9')
-rw-r--r-- | vp9/encoder/vp9_firstpass.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_firstpass.c b/vp9/encoder/vp9_firstpass.c index e102b4939..df687503e 100644 --- a/vp9/encoder/vp9_firstpass.c +++ b/vp9/encoder/vp9_firstpass.c @@ -1588,7 +1588,9 @@ static double wq_err_divisor(VP9_COMP *cpi) { // Use a different error per mb factor for calculating boost for // different formats. - if (screen_area < 1280 * 720) { + if (screen_area <= 640 * 360) { + return 115.0; + } else if (screen_area < 1280 * 720) { return 125.0; } else if (screen_area <= 1920 * 1080) { return 130.0; |