Ardour  9.0-pre0-427-gd2a3450e2f
Wavelet.h
Go to the documentation of this file.
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
2 
3 /*
4  QM DSP Library
5 
6  Centre for Digital Music, Queen Mary, University of London.
7  This file copyright 2009 Thomas Wilmering.
8 
9  This program is free software; you can redistribute it and/or
10  modify it under the terms of the GNU General Public License as
11  published by the Free Software Foundation; either version 2 of the
12  License, or (at your option) any later version. See the file
13  COPYING included with this distribution for more information.
14 */
15 
16 #ifndef _WAVELET_H_
17 #define _WAVELET_H_
18 
19 #include <string>
20 #include <vector>
21 
22 class Wavelet
23 {
24 public:
25  enum Type {
26  Haar = 0,
69 
70  LastType = Meyer
71  };
72 
73  static std::string getWaveletName(Type);
74 
76  std::vector<float> &lpd,
77  std::vector<float> &hpd);
78 };
79 
80 #endif
static void createDecompositionFilters(Type, std::vector< float > &lpd, std::vector< float > &hpd)
@ Biorthogonal_2_8
Definition: Wavelet.h:59
@ Symlet_10
Definition: Wavelet.h:46
@ Daubechies_9
Definition: Wavelet.h:34
@ Symlet_9
Definition: Wavelet.h:45
@ Coiflet_2
Definition: Wavelet.h:50
@ Coiflet_1
Definition: Wavelet.h:49
@ Daubechies_40
Definition: Wavelet.h:37
@ Symlet_3
Definition: Wavelet.h:39
@ Daubechies_20
Definition: Wavelet.h:36
@ Daubechies_10
Definition: Wavelet.h:35
@ Meyer
Definition: Wavelet.h:68
@ Biorthogonal_3_9
Definition: Wavelet.h:64
@ Symlet_30
Definition: Wavelet.h:48
@ Biorthogonal_3_3
Definition: Wavelet.h:61
@ Haar
Definition: Wavelet.h:26
@ Biorthogonal_6_8
Definition: Wavelet.h:67
@ Biorthogonal_1_5
Definition: Wavelet.h:55
@ Symlet_2
Definition: Wavelet.h:38
@ Biorthogonal_1_3
Definition: Wavelet.h:54
@ LastType
Definition: Wavelet.h:70
@ Coiflet_5
Definition: Wavelet.h:53
@ Daubechies_3
Definition: Wavelet.h:28
@ Symlet_6
Definition: Wavelet.h:42
@ Symlet_8
Definition: Wavelet.h:44
@ Daubechies_5
Definition: Wavelet.h:30
@ Biorthogonal_3_5
Definition: Wavelet.h:62
@ Symlet_5
Definition: Wavelet.h:41
@ Coiflet_4
Definition: Wavelet.h:52
@ Daubechies_8
Definition: Wavelet.h:33
@ Symlet_20
Definition: Wavelet.h:47
@ Daubechies_2
Definition: Wavelet.h:27
@ Coiflet_3
Definition: Wavelet.h:51
@ Biorthogonal_5_5
Definition: Wavelet.h:66
@ Daubechies_7
Definition: Wavelet.h:32
@ Daubechies_6
Definition: Wavelet.h:31
@ Biorthogonal_3_1
Definition: Wavelet.h:60
@ Symlet_7
Definition: Wavelet.h:43
@ Daubechies_4
Definition: Wavelet.h:29
@ Biorthogonal_3_7
Definition: Wavelet.h:63
@ Symlet_4
Definition: Wavelet.h:40
@ Biorthogonal_2_2
Definition: Wavelet.h:56
@ Biorthogonal_2_4
Definition: Wavelet.h:57
@ Biorthogonal_2_6
Definition: Wavelet.h:58
@ Biorthogonal_4_4
Definition: Wavelet.h:65
static std::string getWaveletName(Type)