From 64c55576b76fde99506cc8da491d08b8e6e8d78f Mon Sep 17 00:00:00 2001 From: Jerome Jiang Date: Mon, 28 Aug 2017 12:48:19 -0700 Subject: [PATCH] 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 --- vp9/encoder/vp9_speed_features.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/vp9/encoder/vp9_speed_features.c b/vp9/encoder/vp9_speed_features.c index a620b58b0..ab4ca2aca 100644 --- a/vp9/encoder/vp9_speed_features.c +++ b/vp9/encoder/vp9_speed_features.c @@ -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; -- 2.40.0