[Ffmpeg-devel] Optimised yuvj420p_to_rgba32

Michel Bardiaux mbardiaux
Thu Mar 23 14:26:17 CET 2006


Luca Abeni wrote:
> Hi Michel,
> 
> On Thu, 2006-03-23 at 14:03 +0100, Michel Bardiaux wrote:
> [...]
> 
>>>>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.
>>
>>Cant. Guess why? GPL.
> 
> Sorry, I cannot do anything about it (I am not the author of swscale).

Well, I'm a little bit concerned about the recent move to go for 
swscaler in ffmpeg. I'm afraid of being stuck between a fast GPL scaler 
and a second-rate LGPL one.

> 
> Anyway, you asked if a SIMD-based conversion was doable, and I told you
> how to test if it is... You do not need to look ad swscale code to test
> it ;-)

True. Thank you.

> 
> 				Luca


-- 
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/





More information about the ffmpeg-devel mailing list