[FFmpeg-cvslog] r10639 - in trunk: doc/optimization.txt libavcodec/ppc/dsputil_altivec.c libavcodec/ppc/dsputil_ppc.c libavcodec/ppc/mpegvideo_ppc.c libavcodec/ppc/snow_altivec.c
diego
subversion
Tue Oct 2 12:34:57 CEST 2007
Author: diego
Date: Tue Oct 2 12:34:57 2007
New Revision: 10639
Log:
cosmetics: Fix AltiVec spelling.
Modified:
trunk/doc/optimization.txt
trunk/libavcodec/ppc/dsputil_altivec.c
trunk/libavcodec/ppc/dsputil_ppc.c
trunk/libavcodec/ppc/mpegvideo_ppc.c
trunk/libavcodec/ppc/snow_altivec.c
Modified: trunk/doc/optimization.txt
==============================================================================
--- trunk/doc/optimization.txt (original)
+++ trunk/doc/optimization.txt Tue Oct 2 12:34:57 2007
@@ -168,10 +168,10 @@ http://download.intel.com/design/intelxs
PowerPC-specific:
-PowerPC32/Altivec PIM:
+PowerPC32/AltiVec PIM:
www.freescale.com/files/32bit/doc/ref_manual/ALTIVECPEM.pdf
-PowerPC32/Altivec PEM:
+PowerPC32/AltiVec PEM:
www.freescale.com/files/32bit/doc/ref_manual/ALTIVECPIM.pdf
CELL/SPU:
Modified: trunk/libavcodec/ppc/dsputil_altivec.c
==============================================================================
--- trunk/libavcodec/ppc/dsputil_altivec.c (original)
+++ trunk/libavcodec/ppc/dsputil_altivec.c Tue Oct 2 12:34:57 2007
@@ -216,7 +216,7 @@ int sad16_xy2_altivec(void *v, uint8_t *
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,
Modified: trunk/libavcodec/ppc/dsputil_ppc.c
==============================================================================
--- trunk/libavcodec/ppc/dsputil_ppc.c (original)
+++ trunk/libavcodec/ppc/dsputil_ppc.c Tue Oct 2 12:34:57 2007
@@ -257,7 +257,7 @@ static void prefetch_ppc(void *mem, int
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:
Modified: trunk/libavcodec/ppc/mpegvideo_ppc.c
==============================================================================
--- trunk/libavcodec/ppc/mpegvideo_ppc.c (original)
+++ trunk/libavcodec/ppc/mpegvideo_ppc.c Tue Oct 2 12:34:57 2007
@@ -51,14 +51,14 @@ void MPV_common_init_ppc(MpegEncContext
(((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;
}
Modified: trunk/libavcodec/ppc/snow_altivec.c
==============================================================================
--- trunk/libavcodec/ppc/snow_altivec.c (original)
+++ trunk/libavcodec/ppc/snow_altivec.c Tue Oct 2 12:34:57 2007
@@ -1,5 +1,5 @@
/*
- * Altivec optimized snow DSP utils
+ * AltiVec-optimized snow DSP utils
* Copyright (c) 2006 Luca Barbato <lu_zero at gentoo.org>
*
* This file is part of FFmpeg.
More information about the ffmpeg-cvslog
mailing list