mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-04-11 03:32:39 +00:00
cosmetics: Fix AltiVec spelling.
Originally committed as revision 10639 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6006a68989
commit
a1d0b6a277
@ -168,10 +168,10 @@ http://download.intel.com/design/intelxscale/27347302.pdf
|
|||||||
|
|
||||||
PowerPC-specific:
|
PowerPC-specific:
|
||||||
|
|
||||||
PowerPC32/Altivec PIM:
|
PowerPC32/AltiVec PIM:
|
||||||
www.freescale.com/files/32bit/doc/ref_manual/ALTIVECPEM.pdf
|
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
|
www.freescale.com/files/32bit/doc/ref_manual/ALTIVECPIM.pdf
|
||||||
|
|
||||||
CELL/SPU:
|
CELL/SPU:
|
||||||
|
@ -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]));
|
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
|
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.
|
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,
|
Instead, we have to split the pixel vectors into vectors of shorts,
|
||||||
|
@ -257,7 +257,7 @@ static void prefetch_ppc(void *mem, int stride, int h)
|
|||||||
|
|
||||||
void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx)
|
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;
|
c->prefetch = prefetch_ppc;
|
||||||
switch (check_dcbzl_effect()) {
|
switch (check_dcbzl_effect()) {
|
||||||
case 32:
|
case 32:
|
||||||
|
@ -51,14 +51,14 @@ void MPV_common_init_ppc(MpegEncContext *s)
|
|||||||
(((long)(s->q_inter_matrix) & 0x0f) != 0))
|
(((long)(s->q_inter_matrix) & 0x0f) != 0))
|
||||||
{
|
{
|
||||||
av_log(s->avctx, AV_LOG_INFO, "Internal Error: q-matrix blocks must be 16-byte aligned "
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (((long)(s->intra_scantable.inverse) & 0x0f) != 0)
|
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 "
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Altivec optimized snow DSP utils
|
* AltiVec-optimized snow DSP utils
|
||||||
* Copyright (c) 2006 Luca Barbato <lu_zero@gentoo.org>
|
* Copyright (c) 2006 Luca Barbato <lu_zero@gentoo.org>
|
||||||
*
|
*
|
||||||
* This file is part of FFmpeg.
|
* This file is part of FFmpeg.
|
||||||
|
Loading…
Reference in New Issue
Block a user