Lines Matching refs:fft_size
254 int fft_nbits, fft_size;
292 fft_size = 1 << fft_nbits;
293 tab = av_malloc(fft_size * sizeof(FFTComplex));
294 tab1 = av_malloc(fft_size * sizeof(FFTComplex));
295 tab_ref = av_malloc(fft_size * sizeof(FFTComplex));
296 tab2 = av_malloc(fft_size * sizeof(FFTSample));
336 av_log(NULL, AV_LOG_INFO," %d test\n", fft_size);
340 for (i = 0; i < fft_size; i++) {
353 err = check_diff((FFTSample *)tab_ref, tab2, fft_size, scale);
359 err = check_diff((FFTSample *)tab_ref, tab2, fft_size / 2, scale);
363 memcpy(tab, tab1, fft_size * sizeof(FFTComplex));
368 err = check_diff((FFTSample *)tab_ref, (FFTSample *)tab, fft_size * 2, 1.0);
372 fft_size_2 = fft_size >> 1;
381 memcpy(tab2, tab1, fft_size * sizeof(FFTSample));
386 for (i = 0; i < fft_size; i++) {
390 err = check_diff((float *)tab_ref, (float *)tab, fft_size * 2, 0.5);
392 for (i = 0; i < fft_size; i++) {
399 err = check_diff((float *)tab_ref, (float *)tab2, fft_size, 1.0);
403 memcpy(tab, tab1, fft_size * sizeof(FFTComplex));
410 err = check_diff((float *)tab_ref, (float *)tab, fft_size, 1.0);
436 memcpy(tab, tab1, fft_size * sizeof(FFTComplex));
441 memcpy(tab2, tab1, fft_size * sizeof(FFTSample));
445 memcpy(tab2, tab1, fft_size * sizeof(FFTSample));