Lines Matching defs:tab2
195 static int check_diff(FFTSample *tab1, FFTSample *tab2, int n, double scale)
203 double e = fabsf(tab1[i] - (tab2[i] / scale)) / RANGE;
206 i, tab1[i], tab2[i]);
241 FFTSample *tab2;
296 tab2 = av_malloc(fft_size * sizeof(FFTSample));
352 m->imdct_calc(m, tab2, (FFTSample *)tab1);
353 err = check_diff((FFTSample *)tab_ref, tab2, fft_size, scale);
357 m->mdct_calc(m, tab2, (FFTSample *)tab1);
359 err = check_diff((FFTSample *)tab_ref, tab2, fft_size / 2, scale);
381 memcpy(tab2, tab1, fft_size * sizeof(FFTSample));
382 tab2[1] = tab1[fft_size_2].re;
384 r->rdft_calc(r, tab2);
387 tab[i].re = tab2[i];
393 tab2[i] = tab1[i].re;
396 r->rdft_calc(r, tab2);
399 err = check_diff((float *)tab_ref, (float *)tab2, fft_size, 1.0);
441 memcpy(tab2, tab1, fft_size * sizeof(FFTSample));
442 r->rdft_calc(r, tab2);
445 memcpy(tab2, tab1, fft_size * sizeof(FFTSample));
446 d->dct_calc(d, tab2);
481 av_free(tab2);