Home
last modified time | relevance | path

Searched refs:memneeded (Results 1 – 4 of 4) 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/arm/
Dcelt_ne10_fft.c73 size_t memneeded = sizeof(struct arch_fft_state); in opus_fft_alloc_arm_neon() local
75 st->arch_fft = (arch_fft_state *)opus_alloc(memneeded); in opus_fft_alloc_arm_neon()
/external/libopus/celt/
Dkiss_fft.c441 size_t memneeded = sizeof(struct kiss_fft_state); /* twiddle factors*/ in opus_fft_alloc_twiddles() local
444 st = ( kiss_fft_state*)KISS_FFT_MALLOC( memneeded ); in opus_fft_alloc_twiddles()
446 if (mem != NULL && *lenmem >= memneeded) in opus_fft_alloc_twiddles()
448 *lenmem = memneeded; in opus_fft_alloc_twiddles()