c@285: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ c@285: c@285: /* c@285: QM DSP Library c@285: c@285: Centre for Digital Music, Queen Mary, University of London. c@285: This file copyright 2009 Thomas Wilmering. c@309: c@309: This program is free software; you can redistribute it and/or c@309: modify it under the terms of the GNU General Public License as c@309: published by the Free Software Foundation; either version 2 of the c@309: License, or (at your option) any later version. See the file c@309: COPYING included with this distribution for more information. c@285: */ c@285: c@285: #ifndef _WAVELET_H_ c@285: #define _WAVELET_H_ c@285: c@285: #include c@285: #include c@285: c@285: class Wavelet c@285: { c@285: public: c@285: enum Type { c@285: Haar = 0, c@285: Daubechies_2, c@285: Daubechies_3, c@285: Daubechies_4, c@285: Daubechies_5, c@285: Daubechies_6, c@285: Daubechies_7, c@285: Daubechies_8, c@285: Daubechies_9, c@285: Daubechies_10, c@285: Daubechies_20, c@285: Daubechies_40, c@285: Symlet_2, c@285: Symlet_3, c@285: Symlet_4, c@285: Symlet_5, c@285: Symlet_6, c@285: Symlet_7, c@285: Symlet_8, c@285: Symlet_9, c@285: Symlet_10, c@285: Symlet_20, c@285: Symlet_30, c@285: Coiflet_1, c@285: Coiflet_2, c@285: Coiflet_3, c@285: Coiflet_4, c@285: Coiflet_5, c@285: Biorthogonal_1_3, c@285: Biorthogonal_1_5, c@285: Biorthogonal_2_2, c@285: Biorthogonal_2_4, c@285: Biorthogonal_2_6, c@285: Biorthogonal_2_8, c@285: Biorthogonal_3_1, c@285: Biorthogonal_3_3, c@285: Biorthogonal_3_5, c@285: Biorthogonal_3_7, c@285: Biorthogonal_3_9, c@285: Biorthogonal_4_4, c@285: Biorthogonal_5_5, c@285: Biorthogonal_6_8, c@285: Meyer, c@285: c@285: LastType = Meyer c@285: }; c@285: c@285: static std::string getWaveletName(Type); c@285: c@285: static void createDecompositionFilters(Type, c@434: std::vector &lpd, c@434: std::vector &hpd); c@285: }; c@285: c@285: #endif