Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
2.6 KiB

  1. //
  2. // ITU-T G.723 Floating Point Speech Coder ANSI C Source Code. Version 1.00
  3. // copyright (c) 1995, AudioCodes, DSP Group, France Telecom,
  4. // Universite de Sherbrooke, Intel Corporation. All rights reserved.
  5. //
  6. int Estim_Pitch( float *Dpnt, int Start );
  7. int Estim_Int( float *Dpnt, int Start );
  8. PWDEF Comp_Pw( float *Dpnt, int Start, int Olp );
  9. void Filt_Pw( float *DataBuff, float *Dpnt, int Start, PWDEF Pw );
  10. void Find_Fcbk( float *Dpnt, float *ImpResp, LINEDEF *Line, int Sfc, enum Crate WrkRate, int flags, int UseMMX );
  11. int ACELP_LBC_code(float *X, float *h, int T0, float *code,
  12. int *ind_gain, int *shift, int *sign, float gain_T0, int flags);
  13. int ACELP_LBC_code_int(float *X, float *h, int T0, float *code,
  14. int *ind_gain, int *shift, int *sign, float gain_T0, int flags);
  15. void Cor_h(float *H, float *rr);
  16. void Cor_h_X(float h[],float X[],float D[]);
  17. int D4i64_LBC(float Dn[], float rr[], float h[], float cod[],
  18. float y[], int *code_shift, int *sign, int flags);
  19. int G_code(float X[], float Y[], float *gain_q);
  20. void Gen_Trn( float *Dst, float *Src, int Olp );
  21. void Find_Best( BESTDEF *Best, float *Tv, float *ImpResp, int Np,
  22. int Olp );
  23. void Fcbk_Pack( float *Dpnt, SFSDEF *Sfs, BESTDEF *Best, int Np );
  24. void Fcbk_Unpk( float *Tv, SFSDEF Sfs, int Olp, int Sfc, enum Crate WrkRate );
  25. void Find_Acbk( float *Tv, float *ImpResp, float *PrevExc, LINEDEF
  26. *Line, int Sfc, enum Crate WrkRate, int flags, CODDEF *CodStat);
  27. void Get_Rez( float *Tv, float *PrevExc, int Lag );
  28. void Decod_Acbk( float *Tv, float *PrevExc, int Olp, int Lid,
  29. int Gid, enum Crate WrkRate );
  30. int Comp_Info( float *Buff, int Olp );
  31. void Regen( float *DataBuff, float *Buff, int Lag, float Gain,
  32. int Ecount, int *Sd );
  33. //Comp_Lpf
  34. //Find_B
  35. //Find_F
  36. //Get_Ind
  37. //Filt_Lpf
  38. int search_T0 ( int T0, int Gid, float *gain_T0);
  39. void reset_max_time(void);
  40. //This routine is not part of the ITU 723 standard
  41. int Find_L(float *OccPos, float *ImrCorr, float *WrkBlk, float Pamp, int k);
  42. int Test_Err(int Lag1, int Lag2, CODDEF *CodStat);
  43. void Update_Err(int Olp, int AcLg, int AcGn, CODDEF *CodStat);
  44. void Find_AcbkInt( float *Tv, float *ImpResp, float *PrevExc, LINEDEF
  45. *Line, int Sfc, enum Crate WrkRate, int flags, CODDEF *CodStat);
  46. short norm(long L_var1);
  47. void FBufCalcInt(short *fi, short *fo, short *impresp, short *reztemp, int n);
  48. void CodeBkSrch(short *lpint, short *spint, int numloops, int *gid, int *max);
  49. void FloatToShort(float *fbuf, short *sbuf, int count);
  50. int DotMMX60(short *ind, short *oud);
  51. void DupRezBuf(short *rezbuf, short *reztemp);