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.

28 lines
1.0 KiB

  1. int initializeSD(INSTNCE *SD_inst);
  2. int silenceDetect(INSTNCE *SD_inst, float Energy_tx, float ZC_tx);
  3. void glblSDinitialize(INSTNCE *SD_inst);
  4. int classify(float Energy_val,float Alpha1val,float Zc_count,
  5. float energymean,float energystdev,float alpha1_mean,
  6. float alpha1stdev,float ZC_mean,float ZC_stdev,int s,
  7. float Energy_tx, float ZC_tx, INSTNCE *SD_inst);
  8. void update(float *histarray,int histsize,float *mean,float *stdev);
  9. int zeroCross(float x[], int n);
  10. #if PLOTFILE
  11. void getParams(INSTNCE *SD_inst, float *storebuff, int currBuffSize, float *p1, float *p2, float *p3);
  12. #else
  13. void getParams(INSTNCE *SD_inst, float *storebuff, int currBuffSize);
  14. #endif
  15. void prefilter(INSTNCE *SD_inst, float *sbuf, float *fbuf, int buffersize);
  16. void execSDloop(INSTNCE *SD_inst, int *isFrameSilent, float bigthreshold);
  17. float DotProdSD(float *in1, float *in2, int len);
  18. extern __inline unsigned short getRand();
  19. __inline unsigned randBit();
  20. /* End SDSTUFF */