[Mplayer-cvslog] CVS: main/libmpcodecs vd_libmpeg2.c,1.8,1.9

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


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

Modified Files:
	vd_libmpeg2.c 
Log Message:
quant_store moved to frame struct

Index: vd_libmpeg2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_libmpeg2.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- vd_libmpeg2.c	4 Apr 2002 00:03:44 -0000	1.8
+++ vd_libmpeg2.c	7 Apr 2002 16:32:54 -0000	1.9
@@ -40,11 +40,6 @@
 
 static int table_init_state=0;
 
-#ifdef MPEG12_POSTPROC
-#include "../postproc/postprocess.h"
-int quant_store[MPEG2_MBR+1][MPEG2_MBC+1]; // [Review]
-#endif
-
 // to set/get/query special features/parameters
 static int control(sh_video_t *sh,int cmd,void* arg,...){
     return CONTROL_UNKNOWN;
@@ -184,6 +179,8 @@
 		picture->current_frame->base[1]=mpi->planes[1];
 		picture->current_frame->base[2]=mpi->planes[2];
 		picture->current_frame->mpi=mpi;	// tricky!
+		mpi->qscale=&picture->current_frame->quant_store[1][1];
+		mpi->qstride=(MPEG2_MBC+1);
 		mp_msg(MSGT_DECVIDEO,MSGL_DBG2,"mpeg2: [%c] %p  %s  \n",
 		    (picture->picture_coding_type == B_TYPE) ? 'B':'P',
 		    mpi, (mpi->flags&MP_IMGFLAG_DIRECT)?"DR!":"");




More information about the MPlayer-cvslog mailing list