OpenWareLaboratory
Window.cpp
Go to the documentation of this file.
1 #include "Window.h"
2 
3 void Window::applyWindow(float *signalIn, float *window, float *signalOut, int size){
4 #ifdef ARM_CORTEX
5  /* despite not explicitely documented in the CMSIS documentation,
6  this has been tested to behave properly even when pSrcA==pDst
7  void arm_mult_f32 (float32_t *pSrcA, float32_t *pSrcB, float32_t *pDst, uint32_t blockSize)
8  */
9  arm_mult_f32(signalIn, window, signalOut, size);
10 #else
11  for(int n=0; n<size; n++)
12  signalOut[n] = window[n]*signalIn[n];
13 #endif /* ARM_CORTEX */
14 }
static void applyWindow(float *signal, float *window, int size)
Definition: Window.h:136
static void window(WindowType type, float *window, int size)
Definition: Window.h:59