diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2001-10-13 02:31:15 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2001-10-13 02:31:15 +0000 |
commit | 9f45d04d3a278fb463df3aca14d389ad5acdd9a3 (patch) | |
tree | 527aa30a29644782f987db682e07b3728c6b1d13 /postproc/postprocess.h | |
parent | 67b4cf184ae33562d5fcdd4d7adc13f8f392dbc3 (diff) | |
download | ffmpeg-9f45d04d3a278fb463df3aca14d389ad5acdd9a3.tar.gz |
fixed a rounding bug thing in the X1 Filter
changed the X1 Filter slightly to make flat blocks look like in the 9tap lpf
minor change to the -pp numbers & added decimal numbers in comments
new experimental horizontal deblocking filter
Originally committed as revision 2180 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/postprocess.h')
-rw-r--r-- | postproc/postprocess.h | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/postproc/postprocess.h b/postproc/postprocess.h index f83853441a..c0798c4a90 100644 --- a/postproc/postprocess.h +++ b/postproc/postprocess.h @@ -28,24 +28,23 @@ #define DERING 0x04 #define LEVEL_FIX 0x08 /* Brightness & Contrast */ -#define LUM_V_DEBLOCK V_DEBLOCK -#define LUM_H_DEBLOCK H_DEBLOCK -#define CHROM_V_DEBLOCK (V_DEBLOCK<<4) -#define CHROM_H_DEBLOCK (H_DEBLOCK<<4) -#define LUM_DERING DERING -#define CHROM_DERING (DERING<<4) -#define LUM_LEVEL_FIX LEVEL_FIX +#define LUM_V_DEBLOCK V_DEBLOCK // 1 +#define LUM_H_DEBLOCK H_DEBLOCK // 2 +#define CHROM_V_DEBLOCK (V_DEBLOCK<<4) // 16 +#define CHROM_H_DEBLOCK (H_DEBLOCK<<4) // 32 +#define LUM_DERING DERING // 4 +#define CHROM_DERING (DERING<<4) // 64 +#define LUM_LEVEL_FIX LEVEL_FIX // 8 //not supported currently -#define CHROM_LEVEL_FIX (LEVEL_FIX<<4) +#define CHROM_LEVEL_FIX (LEVEL_FIX<<4) // 128 -// Experimental stuff -#define RK_FILTER 0x0100 -#define LUM_V_RK_FILTER RK_FILTER -#define CHROM_V_RK_FILTER (RK_FILTER<<4) +// Experimental vertical filters +#define V_RK1_FILTER 0x0100 // 256 +#define V_X1_FILTER 0x0200 // 512 -#define X1_FILTER 0x0200 -#define LUM_V_X1_FILTER X1_FILTER -#define CHROM_V_X1_FILTER (X1_FILTER<<4) +// Experimental horizontal filters +#define H_RK1_FILTER 0x1000 // 4096 +#define H_X1_FILTER 0x2000 // 8192 #define TIMEING |