From c382ed09f8e6a3362f0c9dc8b68516b1b4a64cf1 Mon Sep 17 00:00:00 2001 From: John Koleszar Date: Thu, 11 Apr 2013 14:05:11 -0700 Subject: [PATCH] Remove unused vp9_recon_mb{y,uv}_s These functions now are handled through the common superblock code. Change-Id: Ib6688971bae297896dcec42fae1d3c79af7a611c --- vp9/common/vp9_recon.c | 34 ---------------------------------- vp9/common/vp9_rtcd_defs.sh | 6 ------ 2 files changed, 40 deletions(-) diff --git a/vp9/common/vp9_recon.c b/vp9/common/vp9_recon.c index c32f860..0625ccb 100644 --- a/vp9/common/vp9_recon.c +++ b/vp9/common/vp9_recon.c @@ -50,40 +50,6 @@ void vp9_recon2b_c(uint8_t *pred_ptr, int16_t *diff_ptr, uint8_t *dst_ptr, 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); diff --git a/vp9/common/vp9_rtcd_defs.sh b/vp9/common/vp9_rtcd_defs.sh index a6a2af0..a66210b 100644 --- a/vp9/common/vp9_rtcd_defs.sh +++ b/vp9/common/vp9_rtcd_defs.sh @@ -80,12 +80,6 @@ specialize vp9_recon_mb 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 -- 2.7.4