2 * AtmoOutputFilter.h: Post Processor for the color data retrieved from a CAtmoInput
4 * mostly 1:1 from Linux-src "filter.c" copied
6 * See the README.txt file for copyright information and how to reach the author(s).
10 #ifndef _AtmoOutputFilter_h_
11 #define _AtmoOutputFilter_h_
14 #include "AtmoConfig.h"
17 class CAtmoOutputFilter
20 //tColorPacket filter_input; // input of the filter wozu?
21 //tColorPacket filter_output; // output of the filter
22 pColorPacket m_percent_filter_output_old;
24 pColorPacket m_mean_filter_output_old;
25 pColorPacket m_mean_values;
26 pColorPacketLongInt m_mean_sums;
28 pColorPacket PercentFilter(pColorPacket filter_input, ATMO_BOOL init);
29 pColorPacket MeanFilter(pColorPacket filter_input, ATMO_BOOL init);
31 CAtmoConfig *m_pAtmoConfig;
35 CAtmoOutputFilter(CAtmoConfig *atmoConfig);
36 virtual ~CAtmoOutputFilter(void);
37 void ResetFilter(void);
38 pColorPacket Filtering(pColorPacket ColorPacket);