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

Michael Niedermayer michaelni
Thu Mar 19 15:42:26 CET 2009


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.

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.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20090319/9e4f88ec/attachment.pgp>



More information about the ffmpeg-cvslog mailing list