[Mplayer-cvslog] CVS: main/libmpcodecs vf_scale.c,1.13,1.14
Michael Niedermayer
michael at mplayerhq.hu
Sun Jun 23 20:53:49 CEST 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv665
Modified Files:
vf_scale.c
Log Message:
yvu9 & y8
Index: vf_scale.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_scale.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- vf_scale.c 25 May 2002 13:22:28 -0000 1.13
+++ vf_scale.c 23 Jun 2002 18:53:46 -0000 1.14
@@ -32,6 +32,9 @@
IMGFMT_YV12,
IMGFMT_I420,
IMGFMT_IYUV,
+ IMGFMT_Y800,
+ IMGFMT_Y8,
+ IMGFMT_YVU9,
0
};
@@ -128,7 +131,6 @@
dmpi=vf_get_image(vf->next,vf->priv->fmt,
MP_IMGTYPE_TEMP, MP_IMGFLAG_ACCEPT_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){
@@ -157,7 +159,10 @@
case IMGFMT_BGR15:
case IMGFMT_RGB32:
case IMGFMT_RGB24:
- case IMGFMT_Y800: {
+ case IMGFMT_Y800:
+ case IMGFMT_Y8:
+ case IMGFMT_YVU9:
+ {
unsigned int best=find_best_out(vf);
int flags;
if(!best) return 0; // no matching out-fmt
More information about the MPlayer-cvslog
mailing list