Example #1
0
/*
 * Forward FFT.  Detect if NEON is supported and update function
 * pointers to the correct routines for both the forward and inverse
 * FFTs.  Then run the forward FFT routine.
 */
static OMXResult DetectForwardRealFFT(
    const OMX_F32* pSrc,
    OMX_F32* pDst,
    const OMXFFTSpec_R_F32* pFFTSpec) {
  SetFFTRoutines();
  return omxSP_FFTFwd_RToCCS_F32(pSrc, pDst, pFFTSpec);
}
Example #2
0
OMXResult ForwardRFFT(OMX_F32* x,
                      OMX_F32* y,
                      OMXFFTSpec_R_F32 *fft_fwd_spec) {
  return omxSP_FFTFwd_RToCCS_F32(x, y, fft_fwd_spec);
}