Home
last modified time | relevance | path

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

/chre-3.4.0/external/kiss_fft/
Dkiss_fftr.c39 size_t subsize, memneeded; in kiss_fftr_alloc() local
50memneeded = sizeof(struct kiss_fftr_state) + subsize + sizeof(kiss_fft_cpx) * (size_t)( nfft * 3 /… in kiss_fftr_alloc()
53 st = (kiss_fftr_cfg) KISS_FFT_MALLOC (memneeded); in kiss_fftr_alloc()
55 if (*lenmem >= memneeded) in kiss_fftr_alloc()
57 *lenmem = memneeded; in kiss_fftr_alloc()
Dkiss_fft.c350 size_t memneeded = sizeof(struct kiss_fft_state) in kiss_fft_alloc() local
354 st = ( kiss_fft_cfg)KISS_FFT_MALLOC( memneeded ); in kiss_fft_alloc()
356 if (mem != NULL && *lenmem >= memneeded) in kiss_fft_alloc()
358 *lenmem = memneeded; in kiss_fft_alloc()