[FFmpeg-cvslog] r14684 - trunk/libavcodec/fraps.c

Michael Niedermayer michaelni
Sun Aug 10 23:34:50 CEST 2008


On Sun, Aug 10, 2008 at 08:15:38PM +0200, kostya wrote:
> Author: kostya
> Date: Sun Aug 10 20:15:38 2008
> New Revision: 14684
> 
> Log:
> R and B components are stored as a differences to G component in Fraps v5.
> 
> This fixes roundup issue 574.
[...]
> +                U = f->data[0][0 + i*3 + j*f->linesize[0]];
> +                Y = f->data[0][1 + i*3 + j*f->linesize[0]];
> +                V = f->data[0][2 + i*3 + j*f->linesize[0]];
> +                R = Y + (int8_t)U;
> +                G = Y;
> +                B = Y + (int8_t)V;
> +                f->data[0][0 + i*3 + j*f->linesize[0]] = R;
> +                f->data[0][1 + i*3 + j*f->linesize[0]] = G;
> +                f->data[0][2 + i*3 + j*f->linesize[0]] = B;

f->data[0][0 + i*3 + j*f->linesize[0]] += f->data[0][1 + i*3 + j*f->linesize[0]];
f->data[0][2 + i*3 + j*f->linesize[0]] += f->data[0][1 + i*3 + j*f->linesize[0]];


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

I wish the Xiph folks would stop pretending they've got something they
do not.  Somehow I fear this will remain a wish. -- M?ns Rullg?rd
-------------- 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/20080810/2b59922d/attachment.pgp>



More information about the ffmpeg-cvslog mailing list