[FFmpeg-devel] [PATCH] fraps: optimize pseudo-YUV to RGB conversion.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Jan 29 17:36:33 CET 2012


On Sun, Jan 29, 2012 at 05:30:04PM +0100, Michael Niedermayer wrote:
> On Sun, Jan 29, 2012 at 03:41:54PM +0100, Reimar Döffinger wrote:
> > With gcc 4.6 this part of the code is ca. 4x faster, resulting
> > in an overall speedup of around 5% for fate-fraps-v5 sample.
> > 
> > Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> 
> LGTM

Pushed. A good example why you should always double-check that
the compiler is actually doing the optimization you expect it to
do (there were several multiplies in the generated asm for the
innermost loop for the original code).


More information about the ffmpeg-devel mailing list