Lines Matching defs:distort

459     FLOAT   distort[SFBMAX];
465 (void) calc_noise(gi, l3_xmin, distort, &dummy, 0);
483 if (distort[sfb] >= 1.0)
490 allowedNoise = (1.0 - distort[sfb]) * l3_xmin[sfb];
575 get_klemm_noise(const FLOAT * distort, const gr_info * const gi)
580 klemm_noise += penalties(distort[sfb]);
588 calc_noise_result * const calc, const gr_info * const gi, const FLOAT * distort)
626 calc->max_noise = get_klemm_noise(distort, gi);
699 * distort[] = noise/masking
700 * distort[] > 1 ==> noise is not masked
701 * distort[] < 1 ==> noise is masked
702 * max_dist = maximum value of distort[]
706 * 0 Amplify all bands with distort[]>1.
708 * 1 Amplify all bands with distort[] >= max_dist^(.5);
711 * 2 Amplify first band with distort[] >= max_dist;
715 * with distort[] >= .95*max_dist. This is to make sure we always
722 gr_info * const cod_info, FLOAT const *distort, FLOAT xrpow[576], int bRefine)
736 /* compute maximum value of distort[] */
739 if (trigger < distort[sfb])
740 trigger = distort[sfb];
765 /* ISO algorithm. amplify all bands with distort>1 */
778 if (distort[sfb] < trigger)
942 gr_info * const cod_info, FLOAT const *distort, FLOAT xrpow[576], int bRefine)
947 amp_scalefac_bands(gfc, cod_info, distort, xrpow, bRefine);
1018 FLOAT distort[SFBMAX];
1040 (void) calc_noise(cod_info, l3_xmin, distort, &best_noise_info, &prev_noise);
1075 * distort[] > 1 means noise > allowed noise
1078 if (distort[cod_info_w.sfbmax] > 1.0)
1081 && (distort[cod_info_w.sfbmax + 1] > 1.0
1082 || distort[cod_info_w.sfbmax + 2] > 1.0))
1087 if (balance_noise(gfc, &cod_info_w, distort, xrpow, bRefine) == 0)
1123 (void) calc_noise(&cod_info_w, l3_xmin, distort, &noise_info, &prev_noise);
1134 better = quant_compare(better, &best_noise_info, &noise_info, &cod_info_w, distort);