changeset 2722:b3624c70aba2

MBC->MPEG2_MBC, max image size increased
author arpi
date Mon, 05 Nov 2001 18:12:27 +0000
parents 352aa62f648d
children 22aba8af94af
files libmpeg2/decode.c libmpeg2/mpeg2_internal.h
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libmpeg2/decode.c	Mon Nov 05 18:03:46 2001 +0000
+++ b/libmpeg2/decode.c	Mon Nov 05 18:12:27 2001 +0000
@@ -57,7 +57,7 @@
 
 #ifdef MPEG12_POSTPROC
 #include "../postproc/postprocess.h"
-int quant_store[MBR+1][MBC+1]; // [Review]
+int quant_store[MPEG2_MBR+1][MPEG2_MBC+1]; // [Review]
 #endif
 
 static table_init_state=0;
@@ -182,7 +182,7 @@
 			picture->forward_reference_frame->base,
 			stride[0], frames[3].base, stride[0],
                         picture->coded_picture_width, picture->coded_picture_height,
-                        &quant_store[1][1], (MBC+1), picture->pp_options);
+                        &quant_store[1][1], (MPEG2_MBC+1), picture->pp_options);
 	output->draw_slice (frames[3].base, stride, 
                         picture->display_picture_width,
                         picture->display_picture_height, 0, 0);
--- a/libmpeg2/mpeg2_internal.h	Mon Nov 05 18:03:46 2001 +0000
+++ b/libmpeg2/mpeg2_internal.h	Mon Nov 05 18:12:27 2001 +0000
@@ -218,7 +218,7 @@
 
 
 #ifdef MPEG12_POSTPROC
-#define MBC 48
-#define MBR 36
-extern int quant_store[MBR+1][MBC+1]; // [Review]
+#define MPEG2_MBC 120
+#define MPEG2_MBR 72
+extern int quant_store[MPEG2_MBR+1][MPEG2_MBC+1]; // [Review]
 #endif