diff 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
line wrap: on
line diff
--- a/libpostproc/postprocess.h	Thu Oct 11 23:28:58 2001 +0000
+++ b/libpostproc/postprocess.h	Sat Oct 13 02:31:15 2001 +0000
@@ -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