aboutsummaryrefslogtreecommitdiffhomepage
path: root/postproc/postprocess.h
diff options
context:
space:
mode:
authorGravatar michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-13 02:31:15 +0000
committerGravatar michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-13 02:31:15 +0000
commit422e29bebe471695d32d04be28f20efafe13b8e5 (patch)
tree1367129364d566d31aa9c0c66cc812cc730a11c2 /postproc/postprocess.h
parent987514c60174563a090b687d3fc15014da47be31 (diff)
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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2180 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc/postprocess.h')
-rw-r--r--postproc/postprocess.h29
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