[Mplayer-cvslog] CVS: main/libmpeg2 slice.c,1.7,1.8

Michael Niedermayer michael at mplayerhq.hu
Mon Oct 28 23:45:21 CET 2002


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

Modified Files:
	slice.c 
Log Message:
fixing quant_store scaling 


Index: slice.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpeg2/slice.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- slice.c	7 Apr 2002 16:32:04 -0000	1.7
+++ slice.c	28 Oct 2002 22:45:05 -0000	1.8
@@ -1753,7 +1753,7 @@
 	}
 
 #ifdef MPEG12_POSTPROC
-	picture->current_frame->quant_store[code][(offset>>4)+1] = picture->quantizer_scale;
+	picture->current_frame->quant_store[code][(offset>>4)+1] = picture->quantizer_scale>>1;
 #endif
 	offset += 16;
 	CHECK_DISPLAY;
@@ -1785,7 +1785,7 @@
 			MOTION (motion_fi_zero, MACROBLOCK_MOTION_FORWARD);
 
 #ifdef MPEG12_POSTPROC
-	picture->current_frame->quant_store[code][(offset>>4)+1] = picture->quantizer_scale;
+	picture->current_frame->quant_store[code][(offset>>4)+1] = picture->quantizer_scale>>1;
 #endif
 
 		    offset += 16;
@@ -1801,7 +1801,7 @@
 			MOTION (motion_fi_reuse, macroblock_modes);
 
 #ifdef MPEG12_POSTPROC
-	picture->current_frame->quant_store[code][(offset>>4)+1] = picture->quantizer_scale;
+	picture->current_frame->quant_store[code][(offset>>4)+1] = picture->quantizer_scale>>1;
 #endif
 
 		    offset += 16;




More information about the MPlayer-cvslog mailing list