Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
#include <string.h>
#include "iLBC_define.h"
#include "helpfun.h"
#include "lsf.h"
#include "constants.h"
Go to the source code of this file.
Functions | |
void | LPCencode (float *syntdenum, float *weightdenum, int *lsf_index, float *data, iLBC_Enc_Inst_t *iLBCenc_inst) |
void | LSFinterpolate2a_enc (float *a, float *lsf1, float *lsf2, float coef, long length) |
void | SimpleAnalysis (float *lsf, float *data, iLBC_Enc_Inst_t *iLBCenc_inst) |
void | SimpleInterpolateLSF (float *syntdenum, float *weightdenum, float *lsf, float *lsfdeq, float *lsfold, float *lsfdeqold, int length, iLBC_Enc_Inst_t *iLBCenc_inst) |
void | SimplelsfQ (float *lsfdeq, int *index, float *lsf, int lpc_n) |
void LPCencode | ( | float * | syntdenum, |
float * | weightdenum, | ||
int * | lsf_index, | ||
float * | data, | ||
iLBC_Enc_Inst_t * | iLBCenc_inst | ||
) |
Definition at line 214 of file LPCencode.c.
References LPC_FILTERORDER, iLBC_Enc_Inst_t_::lpc_n, LPC_N_MAX, LSF_check(), iLBC_Enc_Inst_t_::lsfdeqold, iLBC_Enc_Inst_t_::lsfold, SimpleAnalysis(), SimpleInterpolateLSF(), and SimplelsfQ().
Referenced by iLBC_encode().
void LSFinterpolate2a_enc | ( | float * | a, |
float * | lsf1, | ||
float * | lsf2, | ||
float | coef, | ||
long | length | ||
) |
Definition at line 81 of file LPCencode.c.
References a, interpolate(), LPC_FILTERORDER, and lsf2a().
Referenced by SimpleInterpolateLSF().
void SimpleAnalysis | ( | float * | lsf, |
float * | data, | ||
iLBC_Enc_Inst_t * | iLBCenc_inst | ||
) |
Definition at line 28 of file LPCencode.c.
References a2lsf(), autocorr(), iLBC_Enc_Inst_t_::blockl, BLOCKL_MAX, bwexpand(), levdurb(), lpc_asymwinTbl, iLBC_Enc_Inst_t_::lpc_buffer, LPC_CHIRP_SYNTDENUM, LPC_FILTERORDER, lpc_lagwinTbl, LPC_LOOKBACK, iLBC_Enc_Inst_t_::lpc_n, lpc_winTbl, and window.
Referenced by LPCencode().
void SimpleInterpolateLSF | ( | float * | syntdenum, |
float * | weightdenum, | ||
float * | lsf, | ||
float * | lsfdeq, | ||
float * | lsfold, | ||
float * | lsfdeqold, | ||
int | length, | ||
iLBC_Enc_Inst_t * | iLBCenc_inst | ||
) |
Definition at line 99 of file LPCencode.c.
References bwexpand(), LPC_CHIRP_WEIGHTDENUM, LPC_FILTERORDER, lsf_weightTbl_20ms, lsf_weightTbl_30ms, LSFinterpolate2a_enc(), iLBC_Enc_Inst_t_::mode, and iLBC_Enc_Inst_t_::nsub.
Referenced by LPCencode().
void SimplelsfQ | ( | float * | lsfdeq, |
int * | index, | ||
float * | lsf, | ||
int | lpc_n | ||
) |
Definition at line 190 of file LPCencode.c.
References dim_lsfCbTbl, LPC_FILTERORDER, LSF_NSPLIT, lsfCbTbl, size_lsfCbTbl, and SplitVQ().
Referenced by LPCencode().