diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-01-08 18:47:49 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-01-08 18:47:49 +0000 |
commit | 4013fcf4afa5790bc2f5f2b36101123576cd2b69 (patch) | |
tree | 6c4fd23496afda9bb83ea090957a96b99618d39e /libavcodec/ppc/dsputil_ppc.c | |
parent | e366e6795d6e2343a744458f945a396171b07bd8 (diff) | |
download | ffmpeg-4013fcf4afa5790bc2f5f2b36101123576cd2b69.tar.gz |
altivec patches by Romain Dolbeau
Originally committed as revision 1423 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/dsputil_ppc.c')
-rw-r--r-- | libavcodec/ppc/dsputil_ppc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/ppc/dsputil_ppc.c b/libavcodec/ppc/dsputil_ppc.c index 733d0c156e..8713e891be 100644 --- a/libavcodec/ppc/dsputil_ppc.c +++ b/libavcodec/ppc/dsputil_ppc.c @@ -42,9 +42,12 @@ void dsputil_init_ppc(DSPContext* c, unsigned mask) c->pix_abs16x16 = pix_abs16x16_altivec; c->pix_abs8x8 = pix_abs8x8_altivec; c->pix_norm1 = pix_norm1_altivec; + c->sse[1]= sse8_altivec; + c->sse[0]= sse16_altivec; c->pix_sum = pix_sum_altivec; c->diff_pixels = diff_pixels_altivec; c->get_pixels = get_pixels_altivec; + } else #endif { |