[FFmpeg-devel] [PATCH] Add ppc/fmtconvert_ppc.c to fix compilation for PPC without Altivec.

Måns Rullgård mans
Fri Mar 4 21:44:39 CET 2011


Justin Ruggles <justin.ruggles at gmail.com> writes:

> On 03/04/2011 02:25 PM, Justin Ruggles wrote:
>
>> ---
>>  libavcodec/ppc/Makefile             |    1 +
>>  libavcodec/ppc/fmtconvert_altivec.c |    2 +-
>>  libavcodec/ppc/fmtconvert_ppc.c     |   33 +++++++++++++++++++++++++++++++++
>>  3 files changed, 35 insertions(+), 1 deletions(-)
>>  create mode 100644 libavcodec/ppc/fmtconvert_ppc.c
>
> http://git.videolan.org/gitweb.cgi?p=ffmpeg.git;a=blobdiff;f=libavcodec/fmtconvert.c;h=bf762cc660002cd9a2ccf00a05cf9f99832a6220;hp=e26b8997abf58038c8bb3938243fba6e9a30762c;hb=7f1b1f3d7426332e2d9bb4cd828fec7f738704ce;hpb=08c866345cfe15cd17406e93c54a52068e41eb9e
>
> is ok with me.  I guess we don't need to optimize anything for PPC
> except for with Altivec anyway...

I'm sure some things _could_ be made faster, but I doubt anyone cares
enough to do it.  Some architectures have plenty of non-simd asm
optimisations.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list