Lines Matching refs:scale
200 static int check_diff(FFTSample *tab1, FFTSample *tab2, int n, double scale)
206 double e = fabs(tab1[i] - (tab2[i] / scale)) / RANGE;
229 static inline void mdct_init(FFTContext **s, int nbits, int inverse, double scale)
232 *s = av_mdct_init(nbits, inverse, scale);
234 ff_mdct_init(*s, nbits, inverse, scale);
359 "-f x set scale factor for output data of (I)MDCT to x\n");
386 double scale = 1.0;
428 scale = atof(optarg);
455 av_log(NULL, AV_LOG_INFO, "Scale factor is set to %f\n", scale);
460 mdct_init(&m, fft_nbits, do_inverse, scale);
516 err = check_diff(&tab_ref->re, tab2, fft_size, scale);
520 err = check_diff(&tab_ref->re, tab2, fft_size / 2, scale);