Revision a1d0b6a2

View differences:

doc/optimization.txt
168 168

  
169 169
PowerPC-specific:
170 170

  
171
PowerPC32/Altivec PIM:
171
PowerPC32/AltiVec PIM:
172 172
www.freescale.com/files/32bit/doc/ref_manual/ALTIVECPEM.pdf
173 173

  
174
PowerPC32/Altivec PEM:
174
PowerPC32/AltiVec PEM:
175 175
www.freescale.com/files/32bit/doc/ref_manual/ALTIVECPIM.pdf
176 176

  
177 177
CELL/SPU:
libavcodec/ppc/dsputil_altivec.c
216 216
        pix3iv = vec_perm(tv[0], tv[1], vec_lvsl(0, &pix3[1]));
217 217

  
218 218
        /*
219
          Note that Altivec does have vec_avg, but this works on vector pairs
219
          Note that AltiVec does have vec_avg, but this works on vector pairs
220 220
          and rounds up. We could do avg(avg(a,b),avg(c,d)), but the rounding
221 221
          would mean that, for example, avg(3,0,0,1) = 2, when it should be 1.
222 222
          Instead, we have to split the pixel vectors into vectors of shorts,
libavcodec/ppc/dsputil_ppc.c
257 257

  
258 258
void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx)
259 259
{
260
    // Common optimizations whether Altivec is available or not
260
    // Common optimizations whether AltiVec is available or not
261 261
    c->prefetch = prefetch_ppc;
262 262
    switch (check_dcbzl_effect()) {
263 263
        case 32:
libavcodec/ppc/mpegvideo_ppc.c
51 51
        (((long)(s->q_inter_matrix) & 0x0f) != 0))
52 52
    {
53 53
        av_log(s->avctx, AV_LOG_INFO, "Internal Error: q-matrix blocks must be 16-byte aligned "
54
                "to use Altivec DCT. Reverting to non-altivec version.\n");
54
                "to use AltiVec DCT. Reverting to non-AltiVec version.\n");
55 55
        return;
56 56
    }
57 57

  
58 58
    if (((long)(s->intra_scantable.inverse) & 0x0f) != 0)
59 59
    {
60 60
        av_log(s->avctx, AV_LOG_INFO, "Internal Error: scan table blocks must be 16-byte aligned "
61
                "to use Altivec DCT. Reverting to non-altivec version.\n");
61
                "to use AltiVec DCT. Reverting to non-AltiVec version.\n");
62 62
        return;
63 63
    }
64 64

  
libavcodec/ppc/snow_altivec.c
1 1
/*
2
 * Altivec optimized snow DSP utils
2
 * AltiVec-optimized snow DSP utils
3 3
 * Copyright (c) 2006 Luca Barbato <lu_zero@gentoo.org>
4 4
 *
5 5
 * This file is part of FFmpeg.

Also available in: Unified diff