[MPlayer-dev-eng] [PATCH] postproc/yuv2rgb_altivec.c compile fix

Joey Parrish joey at nicewarrior.org
Wed Sep 1 09:04:10 CEST 2004


On Tue, Aug 31, 2004 at 10:21:30AM +0200, Romain Dolbeau wrote:
> Hello,
> 
> The attached patch fix the compilation problem on linux/ppc.
> 
> Could someone explain then "0..255 vs. 16..235" problem
> mentioned in the cvs log ? I can try to fix that.

I would assume it has to do with valid values for the YUV colorspaces.
IIRC, the values are supposed to be clamped to 16-235 instead of the
full 8-bit range of 0-255.  This is off the top of my head, I am not
very well read on colorspaces, and I have no clue why this is.

--Joey

-- 
"There's no blood in your brain?  You're one of the lucky ones." --Chad




More information about the MPlayer-dev-eng mailing list