]> granicus.if.org Git - libvpx/commitdiff
WIP: reuse splitmv segmentation (partial) sandbox/jkoleszar/reuse-modemv
authorJohn Koleszar <jkoleszar@google.com>
Thu, 22 Mar 2012 22:06:53 +0000 (15:06 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Thu, 22 Mar 2012 22:06:53 +0000 (15:06 -0700)
still not reusing split mvs, but reusing partition size (8x8, 8x16, etc)

Change-Id: I4655b06fcdcbc71a97bff07def78297ae8e5104c

vp8/encoder/rdopt.c

index 9618060228d62722e2593a2a85088bce83f9bf26..3c7bcc2705758eb6abd541baf4f6de74dd12a43c 100644 (file)
@@ -1682,7 +1682,7 @@ static int vp8_rd_reuse_mbsegmentation(VP8_COMP *cpi, MACROBLOCK *x,
             if(i==16)
                 break;
         }
-        rd_reuse_segment(cpi, x, &bsi, s);
+        rd_check_segment(cpi, x, &bsi, s);
     }
 
     /* set it to the best */
@@ -2231,7 +2231,7 @@ void vp8_rd_use_external_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset,
             //this_rd_thresh = (this_ref_frame == 2) ? cpi->rd_threshes[THR_NEW2] : this_rd_thresh;
             this_rd_thresh = 0;
 
-#if 1
+#if 0
             tmp_rd = vp8_rd_pick_best_mbsegmentation(cpi, x, &best_ref_mv,
                                                      best_yrd, mdcounts,
                                                      &rate, &rate_y, &distortion, this_rd_thresh) ;