Mercurial > libavcodec.hg
changeset 5749:784dcbdc910f libavcodec
cosmetics: Fix AltiVec spelling.
author | diego |
---|---|
date | Tue, 02 Oct 2007 10:34:57 +0000 |
parents | f4b916b6f5c5 |
children | 09f99af1db40 |
files | ppc/dsputil_altivec.c ppc/dsputil_ppc.c ppc/mpegvideo_ppc.c ppc/snow_altivec.c |
diffstat | 4 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/ppc/dsputil_altivec.c Tue Oct 02 10:26:42 2007 +0000 +++ b/ppc/dsputil_altivec.c Tue Oct 02 10:34:57 2007 +0000 @@ -216,7 +216,7 @@ 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,
--- a/ppc/dsputil_ppc.c Tue Oct 02 10:26:42 2007 +0000 +++ b/ppc/dsputil_ppc.c Tue Oct 02 10:34:57 2007 +0000 @@ -257,7 +257,7 @@ 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:
--- a/ppc/mpegvideo_ppc.c Tue Oct 02 10:26:42 2007 +0000 +++ b/ppc/mpegvideo_ppc.c Tue Oct 02 10:34:57 2007 +0000 @@ -51,14 +51,14 @@ (((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; }