From a1feccf56651819e0e5179ca1914cb44e57cbae3 Mon Sep 17 00:00:00 2001 From: george82 Date: Fri, 27 Oct 2006 16:55:55 +0000 Subject: [PATCH] Added SFilterWeightTab struct. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2110 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/rfb/ScaleFilters.h | 7 +++++++ 1 file changed, 7 insertions(+) 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(); }; -- 2.39.5