Lines Matching refs:fft_size
264 int fft_nbits, fft_size;
310 fft_size = 1 << fft_nbits;
311 tab = av_malloc_array(fft_size, sizeof(FFTComplex));
312 tab1 = av_malloc_array(fft_size, sizeof(FFTComplex));
313 tab_ref = av_malloc_array(fft_size, sizeof(FFTComplex));
314 tab2 = av_malloc_array(fft_size, sizeof(FFTSample));
360 av_log(NULL, AV_LOG_INFO," %d test\n", fft_size);
364 for (i = 0; i < fft_size; i++) {
378 err = check_diff((FFTSample *)tab_ref, tab2, fft_size, scale);
384 err = check_diff((FFTSample *)tab_ref, tab2, fft_size / 2, scale);
389 memcpy(tab, tab1, fft_size * sizeof(FFTComplex));
394 err = check_diff((FFTSample *)tab_ref, (FFTSample *)tab, fft_size * 2, 1.0);
399 fft_size_2 = fft_size >> 1;
408 memcpy(tab2, tab1, fft_size * sizeof(FFTSample));
413 for (i = 0; i < fft_size; i++) {
417 err = check_diff((float *)tab_ref, (float *)tab, fft_size * 2, 0.5);
419 for (i = 0; i < fft_size; i++) {
426 err = check_diff((float *)tab_ref, (float *)tab2, fft_size, 1.0);
432 memcpy(tab, tab1, fft_size * sizeof(FFTComplex));
439 err = check_diff((float *)tab_ref, (float *)tab, fft_size, 1.0);
466 memcpy(tab, tab1, fft_size * sizeof(FFTComplex));
471 memcpy(tab2, tab1, fft_size * sizeof(FFTSample));
475 memcpy(tab2, tab1, fft_size * sizeof(FFTSample));