Enable RTC temporal filtering for speed 7 and 8
Borg results on rtc2:
avg_psnr: ovr_psnr: ssim:
speed 7: -0.434 -0.298 -0.417
speed 8: -0.252 -0.108 -0.212
Almost no impact on encoder speed (~0.1%).
STATS_CHANGED
Change-Id: I044954f82f6d4e1f1f55d55cac2449d0aa1f4b6a
diff --git a/av1/encoder/speed_features.c b/av1/encoder/speed_features.c
index e31e8bd..9a5e684 100644
--- a/av1/encoder/speed_features.c
+++ b/av1/encoder/speed_features.c
@@ -1303,6 +1303,10 @@
if (speed == 6) sf->part_sf.disable_8x8_part_based_on_qidx = 1;
if (speed >= 6) sf->rt_sf.skip_newmv_mode_based_on_sse = 2;
if (speed == 7) sf->rt_sf.prefer_large_partition_blocks = 1;
+ if (speed >= 7) {
+ // TODO(yunqing): extend this sf to other speeds and/or other resolutions.
+ sf->rt_sf.use_rtc_tf = 1;
+ }
if (speed == 8 && !cpi->ppi->use_svc) {
sf->rt_sf.short_circuit_low_temp_var = 0;
sf->rt_sf.use_nonrd_altref_frame = 1;
@@ -1312,8 +1316,6 @@
sf->rt_sf.gf_length_lvl = 1;
sf->rt_sf.skip_cdef_sb = 1;
sf->rt_sf.sad_based_adp_altref_lag = 2;
- // TODO(yunqing): extend this sf to other speeds and/or other resolutions.
- sf->rt_sf.use_rtc_tf = 1;
}
if (speed >= 10) {