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

preprocess.c File Reference

#include <math.h>
#include <speex/speex_preprocess.h>
#include "misc.h"
#include "smallft.h"

Defines

#define max(a, b)   ((a) > (b) ? (a) : (b))
#define min(a, b)   ((a) < (b) ? (a) : (b))
#define M_PI   3.14159263
#define SQRT_M_PI_2   0.88623
#define LOUDNESS_EXP   2.5
#define NB_BANDS   8
#define ZMIN   .1
#define ZMAX   .316
#define ZMIN_1   10
#define LOG_MIN_MAX_1   0.86859
#define NOISE_OVERCOMPENS   1.4

Functions

SpeexPreprocessState * speex_preprocess_state_init (int frame_size, int sampling_rate)
void speex_preprocess_state_destroy (SpeexPreprocessState *st)
int speex_preprocess (SpeexPreprocessState *st, short *x, int *echo)
void speex_preprocess_estimate_update (SpeexPreprocessState *st, short *x, int *echo)
int speex_preprocess_ctl (SpeexPreprocessState *state, int request, void *ptr)

Define Documentation

#define LOG_MIN_MAX_1   0.86859
 

#define LOUDNESS_EXP   2.5
 

#define M_PI   3.14159263
 

#define max a,
 )     ((a) > (b) ? (a) : (b))
 

#define min a,
 )     ((a) < (b) ? (a) : (b))
 

#define NB_BANDS   8
 

#define NOISE_OVERCOMPENS   1.4
 

#define SQRT_M_PI_2   0.88623
 

#define ZMAX   .316
 

#define ZMIN   .1
 

#define ZMIN_1   10
 


Function Documentation

int speex_preprocess SpeexPreprocessState *  st,
short *  x,
int *  echo
 

int speex_preprocess_ctl SpeexPreprocessState *  state,
int  request,
void *  ptr
 

void speex_preprocess_estimate_update SpeexPreprocessState *  st,
short *  x,
int *  echo
 

void speex_preprocess_state_destroy SpeexPreprocessState *  st  ) 
 

SpeexPreprocessState* speex_preprocess_state_init int  frame_size,
int  sampling_rate
 


Generated on Tue May 17 12:46:54 2005 for speex by  doxygen 1.4.2