vp9: Remove resolution condition for using source_sad in speed 6.
authorJerome Jiang <jianj@google.com>
Mon, 28 Aug 2017 19:48:19 +0000 (12:48 -0700)
committerJerome Jiang <jianj@google.com>
Mon, 28 Aug 2017 19:49:54 +0000 (12:49 -0700)
Rev d147771 fixed the test failure. So remove the resolution condition
for using source_sad in speed 6.

BUG=webm:1452

Change-Id: I1efba97e1ef5bd4de5f886299f6fcb907187abcd

vp9/encoder/vp9_speed_features.c

index a620b58..ab4ca2a 100644 (file)
@@ -528,11 +528,8 @@ static void set_rt_speed_feature_framesize_independent(
     sf->mv.search_method = NSTEP;
     sf->mv.reduce_first_step_size = 1;
     sf->skip_encode_sb = 0;
-    // TODO(jianj/marpan): There is a test failure under highbitdepth build in
-    // MotionVectorTestLarge/41 for 4K when source_sad is used for speed 6.
-    // See issue webm:1452. Remove this resolution constraint when issue is
-    // solved.
-    if (!cpi->external_resize && cm->width <= 1920) sf->use_source_sad = 1;
+
+    if (!cpi->external_resize) sf->use_source_sad = 1;
 
     if (sf->use_source_sad) {
       sf->adapt_partition_source_sad = 1;