[vlc-devel] yuv conversions

Vaclav Koldus vaclav.koldus at avpark.cz
Thu Dec 1 16:34:56 CET 2005


Hi!

Today my question is short :)

Has vlc function that can convert it's internal planar YUV frame 
(suppose it's I420) to packed UYVY frame using mmx? In past I was forced 
to do it on my own without mmx and it's really slow. Now I need to 
optimalize.

Let's say I have
 unsigned char *uyvy = malloc(w*h*2);
buffer to store the converted data.
I want to take data in p_pic (which are in 3 planes) and convert it into 
this one buffer as UYVY.

I'd appreciate any advice how to reach this.

Thanks!
Vaclav.

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list