[Mplayer-cvslog] CVS: main/libmpcodecs vd_ffmpeg.c,1.12,1.13

Arpi of Ize arpi at mplayer.dev.hu
Sun Apr 7 18:40:56 CEST 2002


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

Modified Files:
	vd_ffmpeg.c 
Log Message:
export qscale for postproc

Index: vd_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_ffmpeg.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- vd_ffmpeg.c	7 Apr 2002 02:11:10 -0000	1.12
+++ vd_ffmpeg.c	7 Apr 2002 16:40:54 -0000	1.13
@@ -31,6 +31,10 @@
 
 int avcodec_inited=0;
 
+#ifdef FF_POSTPROCESS
+int quant_store[MBR+1][MBC+1];
+#endif
+
 typedef struct {
     AVCodecContext *avctx;
     int last_aspect;
@@ -196,6 +200,11 @@
 	mpi->stride[1]*=2;
 	mpi->stride[2]*=2;
     }
+    
+#ifdef FF_POSTPROCESS
+    mpi->qscale=&quant_store[0][0];
+    mpi->qstride=MBC+1;
+#endif
     
     return mpi;
 }




More information about the MPlayer-cvslog mailing list