shithub: libvpx

Download patch

ref: dea1604ed2e2fecc29686559040c95680877353b
parent: 3818132a4bdc77aec5993ea813c1ff1cdc70aec9
parent: 3c3dd1d5a34fa049850f8c072d1283c9831fe4f6
author: Jingning Han <[email protected]>
date: Wed Feb 12 12:51:39 EST 2014

Merge "Remove unnecessary vp9_setup_buffer_inter use"

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -2284,10 +2284,6 @@
       int rate;
       int64_t dist;
 
-      int_mv frame_nearest_mv[MAX_REF_FRAMES];
-      int_mv frame_near_mv[MAX_REF_FRAMES];
-      struct buf_2d yv12_mb[MAX_REF_FRAMES][MAX_MB_PLANE];
-
       // Find a partition size that fits
       bsize = find_partition_size(cpi->sf.always_this_block_size,
                                   (row8x8_remaining - block_row),
@@ -2309,10 +2305,6 @@
       } else {
         set_mode_info(&mi_8x8[index]->mbmi, bsize, mode,
                       mi_row + block_row, mi_col + block_col);
-        vp9_setup_buffer_inter(cpi, x, tile,
-                               LAST_FRAME, cpi->sf.always_this_block_size,
-                               mi_row + block_row, mi_col + block_col,
-                               frame_nearest_mv, frame_near_mv, yv12_mb);
       }
 
       for (j = 0; j < mi_height; j++)