0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

postprocess fixes

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2188 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-10-13 15:40:35 +00:00
parent c1e14c6cb3
commit 4beb0a7d47

View File

@ -56,6 +56,7 @@ mpeg2_config_t config;
static int drop_frame = 0;
#ifdef MPEG12_POSTPROC
#include "../postproc/postprocess.h"
int quant_store[MBR+1][MBC+1]; // [Review]
#endif
@ -186,7 +187,7 @@ static int parse_chunk (vo_functions_t * output, int code, uint8_t * buffer, int
{
#ifdef MPEG12_POSTPROC
if( (picture->pp_options) && (!framedrop) ){
// apply OpenDivX postprocess filter
// apply postprocess filter
int stride[3];
stride[0]=picture->coded_picture_width;
stride[1]=stride[2]=stride[0]/2;