1
0

window.h 735 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #pragma once
  3. #include <bfc/platform/types.h>
  4. #include <bfc/platform/export.h>
  5. #ifdef __cplusplus
  6. extern "C" {
  7. #endif
  8. #ifdef NSUTIL_EXPORTS
  9. #define NSUTIL_EXPORT __declspec(dllexport)
  10. #else
  11. #define NSUTIL_EXPORT __declspec(dllimport)
  12. #endif
  13. NSUTIL_EXPORT int nsutil_window_Hann_F32_IP(float *signal, size_t number_of_samples);
  14. // fills a buffer with multiplier values for a Hann window
  15. NSUTIL_EXPORT int nsutil_window_FillHann_F32_IP(float *window, size_t number_of_samples);
  16. NSUTIL_EXPORT int nsutil_window_FillKaiser_F32_IP(float *window, float alpha, size_t number_of_samples);
  17. NSUTIL_EXPORT int nsutil_window_Multiply_F32_IP(float *signal, const float *window, size_t number_of_samples);
  18. #ifdef __cplusplus
  19. }
  20. #endif