summaryrefslogtreecommitdiff
path: root/vp8/common
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2010-10-26 09:37:44 -0400
committerJohn Koleszar <jkoleszar@google.com>2010-10-26 09:37:44 -0400
commitd330a5876b54d4e20fce1533d534affddffd71ea (patch)
tree028e153d5412662f6be68a1eb96c63316eb21b25 /vp8/common
parent0a5a638c6014b233e0d8887b9f554c81212ca9c8 (diff)
downloadlibvpx-d330a5876b54d4e20fce1533d534affddffd71ea.tar
libvpx-d330a5876b54d4e20fce1533d534affddffd71ea.tar.gz
libvpx-d330a5876b54d4e20fce1533d534affddffd71ea.tar.bz2
libvpx-d330a5876b54d4e20fce1533d534affddffd71ea.zip
arm: remove duplicate functions
These functions were true duplicates of functions present in the generic code. This fixes some of the link errors when building with --enable-shared --enable-pic. Change-Id: Idff26599d510d954e439207883607ad6b74df20c
Diffstat (limited to 'vp8/common')
-rw-r--r--vp8/common/arm/reconintra4x4_arm.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/vp8/common/arm/reconintra4x4_arm.c b/vp8/common/arm/reconintra4x4_arm.c
index 8d968d7ad..6fd9b9c2c 100644
--- a/vp8/common/arm/reconintra4x4_arm.c
+++ b/vp8/common/arm/reconintra4x4_arm.c
@@ -295,22 +295,8 @@ void vp8_predict_intra4x4(BLOCKD *x,
}
}
-// copy 4 bytes from the above right down so that the 4x4 prediction modes using pixels above and
-// to the right prediction have filled in pixels to use.
-void vp8_intra_prediction_down_copy(MACROBLOCKD *x)
-{
- unsigned char *above_right = *(x->block[0].base_dst) + x->block[0].dst - x->block[0].dst_stride + 16;
-
- unsigned int *src_ptr = (unsigned int *)above_right;
- unsigned int *dst_ptr0 = (unsigned int *)(above_right + 4 * x->block[0].dst_stride);
- unsigned int *dst_ptr1 = (unsigned int *)(above_right + 8 * x->block[0].dst_stride);
- unsigned int *dst_ptr2 = (unsigned int *)(above_right + 12 * x->block[0].dst_stride);
-
- *dst_ptr0 = *src_ptr;
- *dst_ptr1 = *src_ptr;
- *dst_ptr2 = *src_ptr;
-}
+extern void vp8_intra_prediction_down_copy(MACROBLOCKD *x);
/*