]> source.dussan.org Git - tigervnc.git/commitdiff
Added SFilterWeightTab struct.
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Fri, 27 Oct 2006 16:55:55 +0000 (16:55 +0000)
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Fri, 27 Oct 2006 16:55:55 +0000 (16:55 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2110 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/rfb/ScaleFilters.h

index 6839f18a70fb4ca68a1258b454a5923d58a0d9d1..277e1190a83fe58c8229f871be1de248ef74deca 100644 (file)
@@ -69,12 +69,19 @@ namespace rfb {
     else return sin(pi*x)/(pi*x);\r
   }\r
 \r
+\r
   typedef struct {\r
     char name[30];\r
     double radius;\r
     filter_func func;\r
   } SFilter;\r
 \r
+  typedef struct {\r
+    short int i0, i1;  // Filter function interval, [i0..i1)\r
+    float *weight;     // Weight coefficients on the filter function interval\r
+  } SFilterWeightTab;\r
+\r
+\r
   class ScaleFilters {\r
   public:\r
     ScaleFilters() { initFilters(); };\r