Home
last modified time | relevance | path

Searched refs:memneeded (Results 1 – 2 of 2) sorted by relevance

/system/chre/external/kiss_fft/
Dkiss_fftr.c31 size_t subsize, memneeded; in kiss_fftr_alloc() local
40memneeded = sizeof(struct kiss_fftr_state) + subsize + sizeof(kiss_fft_cpx) * (size_t)( nfft * 3 /… in kiss_fftr_alloc()
43 st = (kiss_fftr_cfg) KISS_FFT_MALLOC (memneeded); in kiss_fftr_alloc()
45 if (*lenmem >= memneeded) in kiss_fftr_alloc()
47 *lenmem = memneeded; in kiss_fftr_alloc()
Dkiss_fft.c342 size_t memneeded = sizeof(struct kiss_fft_state) in kiss_fft_alloc() local
346 st = ( kiss_fft_cfg)KISS_FFT_MALLOC( memneeded ); in kiss_fft_alloc()
348 if (mem != NULL && *lenmem >= memneeded) in kiss_fft_alloc()
350 *lenmem = memneeded; in kiss_fft_alloc()