Main Page | Class List | Directories | File List | Class Members | File Members

filters.c File Reference

#include "filters.h"
#include "stack_alloc.h"
#include "misc.h"
#include "math_approx.h"
#include "ltp.h"
#include <math.h>

Include dependency graph for filters.c:


Defines

#define COMB_STEP   1.0

Functions

void bw_lpc (spx_word16_t gamma, const spx_coef_t *lpc_in, spx_coef_t *lpc_out, int order)
void signal_mul (const spx_sig_t *x, spx_sig_t *y, spx_word32_t scale, int len)
void signal_div (const spx_sig_t *x, spx_sig_t *y, spx_word32_t scale, int len)
spx_word16_t compute_rms (const spx_sig_t *x, int len)
void filter_mem2 (const spx_sig_t *x, const spx_coef_t *num, const spx_coef_t *den, spx_sig_t *y, int N, int ord, spx_mem_t *mem)
void iir_mem2 (const spx_sig_t *x, const spx_coef_t *den, spx_sig_t *y, int N, int ord, spx_mem_t *mem)
void fir_mem2 (const spx_sig_t *x, const spx_coef_t *num, spx_sig_t *y, int N, int ord, spx_mem_t *mem)
void syn_percep_zero (const spx_sig_t *xx, const spx_coef_t *ak, const spx_coef_t *awk1, const spx_coef_t *awk2, spx_sig_t *y, int N, int ord, char *stack)
void residue_percep_zero (const spx_sig_t *xx, const spx_coef_t *ak, const spx_coef_t *awk1, const spx_coef_t *awk2, spx_sig_t *y, int N, int ord, char *stack)
void compute_impulse_response (const spx_coef_t *ak, const spx_coef_t *awk1, const spx_coef_t *awk2, spx_word16_t *y, int N, int ord, char *stack)
void qmf_decomp (const spx_word16_t *xx, const spx_word16_t *aa, spx_sig_t *y1, spx_sig_t *y2, int N, int M, spx_word16_t *mem, char *stack)
void fir_mem_up (const spx_sig_t *x, const spx_word16_t *a, spx_sig_t *y, int N, int M, spx_word32_t *mem, char *stack)
void comb_filter_mem_init (CombFilterMem *mem)
void comb_filter (spx_sig_t *exc, spx_sig_t *new_exc, spx_coef_t *ak, int p, int nsf, int pitch, spx_word16_t *pitch_gain, spx_word16_t comb_gain, CombFilterMem *mem)

Define Documentation

#define COMB_STEP   1.0
 


Function Documentation

void bw_lpc (  spx_word16_t  gamma,
const spx_coef_t *  lpc_in,
spx_coef_t *  lpc_out,
int  order
) 
 

void comb_filter (  spx_sig_t *  exc,
spx_sig_t *  new_exc,
spx_coef_t *  ak,
int  p,
int  nsf,
int  pitch,
spx_word16_t *  pitch_gain,
spx_word16_t  comb_gain,
CombFilterMem *  mem
) 
 

void comb_filter_mem_init (  CombFilterMem *  mem  ) 
 

void compute_impulse_response (  const spx_coef_t *  ak,
const spx_coef_t *  awk1,
const spx_coef_t *  awk2,
spx_word16_t *  y,
int  N,
int  ord,
char *  stack
) 
 

spx_word16_t compute_rms (  const spx_sig_t *  x,
int  len
) 
 

void filter_mem2 (  const spx_sig_t *  x,
const spx_coef_t *  num,
const spx_coef_t *  den,
spx_sig_t *  y,
int  N,
int  ord,
spx_mem_t *  mem
) 
 

void fir_mem2 (  const spx_sig_t *  x,
const spx_coef_t *  num,
spx_sig_t *  y,
int  N,
int  ord,
spx_mem_t *  mem
) 
 

void fir_mem_up (  const spx_sig_t *  x,
const spx_word16_t *  a,
spx_sig_t *  y,
int  N,
int  M,
spx_word32_t *  mem,
char *  stack
) 
 

void iir_mem2 (  const spx_sig_t *  x,
const spx_coef_t *  den,
spx_sig_t *  y,
int  N,
int  ord,
spx_mem_t *  mem
) 
 

void qmf_decomp (  const spx_word16_t *  xx,
const spx_word16_t *  aa,
spx_sig_t *  y1,
spx_sig_t *  y2,
int  N,
int  M,
spx_word16_t *  mem,
char *  stack
) 
 

void residue_percep_zero (  const spx_sig_t *  xx,
const spx_coef_t *  ak,
const spx_coef_t *  awk1,
const spx_coef_t *  awk2,
spx_sig_t *  y,
int  N,
int  ord,
char *  stack
) 
 

void signal_div (  const spx_sig_t *  x,
spx_sig_t *  y,
spx_word32_t  scale,
int  len
) 
 

void signal_mul (  const spx_sig_t *  x,
spx_sig_t *  y,
spx_word32_t  scale,
int  len
) 
 

void syn_percep_zero (  const spx_sig_t *  xx,
const spx_coef_t *  ak,
const spx_coef_t *  awk1,
const spx_coef_t *  awk2,
spx_sig_t *  y,
int  N,
int  ord,
char *  stack
) 
 


Generated on Thu Jun 15 13:42:11 2006 for speex by  doxygen 1.4.2