]> git.sesse.net Git - vlc/blob - modules/video_filter/atmo/AtmoOutputFilter.h
enhanced & corrected AtmoLight filter module
[vlc] / modules / video_filter / atmo / AtmoOutputFilter.h
1 /*
2  * AtmoOutputFilter.h: Post Processor for the color data retrieved from a CAtmoInput
3  *
4  * mostly 1:1 from Linux-src "filter.c" copied
5  *
6  * See the README.txt file for copyright information and how to reach the author(s).
7  *
8  * $Id$
9  */
10 #ifndef _AtmoOutputFilter_h_
11 #define _AtmoOutputFilter_h_
12
13
14 #include "AtmoConfig.h"
15 #include "AtmoDefs.h"
16
17 class CAtmoOutputFilter
18 {
19 private:
20   //tColorPacket filter_input;  // input of the filter wozu?
21   //tColorPacket filter_output; // output of the filter
22   pColorPacket  m_percent_filter_output_old;
23
24   pColorPacket  m_mean_filter_output_old;
25   pColorPacket  m_mean_values;
26   pColorPacketLongInt m_mean_sums;
27
28   pColorPacket PercentFilter(pColorPacket filter_input, ATMO_BOOL init);
29   pColorPacket MeanFilter(pColorPacket filter_input, ATMO_BOOL init);
30
31   CAtmoConfig *m_pAtmoConfig;
32 public:
33
34 public:
35     CAtmoOutputFilter(CAtmoConfig *atmoConfig);
36     virtual ~CAtmoOutputFilter(void);
37     void ResetFilter(void);
38     pColorPacket Filtering(pColorPacket ColorPacket);
39 };
40
41 #endif