summaryrefslogtreecommitdiff
path: root/postproc/postprocess.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-10-29 18:35:15 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-10-29 18:35:15 +0000
commitec487e5db84a57d5c3ad49c111bb25c6054919fe (patch)
treec75098b30fecf115a616d32297774bca6bfd0f21 /postproc/postprocess.h
parent02c7e1775de32aecdc8ff4d4f65d40adda18a98e (diff)
better deblocking filter
Originally committed as revision 7961 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/postprocess.h')
-rw-r--r--postproc/postprocess.h7
1 files changed, 3 insertions, 4 deletions
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);