[Ffmpeg-devel] PPC Optimisation

Colin Ward lists
Thu Jan 12 13:15:00 CET 2006

  Hi all.

  In order to enable PPC specific optimisations (excluding Altivec) is it
sufficient to simply #define ARCH_POWERPC in my config.h file?

  And if I want to enable Altivec then I #define HAVE_ALTIVEC as well?

  As a newbie to PPC programming, can the PPC/Macintosh people on the list
kindly give me a quick rundown on which switches to use when compiling my
code if I want to enable Altivec?  Is it possible to compile for Altivec
and still run on a G3?  I only have a G3 myself but need to enable Altivec
for other users of my program.

  Besides enabling general PPC and Altivec optimisations, are there any
other steps that I can take to speed up decoding?  My 800 Mhz G3 is pretty
pushed to decode anything more than medium sized videos at the moment.

  Thanks in advance for any tips!

[Hitman/Code HQ - 6502/z80/68000/604e/80x86/ARM coder - Amiga rulez!]
[VZ-200/VIC-20/MZ-700/c16/c64*10/c128*8/Plus-4/CPC464/CD32/500*2    ]
[600/1000/1200*2/A4000/SNES/N64/Dreamcast/Athlon 1100/AmigaOne      ]
[Assembly Language: The most fun you can have with your clothes on! ]

More information about the ffmpeg-devel mailing list