[Ffmpeg-devel] Optimised yuvj420p_to_rgba32
Thu Mar 23 08:39:24 CET 2006
On Wed, 2006-03-22 at 19:30 +0100, Michel Bardiaux wrote:
> I succeeded in decoding from my application a simple JPEG file using
> lavc (details on request). Its 40% faster than using the generic libjpeg
> (IJPEG6b), which is great. But -pg profiles show that 40% of the time is
> spent not in decoding the image, but in converting to B/G/R/X which is
> mandated by the rest of my application since the image has to be sent to
> an X server on Ix86/Linux.
I saw similar results in the past: it seems that ffmpeg codecs are much
more optimized than the ffmpeg code doing rescaling / color space
> Is there a hope of SSE-fying that function? I mean, I dont ask that
> anyone do it, just that someone expert in MMX and SSE tells me if it is
> *doable* (and worth it).
Try to use swscaler with the patches I posted some time ago...
I did not test the jpeg colorspace, but some tests converting rescaling
and converting between common colorspaces showed that you get a very
good speed improvement.
(so, it is certainly doable :)
Copy this in your signature, if you think it is important:
N O W A R ! ! !
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
L'auto dei tuoi sogni? Findomestic ti offre finanziamenti chiari e semplici senza anticipi! clicca qui
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3937&d=23-3
More information about the ffmpeg-devel