[MPlayer-cvslog] CVS: main/libmpcodecs vf_tfields.c,1.9,1.10

Richard Felker CVS syncmail at mplayerhq.hu
Sat Mar 26 09:01:28 CET 2005


CVS change done by Richard Felker CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv29766/libmpcodecs

Modified Files:
	vf_tfields.c 
Log Message:
1000l, last commit broke qpel interp entirely

Index: vf_tfields.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_tfields.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- vf_tfields.c	2 Mar 2005 09:13:11 -0000	1.9
+++ vf_tfields.c	26 Mar 2005 08:01:26 -0000	1.10
@@ -395,16 +395,16 @@
 				MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE,
 				mpi->width, mpi->height/2);
 			qpel(dmpi->planes[0], mpi->planes[0] + (i^!tff)*mpi->stride[0],
-				mpi->w*bpp, mpi->h/2, dmpi->stride[0], mpi->stride[0]*2, 0);
+				mpi->w*bpp, mpi->h/2, dmpi->stride[0], mpi->stride[0]*2, (i^!tff));
 			if (mpi->flags & MP_IMGFLAG_PLANAR) {
 				qpel(dmpi->planes[1],
 					mpi->planes[1] + (i^!tff)*mpi->stride[1],
 					mpi->chroma_width, mpi->chroma_height/2,
-					dmpi->stride[1], mpi->stride[1]*2, 0);
+					dmpi->stride[1], mpi->stride[1]*2, (i^!tff));
 				qpel(dmpi->planes[2],
 					mpi->planes[2] + (i^!tff)*mpi->stride[2],
 					mpi->chroma_width, mpi->chroma_height/2,
-					dmpi->stride[2], mpi->stride[2]*2, 0);
+					dmpi->stride[2], mpi->stride[2]*2, (i^!tff));
 			}
 			ret |= vf_next_put_image(vf, dmpi);
 			if (!i) vf_next_control(vf, VFCTRL_FLIP_PAGE, NULL);




More information about the MPlayer-cvslog mailing list