mirror of https://github.com/mpv-player/mpv
MBC->MPEG2_MBC, max image size increased
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2723 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e0133146f3
commit
7316af027b
|
@ -57,7 +57,7 @@ static int drop_frame = 0;
|
||||||
|
|
||||||
#ifdef MPEG12_POSTPROC
|
#ifdef MPEG12_POSTPROC
|
||||||
#include "../postproc/postprocess.h"
|
#include "../postproc/postprocess.h"
|
||||||
int quant_store[MBR+1][MBC+1]; // [Review]
|
int quant_store[MPEG2_MBR+1][MPEG2_MBC+1]; // [Review]
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static table_init_state=0;
|
static table_init_state=0;
|
||||||
|
@ -182,7 +182,7 @@ int stride[3];
|
||||||
picture->forward_reference_frame->base,
|
picture->forward_reference_frame->base,
|
||||||
stride[0], frames[3].base, stride[0],
|
stride[0], frames[3].base, stride[0],
|
||||||
picture->coded_picture_width, picture->coded_picture_height,
|
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,
|
output->draw_slice (frames[3].base, stride,
|
||||||
picture->display_picture_width,
|
picture->display_picture_width,
|
||||||
picture->display_picture_height, 0, 0);
|
picture->display_picture_height, 0, 0);
|
||||||
|
|
|
@ -218,7 +218,7 @@ void mpeg2_free_image_buffers (picture_t * picture);
|
||||||
|
|
||||||
|
|
||||||
#ifdef MPEG12_POSTPROC
|
#ifdef MPEG12_POSTPROC
|
||||||
#define MBC 48
|
#define MPEG2_MBC 120
|
||||||
#define MBR 36
|
#define MPEG2_MBR 72
|
||||||
extern int quant_store[MBR+1][MBC+1]; // [Review]
|
extern int quant_store[MPEG2_MBR+1][MPEG2_MBC+1]; // [Review]
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue