shithub: libvpx

Download patch

ref: 8e8fb27694d8e7763f8496f1d8911402c6cd3927
parent: 0256398cb7f8c1df577589a294c94ad29e1a36c1
author: Ronald S. Bultje <rbultje@google.com>
date: Mon Aug 27 14:04:53 EDT 2012

Disable 16x16 temp buffer for superblocks.

Change-Id: I3d585bae446c16fcf7a39d72c1bcd6468a7bb1a1

--- a/vp8/common/blockd.h
+++ b/vp8/common/blockd.h
@@ -435,7 +435,7 @@
 
   int corrupted;
 
-#if ARCH_X86 || ARCH_X86_64
+#if !CONFIG_SUPERBLOCKS && (ARCH_X86 || ARCH_X86_64)
   /* This is an intermediate buffer currently used in sub-pixel motion search
    * to keep a copy of the reference area. This buffer can be used for other
    * purpose.
--- a/vp8/encoder/mcomp.c
+++ b/vp8/encoder/mcomp.c
@@ -456,7 +456,7 @@
   int y_stride;
   MACROBLOCKD *xd = &x->e_mbd;
 
-#if ARCH_X86 || ARCH_X86_64
+#if !CONFIG_SUPERBLOCKS && (ARCH_X86 || ARCH_X86_64)
   unsigned char *y0 = *(d->base_pre) + d->pre + (bestmv->as_mv.row) * d->pre_stride + bestmv->as_mv.col;
   unsigned char *y;
 
@@ -923,7 +923,7 @@
   int y_stride;
   MACROBLOCKD *xd = &x->e_mbd;
 
-#if ARCH_X86 || ARCH_X86_64
+#if !CONFIG_SUPERBLOCKS && (ARCH_X86 || ARCH_X86_64)
   unsigned char *y0 = *(d->base_pre) + d->pre +
       (bestmv->as_mv.row) * d->pre_stride + bestmv->as_mv.col;
   unsigned char *y;
--