wavelib/src/wavefilt.h

31 lines
628 B
C
Raw Normal View History

/*
Copyright (c) 2014, Rafat Hussain
Copyright (c) 2016, Holger Nahrstaedt
*/
2014-12-15 18:17:46 +08:00
#ifndef WAVEFILT_H_
#define WAVEFILT_H_
#include <stdio.h>
#include "conv.h"
#define _USE_MATH_DEFINES
#include "math.h"
2014-12-15 18:17:46 +08:00
#ifdef __cplusplus
extern "C" {
#endif
int filtlength(const char* name);
2014-12-15 18:17:46 +08:00
int filtcoef(const char* name, double *lp1, double *hp1, double *lp2, double *hp2);
2014-12-15 18:17:46 +08:00
void copy_reverse(const double *in, int N, double *out);
void qmf_even(const double *in, int N, double *out);
void qmf_wrev(const double *in, int N, double *out);
void copy(const double *in, int N, double *out);
2014-12-15 18:17:46 +08:00
#ifdef __cplusplus
}
#endif
#endif /* WAVEFILT_H_ */