[FFmpeg-cvslog] r28997 - in trunk/libswscale: rgb2rgb.c rgb2rgb.h rgb2rgb_template.c swscale.c

Robert Swain robert.swain
Thu Mar 19 18:09:22 CET 2009


On 19/3/09 14:42, Michael Niedermayer wrote:
> On Thu, Mar 19, 2009 at 12:30:16PM +0000, Robert Swain wrote:
>> On 19/3/09 03:45, michael wrote:
>>> Author: michael
>>> Date: Thu Mar 19 04:45:29 2009
>>> New Revision: 28997
>>>
>>> Log:
>>> Unscaled converters for
>>> YUYV->YUV420P
>>> YUYV->YUV422P
>>> UYVY->YUV420P
>>> UYVY->YUV422P
>>>
>>> Modified:
>>>      trunk/libswscale/rgb2rgb.c
>>>      trunk/libswscale/rgb2rgb.h
>>>      trunk/libswscale/rgb2rgb_template.c
>>>      trunk/libswscale/swscale.c
>> I tried to ascertain yesterday whether the yuyv422 ->  yuv420p path was
>> optimised for MMX and/or 3DNow! but couldn't easily find it in the
>
> it is, this commit was mostly
> just intended to fix any possible speed regressions from imgconvert.
> the code is simple and clean, and should be faster, considering that
> imgconvert was plain C.

Was the optimisation included in this commit but not existent 
previously? If so, thank you. :)

> Ive also used exactly the same incorrect convertion from imgconvert,
> (that is without averaging chroma like dark shiraki obviously expected)
> ill try to implement the correct scaling but i wanted to commit this
> first to make it double clear how much crap imgconvert really was.

He was rather surprised that you used this method. :)

Regards,
Rob




More information about the ffmpeg-cvslog mailing list