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.

110 lines
5.1 KiB

  1. void PassLow8(short *vin,short *vout,short *mem,short nech);
  2. #if 0
  3. // PhilF: The following functions are never called!!!
  4. void PassLow11(short *vin,short *vout,short *mem,short nech);
  5. void PassHigh8(short *mem, short *Vin, short *Vout, short lfen);
  6. void PassHigh11(short *mem, short *Vin, short *Vout, short lfen);
  7. void Down11_8(short *Vin, short *Vout, short *mem);
  8. void Up8_11(short *Vin, short *Vout, short *mem1, short *mem2);
  9. #endif
  10. void QMFilter(short *in,short *coef,short *out_low,short *out_high,short *mem,short lng);
  11. void QMInverse(short *in_low,short *in_high,short *coef,short *out,short *mem,short lng);
  12. void iConvert64To8(short *in, short *out, short N, short *mem);
  13. void iConvert8To64(short *in, short *out, short N, short *mem);
  14. void fenetre(short *src,short *fen,short *dest,short lng);
  15. void autocor(short *vech,long *ri,short nech,short ordre);
  16. short max_autoc(short *vech,short nech,short debut,short fin);
  17. short max_vect(short *vech,short nech);
  18. void upd_max(long *corr_ene,long *vval,short pitch);
  19. short upd_max_d(long *corr_ene,long *vval);
  20. void norm_corrl(long *corr,long *vval);
  21. void norm_corrr(long *corr,long *vval);
  22. void energy(short *vech,long *ene,short lng);
  23. void venergy(short *vech,long *vene,short lng);
  24. void energy2(short *vech,long *ene,short lng);
  25. void upd_ene(long *ener,long *val);
  26. short max_posit(long *vcorr,long *maxval,short pitch,short lvect);
  27. void correlation(short *vech,short *vech2,long *acc,short lng);
  28. void schur(short *parcor,long *Ri,short netages);
  29. void interpol(short *lsp1,short *lsp2,short *dest,short lng);
  30. void add_sf_vect(short *y1,short *y2,short deb,short lng);
  31. void sub_sf_vect(short *y1,short *y2,short deb,short lng);
  32. void short_to_short(short *src,short *dest,short lng);
  33. void inver_v_int(short *src,short *dest,short lng);
  34. void long_to_long(long *src,long *dest,short lng);
  35. void init_zero(short *src,short lng);
  36. #if 0
  37. // PhilF: The following function is never called!!!
  38. void update_dic(short *y1,short *y2,short hy[],short lng,short i0,short fact);
  39. #endif
  40. void update_ltp(short *y1,short *y2,short hy[],short lng,short gdgrd,short fact);
  41. void proc_gain2(long *corr_ene,long *gain,short bit_garde);
  42. void proc_gain(long *corr_ene,long *gain);
  43. void decode_dic(short *code,short dic,short npuls);
  44. void dsynthesis(long *z,short *coef,short *input,short *output,
  45. short lng,short netages);
  46. void synthesis(short *z,short *coef,short *input,short *output,
  47. short lng,short netages,short bdgrd );
  48. void synthese(short *z,short *coef,short *input,short *output,
  49. short lng,short netages);
  50. void f_inverse(short *z,short *coef,short *input,short *output,
  51. short lng,short netages );
  52. void filt_iir(long *zx,long *ai,short *Vin,short *Vout,short lfen,short ordre);
  53. #if 0
  54. // PhilF: The following is never called!!!
  55. void filt_iir_a(long *zx,long *ai,short *Vin,short *Vout,short lfen,short ordre);
  56. #endif
  57. void mult_fact(short src[],short dest[],short fact,short lng);
  58. void mult_f_acc(short src[],short dest[],short fact,short lng);
  59. void dec_lsp(short *code,short *tablsp,short *nbit,short *bitdi,short *tabdi);
  60. void teta_to_cos(short *tabcos,short *lsp,short netages);
  61. void cos_to_teta(short *tabcos,short *lsp,short netages);
  62. void lsp_to_ai(short *ai_lsp,long *tmp,short netages);
  63. void ki_to_ai(short *ki,long *ai,short netages);
  64. void ai_to_pq(long *aip,short netages);
  65. void horner(long *P,long *T,long *a,short n,short s);
  66. short calcul_s(long a,long b);
  67. void binome(short *lsp,long *PP);
  68. void deacc(short *src,short *dest,short fact,short lfen,short *last_out);
  69. void filt_in(short *mem,short *Vin,short *Vout,short lfen);
  70. short calc_gltp(short *gltp,short *bq,short *bv,long ttt);
  71. short calc_garde(short MAX);
  72. short calc_gopt(short *c,short *code,short *gq,short *gv,short voise,
  73. short npopt,short pitch,short espopt,short depl,short position,
  74. short soudecal,long vmax);
  75. void decimation(short *vin,short *vout,short nech);
  76. #ifndef _X86_
  77. #ifdef __cplusplus
  78. extern "C" {
  79. #endif
  80. unsigned int SampleRate6400To8000( short * pwInputBuffer,
  81. short * pwOutputBuffer,
  82. unsigned int uiInputBufferLength,
  83. int * piFilterDelay,
  84. unsigned int * puiDelayPosition,
  85. int * piInputStreamTime,
  86. int * piOutputStreamTime );
  87. unsigned int SampleRate8000To6400( short * pwInputBuffer,
  88. short * pwOutputBuffer,
  89. unsigned int uiInputBufferLength,
  90. int * piFilterDelay,
  91. unsigned int * puiDelayPosition,
  92. int * piInputStreamTime,
  93. int * piOutputStreamTime );
  94. int FirFilter( int * piFilterCoefficients,
  95. int * piFilterDelay,
  96. unsigned int uiDelayPosition,
  97. unsigned int uiFilterLength );
  98. _int64 DotProduct( int * piVector_0,
  99. int * piVector_1,
  100. unsigned int uiLength );
  101. #ifdef __cplusplus
  102. }
  103. #endif
  104. #endif