diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-29 18:35:15 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-10-29 18:35:15 +0000 |
commit | 0f1d6aabec10a00dea5ac156357aa503194700bf (patch) | |
tree | 41bfe4fd6448fd8ca9611a31e97bc5292964508f /postproc/postprocess.h | |
parent | 19259744eea58f9d3c5dd40f0f3f6d06896f4afc (diff) | |
download | mpv-0f1d6aabec10a00dea5ac156357aa503194700bf.tar.bz2 mpv-0f1d6aabec10a00dea5ac156357aa503194700bf.tar.xz |
better deblocking filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7961 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc/postprocess.h')
-rw-r--r-- | postproc/postprocess.h | 7 |
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); |