[Mplayer-cvslog] CVS: main/postproc swscale.c,1.127,1.128

Michael Niedermayer michaelni at gmx.at
Fri Jun 20 12:31:32 CEST 2003


Hi

On Friday 20 June 2003 12:56, Alex Beregszaszi wrote:
> Hi,
>
> > Index: swscale.c
> > ===================================================================
> > RCS file: /cvsroot/mplayer/main/postproc/swscale.c,v
> > retrieving revision 1.127
> > retrieving revision 1.128
> > diff -u -r1.127 -r1.128
> > --- swscale.c	1 Jun 2003 22:10:44 -0000	1.127
> > +++ swscale.c	19 Jun 2003 21:28:56 -0000	1.128
> > @@ -1466,7 +1466,7 @@
> >  		sortedStride[1]= stride[2];
> >  		sortedStride[2]= stride[1];
> >  	}
> > -	else if(isPacked(format) || isGray(format))
> > +	else if(isPacked(format) || isGray(format) || format ==
> > IMGFMT_Y8)
>
> Why not fix isGray to return true for Y8 too?
because remove_dup_fourcc() will change it to Y800 interally like 
YV12/I420/IYUV->YV12 so it would be slower, nah ok probably not meassurable 
but I420 / IYUV are also not checked in is*

-- 
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-cvslog mailing list