rtc: Disable temporal denoiser for speed <= 7 Temporal denoiser for real-time is for nonrd pickmode, and currently for the case where mode selection is separated from partition selection. Change-Id: I39f476a411b6a3b9007bc432de2a2aa52e708640
diff --git a/av1/av1_cx_iface.c b/av1/av1_cx_iface.c index 9ca6be4..ac85960 100644 --- a/av1/av1_cx_iface.c +++ b/av1/av1_cx_iface.c
@@ -963,7 +963,10 @@ #endif #if CONFIG_AV1_TEMPORAL_DENOISING - if (cfg->g_bit_depth == AOM_BITS_8) { + // Temporal denoiser is for nonrd pickmode so disable it for speed < 7. + // Also disable it for speed 7 for now since it needs to be modified for + // the check_partition_merge_mode feature. + if (cfg->g_bit_depth == AOM_BITS_8 && oxcf->speed > 7) { oxcf->noise_sensitivity = extra_cfg->noise_sensitivity; } else { oxcf->noise_sensitivity = 0;