Mercurial > libavcodec.hg
comparison ppc/int_altivec.c @ 5255:669a97223dc7 libavcodec
make arguments to ssd_int8_vs_int16() const
author | mru |
---|---|
date | Sun, 08 Jul 2007 23:15:00 +0000 |
parents | d5ba514e3f4a |
children | f7cbb7733146 |
comparison
equal
deleted
inserted
replaced
5254:727a49c28c51 | 5255:669a97223dc7 |
---|---|
27 | 27 |
28 #include "gcc_fixes.h" | 28 #include "gcc_fixes.h" |
29 | 29 |
30 #include "dsputil_altivec.h" | 30 #include "dsputil_altivec.h" |
31 | 31 |
32 static int ssd_int8_vs_int16_altivec(int8_t *pix1, int16_t *pix2, int size) { | 32 static int ssd_int8_vs_int16_altivec(const int8_t *pix1, const int16_t *pix2, |
33 int size) { | |
33 int i, size16; | 34 int i, size16; |
34 vector signed char vpix1; | 35 vector signed char vpix1; |
35 vector signed short vpix2, vdiff, vpix1l,vpix1h; | 36 vector signed short vpix2, vdiff, vpix1l,vpix1h; |
36 union { vector signed int vscore; | 37 union { vector signed int vscore; |
37 int32_t score[4]; | 38 int32_t score[4]; |