[FFmpeg-devel] [PATCH]v308 and yuv4 encoders and decoders

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Dec 31 03:19:27 CET 2011


Derek Buitenhuis <derek.buitenhuis <at> gmail.com> writes:

> Ok, so after, testing, you are indeed correct. yuv4.c is anything but
> nice read, however I found yuv4toyuv.c, which has:
> 
> >                 *u_out1++ = (int)*input_row++ + 0x80;
> >                 *v_out1++ = (int)*input_row++ + 0x80;
> 
> Which would be equivalent to what you do, if all values
> read in only use the lower 7 bits. I think.

Does this mean "^ 0x80" is wrong?

Carl Eugen



More information about the ffmpeg-devel mailing list