[MPlayer-dev-eng] [PATCH] pc2tv/tv2pc conversion

Michael Niedermayer michaelni at gmx.at
Thu Jul 8 10:56:28 CEST 2004


Hi

On Thursday 08 July 2004 08:36, Nico Sabbi wrote:
> Il gio, 2004-07-08 alle 02:36, Michael Niedermayer ha scritto:
> > Hi
> >
> > On Wednesday 07 July 2004 19:53, Nico Sabbi wrote:
> > > This patch extends vf_yuvcsp.c to rescale luma and chroma when
> > > converting from tv->pc and viceversa.
> > >
> > > Now the filter accepts an optional parameter which can be "pc2tv",
> > > "tv2pc" or "clamp" (the default, old algorithm).
> > >
> > > It's implemented as a LUT for performance reasons.
> > >
> > > As far as I understand how CCIR601 works, this code seems to be
> > > correct, but I wish someone more familiar with colorspace conversions
> > > will give it a look.
> >
> > did u look at the tables? dont u think the pc2tv tables look strange?
>
> because of these sudden jumps from 0xd9 to the top?
>
> 0xd7, 0xd8, 0xd8, 0xd9, 0xeb, 0xeb, 0xeb, 0xeb,
yes

[...]
-- 
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