shithub: libvpx

Download patch

ref: 64c55576b76fde99506cc8da491d08b8e6e8d78f
parent: 255241c6d0c35062928c59f363c85e4a75d3aecf
author: Jerome Jiang <jianj@google.com>
date: Mon Aug 28 08:48:19 EDT 2017

vp9: Remove resolution condition for using source_sad in speed 6.

Rev d147771 fixed the test failure. So remove the resolution condition
for using source_sad in speed 6.

BUG=webm:1452

Change-Id: I1efba97e1ef5bd4de5f886299f6fcb907187abcd

--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -528,11 +528,8 @@
     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;