1/*****************************************************************************
2
3 FFTRealPassDirect.h
4 Copyright (c) 2005 Laurent de Soras
5
6--- Legal stuff ---
7
8This library is free software; you can redistribute it and/or
9modify it under the terms of the GNU Lesser General Public
10License as published by the Free Software Foundation; either
11version 2.1 of the License, or (at your option) any later version.
12
13This library is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16Lesser General Public License for more details.
17
18You should have received a copy of the GNU Lesser General Public
19License along with this library; if not, write to the Free Software
20Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
22*Tab=3***********************************************************************/
23
24
25
26#if ! defined (FFTRealPassDirect_HEADER_INCLUDED)
27#define FFTRealPassDirect_HEADER_INCLUDED
28
29#if defined (_MSC_VER)
30 #pragma once
31 #pragma warning (4 : 4250) // "Inherits via dominance."
32#endif
33
34
35
36/*\\\ INCLUDE FILES \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
37
38#include "def.h"
39#include "FFTRealFixLenParam.h"
40#include "OscSinCos.h"
41
42
43
44template <int PASS>
45class FFTRealPassDirect
46{
47
48/*\\\ PUBLIC \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
49
50public:
51
52 typedef FFTRealFixLenParam::DataType DataType;
53 typedef OscSinCos <DataType> OscType;
54
55 FORCEINLINE static void
56 process (long len, DataType dest_ptr [], DataType src_ptr [], const DataType x_ptr [], const DataType cos_ptr [], long cos_len, const long br_ptr [], OscType osc_list []);
57
58
59
60/*\\\ PROTECTED \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
61
62protected:
63
64
65
66/*\\\ PRIVATE \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
67
68private:
69
70
71
72/*\\\ FORBIDDEN MEMBER FUNCTIONS \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
73
74private:
75
76 FFTRealPassDirect ();
77 ~FFTRealPassDirect ();
78 FFTRealPassDirect (const FFTRealPassDirect &other);
79 FFTRealPassDirect &
80 operator = (const FFTRealPassDirect &other);
81 bool operator == (const FFTRealPassDirect &other);
82 bool operator != (const FFTRealPassDirect &other);
83
84}; // class FFTRealPassDirect
85
86
87
88#include "FFTRealPassDirect.hpp"
89
90
91
92#endif // FFTRealPassDirect_HEADER_INCLUDED
93
94
95
96/*\\\ EOF \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/
97

source code of qtmultimedia/examples/multimedia/spectrum/3rdparty/fftreal/FFTRealPassDirect.h