ref: 2fa710aa6db08aabd00f139274780e9300e815f1
parent: c4e5c54d69920c07f5d421ba805da1a4c9c3e82d
parent: 45de35fc587ad38777c9f9b6bdbae11389ee599a
author: Marco Paniconi <marpan@google.com>
date: Wed Mar 8 13:26:11 EST 2017
Merge "vp9: Fix for denoising with SVC."
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -3174,7 +3174,8 @@
(cpi->oxcf.pass == 0 && cpi->oxcf.rc_mode == VPX_VBR &&
cpi->oxcf.mode == REALTIME && cpi->oxcf.speed >= 5) ||
cpi->sf.partition_search_type == SOURCE_VAR_BASED_PARTITION ||
- cpi->noise_estimate.enabled || cpi->sf.use_source_sad))
+ (cpi->noise_estimate.enabled && !cpi->oxcf.noise_sensitivity) ||
+ cpi->sf.use_source_sad))
cpi->Last_Source =
vp9_scale_if_required(cm, cpi->unscaled_last_source,
&cpi->scaled_last_source, (cpi->oxcf.pass == 0));