[XviD-devel] XviD on PPC85XX CPU
Peter Ross
pross at xvid.org
Wed May 13 13:49:02 CEST 2009
Hello,
On Wed, May 13, 2009 at 04:58:02PM +0800, bing.li wrote:
> Hello Everybody:
>
> I am to port xvid engine for MPC85xx(Motorola/Freescale PowerPC ).
[..]
>
> 1) I noticed that xvid have only idct assemble code ,but no dct code in the
>
> xvidcore-1.2.1\xvidcore\src\dct\ppc_asm directory.
>
> I am curious about that! If no dct assemble code, does it mean that
>
> the coding speed will be very slow on PPC platform????
Yes, you will need to source a PPC-optimised forward DCT to achieve
respectable performance.
>
> 2) In addition, I wonder where can I find <altivec.h> ??
>
> altivec.h is included in the PPC asm files. But I can not find this altivec.h on my xvid package.
altivec.h is shipped with your compiler, xvid does not provide this.
you may need to tell your compiler to enable altivec. specifically,
for gcc you need to add the -maltivec flag.
% cd build/generic
% ./bootstrap.sh
% CFLAGS+=-maltivec ./configure
cheers,
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
More information about the Xvid-devel
mailing list