Home
last modified time | relevance | path

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

/external/speex/libspeex/
Dkiss_fftr.c36 size_t subsize, memneeded; in kiss_fftr_alloc() local
45 memneeded = sizeof(struct kiss_fftr_state) + subsize + sizeof(kiss_fft_cpx) * ( nfft * 2); in kiss_fftr_alloc()
48 st = (kiss_fftr_cfg) KISS_FFT_MALLOC (memneeded); in kiss_fftr_alloc()
50 if (*lenmem >= memneeded) in kiss_fftr_alloc()
52 *lenmem = memneeded; in kiss_fftr_alloc()
Dkiss_fft.c467 size_t memneeded = sizeof(struct kiss_fft_state) in kiss_fft_alloc() local
471 st = ( kiss_fft_cfg)KISS_FFT_MALLOC( memneeded ); in kiss_fft_alloc()
473 if (mem != NULL && *lenmem >= memneeded) in kiss_fft_alloc()
475 *lenmem = memneeded; in kiss_fft_alloc()
/external/libopus/celt/
Dkiss_fft.c544 size_t memneeded = sizeof(struct kiss_fft_state); /* twiddle factors*/ in opus_fft_alloc_twiddles() local
547 st = ( kiss_fft_state*)KISS_FFT_MALLOC( memneeded ); in opus_fft_alloc_twiddles()
549 if (mem != NULL && *lenmem >= memneeded) in opus_fft_alloc_twiddles()
551 *lenmem = memneeded; in opus_fft_alloc_twiddles()