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,
27
Daubechies_2
,
28
Daubechies_3
,
29
Daubechies_4
,
30
Daubechies_5
,
31
Daubechies_6
,
32
Daubechies_7
,
33
Daubechies_8
,
34
Daubechies_9
,
35
Daubechies_10
,
36
Daubechies_20
,
37
Daubechies_40
,
38
Symlet_2
,
39
Symlet_3
,
40
Symlet_4
,
41
Symlet_5
,
42
Symlet_6
,
43
Symlet_7
,
44
Symlet_8
,
45
Symlet_9
,
46
Symlet_10
,
47
Symlet_20
,
48
Symlet_30
,
49
Coiflet_1
,
50
Coiflet_2
,
51
Coiflet_3
,
52
Coiflet_4
,
53
Coiflet_5
,
54
Biorthogonal_1_3
,
55
Biorthogonal_1_5
,
56
Biorthogonal_2_2
,
57
Biorthogonal_2_4
,
58
Biorthogonal_2_6
,
59
Biorthogonal_2_8
,
60
Biorthogonal_3_1
,
61
Biorthogonal_3_3
,
62
Biorthogonal_3_5
,
63
Biorthogonal_3_7
,
64
Biorthogonal_3_9
,
65
Biorthogonal_4_4
,
66
Biorthogonal_5_5
,
67
Biorthogonal_6_8
,
68
Meyer
,
69
70
LastType
=
Meyer
71
};
72
73
static
std::string
getWaveletName
(
Type
);
74
75
static
void
createDecompositionFilters
(
Type
,
76
std::vector<float> &lpd,
77
std::vector<float> &hpd);
78
};
79
80
#endif
Wavelet
Definition:
Wavelet.h:23
Wavelet::createDecompositionFilters
static void createDecompositionFilters(Type, std::vector< float > &lpd, std::vector< float > &hpd)
Wavelet::Type
Type
Definition:
Wavelet.h:25
Wavelet::Biorthogonal_2_8
@ Biorthogonal_2_8
Definition:
Wavelet.h:59
Wavelet::Symlet_10
@ Symlet_10
Definition:
Wavelet.h:46
Wavelet::Daubechies_9
@ Daubechies_9
Definition:
Wavelet.h:34
Wavelet::Symlet_9
@ Symlet_9
Definition:
Wavelet.h:45
Wavelet::Coiflet_2
@ Coiflet_2
Definition:
Wavelet.h:50
Wavelet::Coiflet_1
@ Coiflet_1
Definition:
Wavelet.h:49
Wavelet::Daubechies_40
@ Daubechies_40
Definition:
Wavelet.h:37
Wavelet::Symlet_3
@ Symlet_3
Definition:
Wavelet.h:39
Wavelet::Daubechies_20
@ Daubechies_20
Definition:
Wavelet.h:36
Wavelet::Daubechies_10
@ Daubechies_10
Definition:
Wavelet.h:35
Wavelet::Meyer
@ Meyer
Definition:
Wavelet.h:68
Wavelet::Biorthogonal_3_9
@ Biorthogonal_3_9
Definition:
Wavelet.h:64
Wavelet::Symlet_30
@ Symlet_30
Definition:
Wavelet.h:48
Wavelet::Biorthogonal_3_3
@ Biorthogonal_3_3
Definition:
Wavelet.h:61
Wavelet::Haar
@ Haar
Definition:
Wavelet.h:26
Wavelet::Biorthogonal_6_8
@ Biorthogonal_6_8
Definition:
Wavelet.h:67
Wavelet::Biorthogonal_1_5
@ Biorthogonal_1_5
Definition:
Wavelet.h:55
Wavelet::Symlet_2
@ Symlet_2
Definition:
Wavelet.h:38
Wavelet::Biorthogonal_1_3
@ Biorthogonal_1_3
Definition:
Wavelet.h:54
Wavelet::LastType
@ LastType
Definition:
Wavelet.h:70
Wavelet::Coiflet_5
@ Coiflet_5
Definition:
Wavelet.h:53
Wavelet::Daubechies_3
@ Daubechies_3
Definition:
Wavelet.h:28
Wavelet::Symlet_6
@ Symlet_6
Definition:
Wavelet.h:42
Wavelet::Symlet_8
@ Symlet_8
Definition:
Wavelet.h:44
Wavelet::Daubechies_5
@ Daubechies_5
Definition:
Wavelet.h:30
Wavelet::Biorthogonal_3_5
@ Biorthogonal_3_5
Definition:
Wavelet.h:62
Wavelet::Symlet_5
@ Symlet_5
Definition:
Wavelet.h:41
Wavelet::Coiflet_4
@ Coiflet_4
Definition:
Wavelet.h:52
Wavelet::Daubechies_8
@ Daubechies_8
Definition:
Wavelet.h:33
Wavelet::Symlet_20
@ Symlet_20
Definition:
Wavelet.h:47
Wavelet::Daubechies_2
@ Daubechies_2
Definition:
Wavelet.h:27
Wavelet::Coiflet_3
@ Coiflet_3
Definition:
Wavelet.h:51
Wavelet::Biorthogonal_5_5
@ Biorthogonal_5_5
Definition:
Wavelet.h:66
Wavelet::Daubechies_7
@ Daubechies_7
Definition:
Wavelet.h:32
Wavelet::Daubechies_6
@ Daubechies_6
Definition:
Wavelet.h:31
Wavelet::Biorthogonal_3_1
@ Biorthogonal_3_1
Definition:
Wavelet.h:60
Wavelet::Symlet_7
@ Symlet_7
Definition:
Wavelet.h:43
Wavelet::Daubechies_4
@ Daubechies_4
Definition:
Wavelet.h:29
Wavelet::Biorthogonal_3_7
@ Biorthogonal_3_7
Definition:
Wavelet.h:63
Wavelet::Symlet_4
@ Symlet_4
Definition:
Wavelet.h:40
Wavelet::Biorthogonal_2_2
@ Biorthogonal_2_2
Definition:
Wavelet.h:56
Wavelet::Biorthogonal_2_4
@ Biorthogonal_2_4
Definition:
Wavelet.h:57
Wavelet::Biorthogonal_2_6
@ Biorthogonal_2_6
Definition:
Wavelet.h:58
Wavelet::Biorthogonal_4_4
@ Biorthogonal_4_4
Definition:
Wavelet.h:65
Wavelet::getWaveletName
static std::string getWaveletName(Type)
libs
qm-dsp
dsp
wavelet
Wavelet.h
Generated on Mon Nov 11 2024 08:49:09 for Ardour by
1.9.1