Searched refs:memneeded (Results 1 – 3 of 3) sorted by relevance
36 size_t subsize, memneeded; in kiss_fftr_alloc() local45 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()
467 size_t memneeded = sizeof(struct kiss_fft_state) in kiss_fft_alloc() local471 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()
544 size_t memneeded = sizeof(struct kiss_fft_state); /* twiddle factors*/ in opus_fft_alloc_twiddles() local547 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()