www.pudn.com > g7231codec.rar > exc_lbc.h


/* 
** 
** File:        "exc_lbc.h" 
** 
** Description:     Function prototypes for "exc_lbc.c" 
**   
*/ 
 
/* 
    ITU-T G.723 Speech Coder   ANSI-C Source Code     Version 4.1 
    copyright (c) 1995, AudioCodes, DSP Group, France Telecom, 
    Universite de Sherbrooke.  All rights reserved. 
*/ 
 
 
short   Estim_Pitch( short *Dpnt, short Start ); 
PWDEF Comp_Pw( short *Dpnt, short Start, short Olp ); 
void  Filt_Pw( short *DataBuff, short *Dpnt, short Start, PWDEF Pw ); 
void  Find_Fcbk( short *Dpnt, short *ImpResp, LINEDEF *Line, short Sfc ); 
void  Gen_Trn( short *Dst, short *Src, short Olp ); 
void  Find_Best( BESTDEF *Best, short *Tv, short *ImpResp, short Np, 
short Olp ); 
void  Fcbk_Pack( short *Dpnt, SFSDEF *Sfs, BESTDEF *Best, short Np ); 
void  Fcbk_Unpk( short *Tv, SFSDEF Sfs, short Olp, short Sfc ); 
void  Find_Acbk( short *Tv, short *ImpResp, short *PrevExc, LINEDEF 
*Line, short Sfc ); 
void  Get_Rez( short *Tv, short *PrevExc, short Lag ); 
void  Decod_Acbk( short *Tv, short *PrevExc, short Olp, short Lid, 
short Gid ); 
short   Comp_Info( short *Buff, short Olp ); 
void     Regen( short *DataBuff, short *Buff, short Lag, short Gain, 
short Ecount, short *Sd ); 
PFDEF Comp_Lpf( short *Buff, short Olp, short Sfc ); 
short   Find_B( short *Buff, short Olp, short Sfc ); 
short   Find_F( short *Buff, short Olp, short Sfc ); 
PFDEF Get_Ind( short Ind, short Ten, short Ccr, short Enr ); 
void  Filt_Lpf( short *Tv, short *Buff, PFDEF Pf, short Sfc ); 
void reset_max_time(void); 
short search_T0 ( short T0, short Gid, short *gain_T0); 
short ACELP_LBC_code(short X[], short h[], short T0, short code[], 
            short *gain, short *shift, short *sign, short gain_T0); 
void   Cor_h(short *H, short *rr); 
void   Cor_h_X(short h[], short X[], short D[]); 
short D4i64_LBC(short Dn[], short rr[], short h[], short cod[], 
                 short y[], short *code_shift, short *sign); 
short G_code(short X[], short Y[], short *gain_q); 
void Update_Err(short Olp, short AcLg, short AcGn); 
short Test_Err(short Lag1, short Lag2);