From ec487e5db84a57d5c3ad49c111bb25c6054919fe Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 29 Oct 2002 18:35:15 +0000 Subject: better deblocking filter Originally committed as revision 7961 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc --- postproc/postprocess.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'postproc/postprocess.h') diff --git a/postproc/postprocess.h b/postproc/postprocess.h index 66cccd1131..751d95956d 100644 --- a/postproc/postprocess.h +++ b/postproc/postprocess.h @@ -54,7 +54,6 @@ #define TEMP_NOISE_FILTER 0x100000 #define FORCE_QUANT 0x200000 - #define GET_PP_QUALITY_MAX 6 //use if u want a faster postprocessing code @@ -76,8 +75,8 @@ typedef struct PPMode{ int maxAllowedY; // for brihtness correction int maxTmpNoise[3]; // for Temporal Noise Reducing filter (Maximal sum of abs differences) - - int maxDcDiff; // max abs diff between pixels to be considered flat + + int baseDcDiff; int flatnessThreshold; int forcedQuant; // quantizer if FORCE_QUANT is used @@ -87,7 +86,7 @@ void postprocess(uint8_t * src[3], int srcStride[3], uint8_t * dst[3], int dstStride[3], int horizontalSize, int verticalSize, QP_STORE_T *QP_store, int QP_stride, - PPMode *mode, void *ppContext); + PPMode *mode, void *ppContext, int pict_type); // name is the stuff after "-pp" on the command line PPMode getPPModeByNameAndQuality(char *name, int quality); -- cgit v1.2.3