comparison postprocess_internal.h @ 68:d05918aeb89d libpostproc

Remove clip_table as it is not used anymore. Patch by Diego 'Flameeyes' Petten (flameeyes gmail com)
author reimar
date Tue, 08 Jan 2008 22:03:30 +0000
parents fb2657d1e70d
children 035090519df3
comparison
equal deleted inserted replaced
67:fb2657d1e70d 68:d05918aeb89d
74 //cannot differentiate between chroma & luma filters (both on or both off) 74 //cannot differentiate between chroma & luma filters (both on or both off)
75 //obviously the -pp option on the command line has no effect except turning the here selected 75 //obviously the -pp option on the command line has no effect except turning the here selected
76 //filters on 76 //filters on
77 //#define COMPILE_TIME_MODE 0x77 77 //#define COMPILE_TIME_MODE 0x77
78 78
79 #if 1
80 static inline int CLIP(int a){ 79 static inline int CLIP(int a){
81 if(a&256) return ((a)>>31)^(-1); 80 if(a&256) return ((a)>>31)^(-1);
82 else return a; 81 else return a;
83 } 82 }
84 //#define CLIP(a) (((a)&256) ? ((a)>>31)^(-1) : (a))
85 #elif 0
86 #define CLIP(a) clip_tab[a]
87 #else
88 #define CLIP(a) (a)
89 #endif
90 /** 83 /**
91 * Postprocessng filter. 84 * Postprocessng filter.
92 */ 85 */
93 struct PPFilter{ 86 struct PPFilter{
94 const char *shortName; 87 const char *shortName;