aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-28 14:53:31 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-28 14:53:55 +0200
commit175aeab0b4012a540604487fbec5589427122e15 (patch)
tree2b0cf03032b84fa116605c92de8c0432a6232f5a /libavcodec
parent2320731614945a5a719ae3798b2e9d9d672f2d24 (diff)
parentb5aa48551300eed678aaea86ced7086758598a35 (diff)
downloadffmpeg-175aeab0b4012a540604487fbec5589427122e15.tar.gz
Merge commit 'b5aa48551300eed678aaea86ced7086758598a35'
* commit 'b5aa48551300eed678aaea86ced7086758598a35': ppc: Move vec_unaligned_load macro to util_altivec Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ppc/int_altivec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/ppc/int_altivec.c b/libavcodec/ppc/int_altivec.c
index fe0e5f68e0..3eeda29a40 100644
--- a/libavcodec/ppc/int_altivec.c
+++ b/libavcodec/ppc/int_altivec.c
@@ -30,6 +30,7 @@
#include "libavutil/attributes.h"
#include "libavutil/ppc/types_altivec.h"
+#include "libavutil/ppc/util_altivec.h"
#include "libavcodec/dsputil.h"
#include "dsputil_altivec.h"
@@ -46,9 +47,6 @@ static int ssd_int8_vs_int16_altivec(const int8_t *pix1, const int16_t *pix2,
// XXX lazy way, fix it later
-#define vec_unaligned_load(b) \
- vec_perm(vec_ld(0, b), vec_ld(15, b), vec_lvsl(0, b));
-
while (size16) {
// score += (pix1[i] - pix2[i]) * (pix1[i] - pix2[i]);
// load pix1 and the first batch of pix2