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

ltp.c File Reference

#include <math.h>
#include "ltp.h"
#include "stack_alloc.h"
#include "filters.h"
#include <speex/speex_bits.h>

Functions

void open_loop_nbest_pitch (float *sw, int start, int end, int len, int *pitch, float *gain, int N, char *stack)
float pitch_gain_search_3tap (float target[], float ak[], float awk1[], float awk2[], float exc[], void *par, int pitch, int p, int nsf, SpeexBits *bits, char *stack, float *exc2, float *r, int *cdbk_index)
int pitch_search_3tap (float target[], float *sw, float ak[], float awk1[], float awk2[], float exc[], void *par, int start, int end, float pitch_coef, int p, int nsf, SpeexBits *bits, char *stack, float *exc2, float *r, int complexity)
void pitch_unquant_3tap (float exc[], int start, int end, float pitch_coef, void *par, int nsf, int *pitch_val, float *gain_val, SpeexBits *bits, char *stack, int count_lost, int subframe_offset, float last_pitch_gain)
int forced_pitch_quant (float target[], float *sw, float ak[], float awk1[], float awk2[], float exc[], void *par, int start, int end, float pitch_coef, int p, int nsf, SpeexBits *bits, char *stack, float *exc2, float *r, int complexity)
void forced_pitch_unquant (float exc[], int start, int end, float pitch_coef, void *par, int nsf, int *pitch_val, float *gain_val, SpeexBits *bits, char *stack, int count_lost, int subframe_offset, float last_pitch_gain)

Function Documentation

int forced_pitch_quant float  target[],
float *  sw,
float  ak[],
float  awk1[],
float  awk2[],
float  exc[],
void *  par,
int  start,
int  end,
float  pitch_coef,
int  p,
int  nsf,
SpeexBits *  bits,
char *  stack,
float *  exc2,
float *  r,
int  complexity
 

Forced pitch delay and gain

void forced_pitch_unquant float  exc[],
int  start,
int  end,
float  pitch_coef,
void *  par,
int  nsf,
int *  pitch_val,
float *  gain_val,
SpeexBits *  bits,
char *  stack,
int  count_lost,
int  subframe_offset,
float  last_pitch_gain
 

Unquantize forced pitch delay and gain

void open_loop_nbest_pitch float *  sw,
int  start,
int  end,
int  len,
int *  pitch,
float *  gain,
int  N,
char *  stack
 

float pitch_gain_search_3tap float  target[],
float  ak[],
float  awk1[],
float  awk2[],
float  exc[],
void *  par,
int  pitch,
int  p,
int  nsf,
SpeexBits *  bits,
char *  stack,
float *  exc2,
float *  r,
int *  cdbk_index
 

Finds the best quantized 3-tap pitch predictor by analysis by synthesis

int pitch_search_3tap float  target[],
float *  sw,
float  ak[],
float  awk1[],
float  awk2[],
float  exc[],
void *  par,
int  start,
int  end,
float  pitch_coef,
int  p,
int  nsf,
SpeexBits *  bits,
char *  stack,
float *  exc2,
float *  r,
int  complexity
 

Finds the best quantized 3-tap pitch predictor by analysis by synthesis

void pitch_unquant_3tap float  exc[],
int  start,
int  end,
float  pitch_coef,
void *  par,
int  nsf,
int *  pitch_val,
float *  gain_val,
SpeexBits *  bits,
char *  stack,
int  count_lost,
int  subframe_offset,
float  last_pitch_gain
 


Generated on Mon Oct 11 15:42:53 2004 for speex by doxygen 1.3.7