]> granicus.if.org Git - libvpx/commitdiff
vp9: Disable usage of sb_use_mv_part for SVC.
authorMarco <marpan@google.com>
Tue, 18 Jul 2017 16:15:13 +0000 (09:15 -0700)
committerMarco <marpan@google.com>
Tue, 18 Jul 2017 16:28:56 +0000 (09:28 -0700)
To fix valgrind issueis with SVC tests.
SVC encoding uses prune_evenmore which is causing uinit value.

Will re-enable later when issue is resolved.

Change-Id: I257ff878cf78197ddd813db056582a4d5fe94f44

vp9/encoder/vp9_pickmode.c

index 25ae6c442cd1245d34949f1fae5a4eab5264300d..a8d0648d78e5f9cd9f610c513ce115c7681d1036 100644 (file)
@@ -1633,7 +1633,8 @@ void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, TileDataEnc *tile_data,
     }
   }
 
-  if (cpi->oxcf.speed <= 7 || bsize < BLOCK_32X32) x->sb_use_mv_part = 0;
+  if (cpi->use_svc || cpi->oxcf.speed <= 7 || bsize < BLOCK_32X32)
+    x->sb_use_mv_part = 0;
 
   for (idx = 0; idx < RT_INTER_MODES; ++idx) {
     int rate_mv = 0;