diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-10-02 10:34:57 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-10-02 10:34:57 +0000 |
commit | a1d0b6a2774ddb10e29bfcaa262c0b7090855a68 (patch) | |
tree | 46f06620d1eafec7c5730c051e59ffdf25652b38 /libavcodec/ppc/dsputil_altivec.c | |
parent | 6006a689891e6ba3437b9e03efa180408ce1843f (diff) | |
download | ffmpeg-a1d0b6a2774ddb10e29bfcaa262c0b7090855a68.tar.gz |
cosmetics: Fix AltiVec spelling.
Originally committed as revision 10639 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/dsputil_altivec.c')
-rw-r--r-- | libavcodec/ppc/dsputil_altivec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/dsputil_altivec.c b/libavcodec/ppc/dsputil_altivec.c index ce89428ac9..0fb13d91eb 100644 --- a/libavcodec/ppc/dsputil_altivec.c +++ b/libavcodec/ppc/dsputil_altivec.c @@ -216,7 +216,7 @@ int sad16_xy2_altivec(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int pix3iv = vec_perm(tv[0], tv[1], vec_lvsl(0, &pix3[1])); /* - Note that Altivec does have vec_avg, but this works on vector pairs + Note that AltiVec does have vec_avg, but this works on vector pairs and rounds up. We could do avg(avg(a,b),avg(c,d)), but the rounding would mean that, for example, avg(3,0,0,1) = 2, when it should be 1. Instead, we have to split the pixel vectors into vectors of shorts, |