[Ffmpeg-devel] [PATCH] Faster rgb32tobgr32

Ivo ivop
Tue Apr 17 20:29:47 CEST 2007


On Tuesday 17 April 2007 20:22, Luca Barbato wrote:
> Trent Piepho wrote:
> > On Tue, 17 Apr 2007, Ivo wrote:
> >> Hi,
> >>
> >> The following patch makes rgb32tobgr32 slightly faster by avoiding an
> >> extra add and a cmp.
>
> once you are done PLEASE move it to a separate file.

I assume, eventually, you want all SIMD enhanced functions in separate 
files? Or perhaps even _every_ function?

I have thought about how to distinguish between GPL and LGPL SIMD enhanced 
implementations and I am not sure yet how to accomplish that without either 
code duplication or ifdef-hell. Any ideas?

--Ivo




More information about the ffmpeg-devel mailing list