[MPlayer-dev-eng] [PATCH] altivec colorspace

Michael Niedermayer michaelni at gmx.at
Tue May 11 16:09:00 CEST 2004


Hi

On Tuesday 11 May 2004 13:18, Marc Hoffman wrote:
> So does this solve what your trying to do?
no

>
> #define vec_clip_for_ccir656(x) \
>    vec_max (vec_min (x, (typeof(x))(235)), (typeof(x))(16))
>
> #define vec_clip(x)  vec_clip_for_ccir656(x)
>
> I'm curious why you care about this, I don't think the MAC's have such
> limitations on their output.
what!?

your conversation code is wrong, u ignore the srcRange parameter, please look 
at sws_setColorspaceDetails():
------
        if(!srcRange){
		cy= (cy*255) / 219;
		oy= 16<<16;
	}
------

[...]
-- 
Michael
level[i]= get_vlc(); i+=get_vlc();		(violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]);	(violates patent #5,905,535)
buf[i]= qp - buf[i-1];				(violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en




More information about the MPlayer-dev-eng mailing list