filters.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
#ifndef FILTERS_H
00034
#define FILTERS_H
00035
00036
00037 typedef struct CombFilterMem {
00038 int last_pitch;
00039 float last_pitch_gain[3];
00040 float smooth_gain;
00041 }
CombFilterMem;
00042
00043
00044
void qmf_decomp(
float *xx,
float *aa,
float *y1,
float *y2,
int N,
int M,
float *mem,
char *stack);
00045
void fir_mem_up(
float *x,
float *a,
float *y,
int N,
int M,
float *mem,
char *stack);
00046
00047
00048
void filter_mem2(
float *x,
float *num,
float *den,
float *y,
int N,
int ord,
float *mem);
00049
void fir_mem2(
float *x,
float *num,
float *y,
int N,
int ord,
float *mem);
00050
void iir_mem2(
float *x,
float *den,
float *y,
int N,
int ord,
float *mem);
00051
00052
00053
void bw_lpc(
float gamma,
float *lpc_in,
float *lpc_out,
int order);
00054
00055
00056
00057
00058
void fir_decim_mem(
float *x,
float *a,
float *y,
int N,
int M,
float *mem);
00059
00060
void syn_percep_zero(
float *x,
float *ak,
float *awk1,
float *awk2,
float *y,
int N,
int ord,
char *stack);
00061
00062
void residue_percep_zero(
float *xx,
float *ak,
float *awk1,
float *awk2,
float *y,
int N,
int ord,
char *stack);
00063
00064
void comp_filter_mem_init (
CombFilterMem *mem);
00065
00066
void comb_filter(
00067
float *exc,
00068
float *new_exc,
00069
float *ak,
00070
int p,
00071
int nsf,
00072
int pitch,
00073
float *pitch_gain,
00074
float comb_gain,
00075
CombFilterMem *mem
00076 );
00077
00078
00079
#endif
Generated on Mon Oct 11 15:42:53 2004 for speex by
1.3.7