summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_encoder.c
diff options
context:
space:
mode:
authorYunqing Wang <yunqingwang@google.com>2017-02-07 19:55:40 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-02-07 19:55:41 +0000
commitb106abe570a5dcef13805593873d5c0e1350453b (patch)
treea7f3818b854c06c41afc7b68b5a38e5ac11d94cc /vp9/encoder/vp9_encoder.c
parent259e835b1bb365a0fe179f9f394192261069ec88 (diff)
parent91f01a2060619183a35eb6ed3eb15733bc6d1e18 (diff)
downloadlibvpx-b106abe570a5dcef13805593873d5c0e1350453b.tar
libvpx-b106abe570a5dcef13805593873d5c0e1350453b.tar.gz
libvpx-b106abe570a5dcef13805593873d5c0e1350453b.tar.bz2
libvpx-b106abe570a5dcef13805593873d5c0e1350453b.zip
Merge "Row based multi-threading of ARNR filtering stage"
Diffstat (limited to 'vp9/encoder/vp9_encoder.c')
-rw-r--r--vp9/encoder/vp9_encoder.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c
index 0dce44c66..323907fc3 100644
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -1581,6 +1581,11 @@ void vp9_change_config(struct VP9_COMP *cpi, const VP9EncoderConfig *oxcf) {
cpi->oxcf.speed < 5 && cpi->oxcf.pass == 1) &&
cpi->oxcf.new_mt && !cpi->use_svc)
cpi->new_mt = 1;
+
+ if (cpi->oxcf.mode == GOOD && cpi->oxcf.speed < 5 &&
+ (cpi->oxcf.pass == 0 || cpi->oxcf.pass == 2) && cpi->oxcf.new_mt &&
+ !cpi->use_svc)
+ cpi->new_mt = 1;
}
#ifndef M_LOG2_E