rtc-screen: Tune screen_content_cdef_filter_qindex_thresh sf

The sf 'screen_content_cdef_filter_qindex_thresh' is used to
decide qindex based CDEF filter strength estimation for screen
contents. This CL tunes sf for speed 9, such that it enables
the usage of screen content model for all frames to calculate
cdef filter strength.

cpu Test set    Instruction count      BD-Rate Loss (%)
                   Reduction(%)    avg.psnr  ovr.psnr  ssim
9   rtc-screen       0.530        -1.9687   -1.7112   -1.5051

STATS_CHANGED for rtc-screen speed 9

Change-Id: I1615e3f3a4b64e0ec4bd48d142691d2698752035
diff --git a/av1/encoder/speed_features.c b/av1/encoder/speed_features.c
index 47e6cf6..c94db3f 100644
--- a/av1/encoder/speed_features.c
+++ b/av1/encoder/speed_features.c
@@ -1414,7 +1414,6 @@
       sf->mv_sf.subpel_search_method = SUBPEL_TREE_PRUNED_MORE;
       sf->rt_sf.reduce_mv_pel_precision_highmotion = 2;
       sf->rt_sf.reduce_mv_pel_precision_lowcomplex = 1;
-      sf->rt_sf.screen_content_cdef_filter_qindex_thresh = 20;
     }
     if (speed >= 10) {
       if (cm->width * cm->height > 1920 * 1080)
@@ -2074,6 +2073,7 @@
   rt_sf->top_right_sync_wait_in_mis = false;
   rt_sf->set_zeromv_skip_based_on_source_sad = 1;
   rt_sf->use_adaptive_subpel_search = false;
+  rt_sf->screen_content_cdef_filter_qindex_thresh = 0;
 }
 
 // Populate appropriate sub-pel search method based on speed feature and user
diff --git a/av1/encoder/speed_features.h b/av1/encoder/speed_features.h
index a740cde..6af3afc 100644
--- a/av1/encoder/speed_features.h
+++ b/av1/encoder/speed_features.h
@@ -1577,11 +1577,19 @@
   // gain of 0.78%.
   bool vbp_prune_16x16_split_using_min_max_sub_blk_var;
 
-  // A qindex threshold that determines whether to use qindex based
-  // CDEF filter strength estimation for screen content types.
-  // This speed feature has a substantial gain on coding metrics,
-  // with moderate increased encoding time.
-  // Set to zero to turn off this speed feature.
+  // A qindex threshold that determines whether to use qindex based CDEF filter
+  // strength estimation for screen content types. The strength estimation model
+  // used for screen contents prefers to allow cdef filtering for more frames.
+  // This sf is used to limit the frames which go through cdef filtering and
+  // following explains the setting of the same.
+  // MAXQ (255): This disables the usage of this sf. Here, frame does not use a
+  // screen content model thus reduces the number of frames that go through cdef
+  // filtering.
+  // MINQ (0): Frames always use screen content model thus increasing the number
+  // of frames that go through cdef filtering.
+  // This speed feature has a substantial gain on coding metrics, with moderate
+  // increase encoding time. Select threshold based on speed vs quality
+  // trade-off.
   int screen_content_cdef_filter_qindex_thresh;
 
   // Prune compound mode if its variance is higher than the variance of single