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

Nick Kurshev nick at mplayer.dev.hu
Fri Nov 9 09:34:43 CET 2001


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

Modified Files:
	slice.c 
Log Message:
compilation fixed

Index: slice.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpeg2/slice.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- slice.c	7 Nov 2001 01:59:28 -0000	1.6
+++ slice.c	9 Nov 2001 08:34:37 -0000	1.7
@@ -32,10 +32,6 @@
 extern void (* idct_block_copy) (int16_t * block, uint8_t * dest, int stride);
 extern void (* idct_block_add) (int16_t * block, uint8_t * dest, int stride);
 
-#ifdef MPEG12_POSTPROC
-extern int quant_store[MPEG2_MBR+1][MPEG2_MBC+1]; // [Review]
-#endif
-
 #include "vlc.h"
 
 static int non_linear_quantizer_scale [] = {
@@ -1518,6 +1514,10 @@
     }									\
 } while (0)
 
+#ifdef MPEG12_POSTPROC
+int quant_store_mpeg2[MPEG2_MBR+1][MPEG2_MBC+1]; // [Review]
+#endif
+
 int slice_process (picture_t * picture, uint8_t code, uint8_t * buffer)
 {
 #define bit_buf (picture->bitstream_buf)
@@ -1753,7 +1753,7 @@
 	}
 
 #ifdef MPEG12_POSTPROC
-	quant_store[code][(offset>>4)+1] = picture->quantizer_scale;
+	quant_store_mpeg2[code][(offset>>4)+1] = picture->quantizer_scale;
 #endif
 	offset += 16;
 	CHECK_DISPLAY;
@@ -1785,7 +1785,7 @@
 			MOTION (motion_fi_zero, MACROBLOCK_MOTION_FORWARD);
 
 #ifdef MPEG12_POSTPROC
-	quant_store[code][(offset>>4)+1] = picture->quantizer_scale;
+	quant_store_mpeg2[code][(offset>>4)+1] = picture->quantizer_scale;
 #endif
 
 		    offset += 16;
@@ -1801,7 +1801,7 @@
 			MOTION (motion_fi_reuse, macroblock_modes);
 
 #ifdef MPEG12_POSTPROC
-	quant_store[code][(offset>>4)+1] = picture->quantizer_scale;
+	quant_store_mpeg2[code][(offset>>4)+1] = picture->quantizer_scale;
 #endif
 
 		    offset += 16;




More information about the MPlayer-cvslog mailing list