]> granicus.if.org Git - libvpx/commitdiff
multi-res: disable intra on forced ref frames
authorJohn Koleszar <jkoleszar@google.com>
Mon, 8 Oct 2012 22:58:04 +0000 (15:58 -0700)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Tue, 9 Oct 2012 17:25:01 +0000 (10:25 -0700)
If a reference frame is forced because of low dissimilarity, then
shut off the search of intra modes. This change has mixed results. On
one clip (QVGA), it hurt quality by ~1.5% with negligible speed impact.
On another (VGA) it had negligible affect on quality, but a ~0.2% speed
impact.

Change-Id: Ic8b07648979d732f489de5f094957e140f84d2eb

vp8/encoder/pickinter.c

index 726026e9f7a63f7c3616e88d0d0299afe7f85f46..8ca77b971f40091a2d6c6807ce0adc7174fb1860 100644 (file)
@@ -650,7 +650,7 @@ void vp8_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset,
 #if CONFIG_MULTI_RES_ENCODING
     if (parent_ref_valid && parent_ref_frame && dissim < 8)
     {
-        ref_frame_map[0] = INTRA_FRAME;
+        ref_frame_map[0] = -1;
         ref_frame_map[1] = parent_ref_frame;
         ref_frame_map[2] = -1;
         ref_frame_map[3] = -1;