summaryrefslogtreecommitdiffstats
path: root/libavcodec/ppc/dsputil_ppc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/ppc/dsputil_ppc.c')
-rw-r--r--libavcodec/ppc/dsputil_ppc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/ppc/dsputil_ppc.c b/libavcodec/ppc/dsputil_ppc.c
index 4be3abb..a515cf3 100644
--- a/libavcodec/ppc/dsputil_ppc.c
+++ b/libavcodec/ppc/dsputil_ppc.c
@@ -32,8 +32,12 @@ void dsputil_init_ppc(DSPContext* c, unsigned mask)
#if HAVE_ALTIVEC
if (has_altivec()) {
// Altivec specific optimisations
+ c->pix_abs16x16_x2 = pix_abs16x16_x2_altivec;
+ c->pix_abs16x16_y2 = pix_abs16x16_y2_altivec;
+ c->pix_abs16x16_xy2 = pix_abs16x16_xy2_altivec;
c->pix_abs16x16 = pix_abs16x16_altivec;
c->pix_abs8x8 = pix_abs8x8_altivec;
+ c->pix_norm1 = pix_norm1_altivec;
c->pix_sum = pix_sum_altivec;
c->diff_pixels = diff_pixels_altivec;
c->get_pixels = get_pixels_altivec;
OpenPOWER on IntegriCloud