[FFmpeg-devel] ARM NEON optimisations

Måns Rullgård mans
Mon Aug 25 19:04:33 CEST 2008


Luca Barbato <lu_zero at gentoo.org> writes:

> M?ns Rullg?rd wrote:
>> Luca Barbato <lu_zero at gentoo.org> writes:
>> 
>>> M?ns Rullg?rd wrote:
>>>> The functions are in different files from the from init function that
>>>> fills DSPContext. How would you have me do it?
>>> One init per file and then you call those, not sure which way is nicer.
>> 
>> Then I'd have to hardcode struct offsets in assembler, and we all know
>> how fragile that is.
>
> Brrr, no, this doesn't sound nice, still having symbols around for 
> nothing is a bit of a waste. I'm too used to have plain C or inline asm 
> and not pure asm files... ^^

I don't like inline assembler for large functions.  It's harder to
read and write, and you have to battle gcc for everything.  Writing
pure assembler also lets me use non-standard calling conventions
between internal functions.

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




More information about the ffmpeg-devel mailing list