[Mplayer-cvslog] CVS: main/libmpcodecs vf_scale.c,1.25,1.26

Michael Niedermayer michael at mplayerhq.hu
Sun Oct 13 02:30:52 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv27132

Modified Files:
	vf_scale.c 
Log Message:
yuy2 output support


Index: vf_scale.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_scale.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- vf_scale.c	15 Sep 2002 13:36:37 -0000	1.25
+++ vf_scale.c	13 Oct 2002 00:30:38 -0000	1.26
@@ -53,6 +53,7 @@
     IMGFMT_411P,
     IMGFMT_Y800,
     IMGFMT_Y8,
+    IMGFMT_YUY2,
     0
 };
 
@@ -176,7 +177,7 @@
 	MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_STRIDE | MP_IMGFLAG_PREFER_ALIGNED_STRIDE,
 	vf->priv->w, vf->priv->h);
     vf->priv->ctx->swScale(vf->priv->ctx,mpi->planes,mpi->stride,0,mpi->h,dmpi->planes,dmpi->stride);
-    
+
     if(vf->priv->w==mpi->w && vf->priv->h==mpi->h){
 	// just conversion, no scaling -> keep postprocessing data
 	// this way we can apply pp filter to non-yv12 source using scaler




More information about the MPlayer-cvslog mailing list