diff 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
line wrap: on
line diff
--- a/postprocess_internal.h	Mon Jan 07 12:44:49 2008 +0000
+++ b/postprocess_internal.h	Tue Jan 08 22:03:30 2008 +0000
@@ -76,17 +76,10 @@
 //filters on
 //#define COMPILE_TIME_MODE 0x77
 
-#if 1
 static inline int CLIP(int a){
         if(a&256) return ((a)>>31)^(-1);
         else      return a;
 }
-//#define CLIP(a) (((a)&256) ? ((a)>>31)^(-1) : (a))
-#elif 0
-#define CLIP(a) clip_tab[a]
-#else
-#define CLIP(a) (a)
-#endif
 /**
  * Postprocessng filter.
  */