mdf.c File Reference

#include "misc.h"
#include "speex/speex_echo.h"
#include "fftwrap.h"
#include "pseudofloat.h"
#include "math_approx.h"

Include dependency graph for mdf.c:


Classes

struct  SpeexEchoState_

Defines

#define M_PI   3.14159265358979323846
#define min(a, b)   ((a)<(b) ? (a) : (b))
#define max(a, b)   ((a)>(b) ? (a) : (b))
#define WEIGHT_SHIFT   0
#define TOP16(x)   (x)

Functions

SpeexEchoState * speex_echo_state_init (int frame_size, int filter_length)
void speex_echo_state_reset (SpeexEchoState *st)
void speex_echo_state_destroy (SpeexEchoState *st)
void speex_echo_cancel (SpeexEchoState *st, short *ref, short *echo, short *out, spx_int32_t *Yout)
int speex_echo_ctl (SpeexEchoState *st, int request, void *ptr)

Variables

int fixed_point

Define Documentation

#define M_PI   3.14159265358979323846

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

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

#define TOP16 (  )     (x)

#define WEIGHT_SHIFT   0


Function Documentation

void speex_echo_cancel ( SpeexEchoState *  st,
short *  ref,
short *  echo,
short *  out,
spx_int32_t *  Yout 
)

Performs echo cancellation on a frame

int speex_echo_ctl ( SpeexEchoState *  st,
int  request,
void *  ptr 
)

void speex_echo_state_destroy ( SpeexEchoState *  st  ) 

Destroys an echo canceller state

SpeexEchoState* speex_echo_state_init ( int  frame_size,
int  filter_length 
)

Creates a new echo canceller state

void speex_echo_state_reset ( SpeexEchoState *  st  ) 

Resets echo canceller state


Variable Documentation

int fixed_point


Generated on Wed May 7 21:12:18 2008 for speex by  doxygen 1.5.3