shithub: libvpx

Download patch

ref: c382ed09f8e6a3362f0c9dc8b68516b1b4a64cf1
parent: 2dc6acc0fcdf073771d70bb94efc506ad93f393b
author: John Koleszar <jkoleszar@google.com>
date: Thu Apr 11 10:05:11 EDT 2013

Remove unused vp9_recon_mb{y,uv}_s

These functions now are handled through the common superblock code.

Change-Id: Ib6688971bae297896dcec42fae1d3c79af7a611c

--- a/vp9/common/vp9_recon.c
+++ b/vp9/common/vp9_recon.c
@@ -50,40 +50,6 @@
   recon(4, 8, pred_ptr, 8, diff_ptr, 8, dst_ptr, stride);
 }
 
-void vp9_recon_mby_s_c(MACROBLOCKD *xd, uint8_t *dst) {
-  int x, y;
-  BLOCKD *const b = &xd->block[0];
-  const int stride = b->dst_stride;
-  const int16_t *diff = b->diff;
-
-  for (y = 0; y < 16; y++) {
-    for (x = 0; x < 16; x++)
-      dst[x] = clip_pixel(dst[x] + diff[x]);
-
-    dst += stride;
-    diff += 16;
-  }
-}
-
-void vp9_recon_mbuv_s_c(MACROBLOCKD *xd, uint8_t *udst, uint8_t *vdst) {
-  int x, y, i;
-  uint8_t *dst = udst;
-
-  for (i = 0; i < 2; i++, dst = vdst) {
-    BLOCKD *const b = &xd->block[16 + 4 * i];
-    const int stride = b->dst_stride;
-    const int16_t *diff = b->diff;
-
-    for (y = 0; y < 8; y++) {
-      for (x = 0; x < 8; x++)
-        dst[x] = clip_pixel(dst[x] + diff[x]);
-
-      dst += stride;
-      diff += 8;
-    }
-  }
-}
-
 void vp9_recon_sby_s_c(MACROBLOCKD *mb, uint8_t *dst,
                        BLOCK_SIZE_TYPE bsize) {
   const int bw = 16 << mb_width_log2(bsize), bh = 16 << mb_height_log2(bsize);
--- a/vp9/common/vp9_rtcd_defs.sh
+++ b/vp9/common/vp9_rtcd_defs.sh
@@ -80,12 +80,6 @@
 prototype void vp9_recon_mby "struct macroblockd *x"
 specialize vp9_recon_mby
 
-prototype void vp9_recon_mby_s "struct macroblockd *x, uint8_t *dst"
-specialize vp9_recon_mby_s
-
-prototype void vp9_recon_mbuv_s "struct macroblockd *x, uint8_t *udst, uint8_t *vdst"
-specialize void vp9_recon_mbuv_s
-
 prototype void vp9_recon_sby_s "struct macroblockd *x, uint8_t *dst, enum BLOCK_SIZE_TYPE bsize"
 specialize vp9_recon_sby_s