From: george82 Date: Fri, 27 Oct 2006 16:55:55 +0000 (+0000) Subject: Added SFilterWeightTab struct. X-Git-Tag: v0.0.90~384^2~201 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a1feccf56651819e0e5179ca1914cb44e57cbae3;p=tigervnc.git Added SFilterWeightTab struct. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2110 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/common/rfb/ScaleFilters.h b/common/rfb/ScaleFilters.h index 6839f18a..277e1190 100644 --- a/common/rfb/ScaleFilters.h +++ b/common/rfb/ScaleFilters.h @@ -69,12 +69,19 @@ namespace rfb { else return sin(pi*x)/(pi*x); } + typedef struct { char name[30]; double radius; filter_func func; } SFilter; + typedef struct { + short int i0, i1; // Filter function interval, [i0..i1) + float *weight; // Weight coefficients on the filter function interval + } SFilterWeightTab; + + class ScaleFilters { public: ScaleFilters() { initFilters(); };