summaryrefslogtreecommitdiff
path: root/libavcodec/ppc
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-10-02 10:34:57 +0000
committerDiego Biurrun <diego@biurrun.de>2007-10-02 10:34:57 +0000
commita1d0b6a2774ddb10e29bfcaa262c0b7090855a68 (patch)
tree46f06620d1eafec7c5730c051e59ffdf25652b38 /libavcodec/ppc
parent6006a689891e6ba3437b9e03efa180408ce1843f (diff)
cosmetics: Fix AltiVec spelling.
Originally committed as revision 10639 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r--libavcodec/ppc/dsputil_altivec.c2
-rw-r--r--libavcodec/ppc/dsputil_ppc.c2
-rw-r--r--libavcodec/ppc/mpegvideo_ppc.c4
-rw-r--r--libavcodec/ppc/snow_altivec.c2
4 files changed, 5 insertions, 5 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,
diff --git a/libavcodec/ppc/dsputil_ppc.c b/libavcodec/ppc/dsputil_ppc.c
index 3f22449b4e..4a328d4054 100644
--- a/libavcodec/ppc/dsputil_ppc.c
+++ b/libavcodec/ppc/dsputil_ppc.c
@@ -257,7 +257,7 @@ static void prefetch_ppc(void *mem, int stride, int h)
void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx)
{
- // Common optimizations whether Altivec is available or not
+ // Common optimizations whether AltiVec is available or not
c->prefetch = prefetch_ppc;
switch (check_dcbzl_effect()) {
case 32:
diff --git a/libavcodec/ppc/mpegvideo_ppc.c b/libavcodec/ppc/mpegvideo_ppc.c
index a7ba9d66f3..0720c7dacb 100644
--- a/libavcodec/ppc/mpegvideo_ppc.c
+++ b/libavcodec/ppc/mpegvideo_ppc.c
@@ -51,14 +51,14 @@ void MPV_common_init_ppc(MpegEncContext *s)
(((long)(s->q_inter_matrix) & 0x0f) != 0))
{
av_log(s->avctx, AV_LOG_INFO, "Internal Error: q-matrix blocks must be 16-byte aligned "
- "to use Altivec DCT. Reverting to non-altivec version.\n");
+ "to use AltiVec DCT. Reverting to non-AltiVec version.\n");
return;
}
if (((long)(s->intra_scantable.inverse) & 0x0f) != 0)
{
av_log(s->avctx, AV_LOG_INFO, "Internal Error: scan table blocks must be 16-byte aligned "
- "to use Altivec DCT. Reverting to non-altivec version.\n");
+ "to use AltiVec DCT. Reverting to non-AltiVec version.\n");
return;
}
diff --git a/libavcodec/ppc/snow_altivec.c b/libavcodec/ppc/snow_altivec.c
index f77114132c..8770f05f5b 100644
--- a/libavcodec/ppc/snow_altivec.c
+++ b/libavcodec/ppc/snow_altivec.c
@@ -1,5 +1,5 @@
/*
- * Altivec optimized snow DSP utils
+ * AltiVec-optimized snow DSP utils
* Copyright (c) 2006 Luca Barbato <lu_zero@gentoo.org>
*
* This file is part of FFmpeg.