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

Marc Hoffman mmh at pleasantst.com
Tue May 11 13:18:56 CEST 2004


So does this solve what your trying to do?

#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.

On May 10, 2004, at 10:34 PM, Michael Niedermayer wrote:

> Hi
>
> On Tuesday 11 May 2004 03:39, Marc Hoffman wrote:
>> is this what you mean Michael?
> its better then the last patch but, i said _ALL_ non constant 
> static/globals
> must be removed, the code doesnt work otherwise if multiple scalers 
> are used
>
> and even though i cant test it, i doubt the luma range is correct, it 
> still
> looks like u use 0..255 instead of 16..235 if srcRange==0, could u 
> please
> comment on this, anyway this is a minor bug, someone else with a ppc 
> can fix
> this later
>
> -- 
> 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
>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>




More information about the MPlayer-dev-eng mailing list