comparison libmpeg2/decode.c @ 2722:b3624c70aba2

MBC->MPEG2_MBC, max image size increased
author arpi
date Mon, 05 Nov 2001 18:12:27 +0000
parents 0cc88042ff21
children 8e3875816f6d
comparison
equal deleted inserted replaced
2721:352aa62f648d 2722:b3624c70aba2
55 //static int drop_flag = 0; 55 //static int drop_flag = 0;
56 static int drop_frame = 0; 56 static int drop_frame = 0;
57 57
58 #ifdef MPEG12_POSTPROC 58 #ifdef MPEG12_POSTPROC
59 #include "../postproc/postprocess.h" 59 #include "../postproc/postprocess.h"
60 int quant_store[MBR+1][MBC+1]; // [Review] 60 int quant_store[MPEG2_MBR+1][MPEG2_MBC+1]; // [Review]
61 #endif 61 #endif
62 62
63 static table_init_state=0; 63 static table_init_state=0;
64 64
65 void mpeg2_init (void) 65 void mpeg2_init (void)
180 postprocess((picture->picture_coding_type == B_TYPE) ? 180 postprocess((picture->picture_coding_type == B_TYPE) ?
181 picture->current_frame->base : 181 picture->current_frame->base :
182 picture->forward_reference_frame->base, 182 picture->forward_reference_frame->base,
183 stride[0], frames[3].base, stride[0], 183 stride[0], frames[3].base, stride[0],
184 picture->coded_picture_width, picture->coded_picture_height, 184 picture->coded_picture_width, picture->coded_picture_height,
185 &quant_store[1][1], (MBC+1), picture->pp_options); 185 &quant_store[1][1], (MPEG2_MBC+1), picture->pp_options);
186 output->draw_slice (frames[3].base, stride, 186 output->draw_slice (frames[3].base, stride,
187 picture->display_picture_width, 187 picture->display_picture_width,
188 picture->display_picture_height, 0, 0); 188 picture->display_picture_height, 0, 0);
189 }else 189 }else
190 #endif 190 #endif