Mercurial > libavcodec.hg
comparison libpostproc/postprocess.h @ 99:4f072fa99ccf libavcodec
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
| author | michael |
|---|---|
| date | Sat, 13 Oct 2001 02:31:15 +0000 |
| parents | eaae16507d9b |
| children | 0ec7d482ec8d |
comparison
equal
deleted
inserted
replaced
| 98:eaae16507d9b | 99:4f072fa99ccf |
|---|---|
| 26 #define V_DEBLOCK 0x01 | 26 #define V_DEBLOCK 0x01 |
| 27 #define H_DEBLOCK 0x02 | 27 #define H_DEBLOCK 0x02 |
| 28 #define DERING 0x04 | 28 #define DERING 0x04 |
| 29 #define LEVEL_FIX 0x08 /* Brightness & Contrast */ | 29 #define LEVEL_FIX 0x08 /* Brightness & Contrast */ |
| 30 | 30 |
| 31 #define LUM_V_DEBLOCK V_DEBLOCK | 31 #define LUM_V_DEBLOCK V_DEBLOCK // 1 |
| 32 #define LUM_H_DEBLOCK H_DEBLOCK | 32 #define LUM_H_DEBLOCK H_DEBLOCK // 2 |
| 33 #define CHROM_V_DEBLOCK (V_DEBLOCK<<4) | 33 #define CHROM_V_DEBLOCK (V_DEBLOCK<<4) // 16 |
| 34 #define CHROM_H_DEBLOCK (H_DEBLOCK<<4) | 34 #define CHROM_H_DEBLOCK (H_DEBLOCK<<4) // 32 |
| 35 #define LUM_DERING DERING | 35 #define LUM_DERING DERING // 4 |
| 36 #define CHROM_DERING (DERING<<4) | 36 #define CHROM_DERING (DERING<<4) // 64 |
| 37 #define LUM_LEVEL_FIX LEVEL_FIX | 37 #define LUM_LEVEL_FIX LEVEL_FIX // 8 |
| 38 //not supported currently | 38 //not supported currently |
| 39 #define CHROM_LEVEL_FIX (LEVEL_FIX<<4) | 39 #define CHROM_LEVEL_FIX (LEVEL_FIX<<4) // 128 |
| 40 | 40 |
| 41 // Experimental stuff | 41 // Experimental vertical filters |
| 42 #define RK_FILTER 0x0100 | 42 #define V_RK1_FILTER 0x0100 // 256 |
| 43 #define LUM_V_RK_FILTER RK_FILTER | 43 #define V_X1_FILTER 0x0200 // 512 |
| 44 #define CHROM_V_RK_FILTER (RK_FILTER<<4) | |
| 45 | 44 |
| 46 #define X1_FILTER 0x0200 | 45 // Experimental horizontal filters |
| 47 #define LUM_V_X1_FILTER X1_FILTER | 46 #define H_RK1_FILTER 0x1000 // 4096 |
| 48 #define CHROM_V_X1_FILTER (X1_FILTER<<4) | 47 #define H_X1_FILTER 0x2000 // 8192 |
| 49 | 48 |
| 50 | 49 |
| 51 #define TIMEING | 50 #define TIMEING |
| 52 #define MORE_TIMEING | 51 #define MORE_TIMEING |
| 53 | 52 |
