Home | History | Annotate | Download | only in src

Lines Matching full:scaled

107 /* the maximum allowed change of the intensity direction (unit: IS scale) - scaled with factor 0.25 - */
330 /* inv_n is scaled with factor 2 to compensate fMultDiv2() in subsequent loops */
349 ml += fMultDiv2((mdctSpectrumLeft[j] << s),inv_n); // scaled with mdctScale - s + inv_n
350 mr += fMultDiv2((mdctSpectrumRight[j] << s),inv_n); // scaled with mdctScale - s + inv_n
352 ml = fMultDiv2(ml,inv_n); // scaled with mdctScale - s + inv_n
353 mr = fMultDiv2(mr,inv_n); // scaled with mdctScale - s + inv_n
356 tmp_l = fMultDiv2((mdctSpectrumLeft[j] << s),inv_n) - ml; // scaled with mdctScale - s + inv_n
357 tmp_r = fMultDiv2((mdctSpectrumRight[j] << s),inv_n) - mr; // scaled with mdctScale - s + inv_n
359 prod_lr += fMultDiv2(tmp_l,tmp_r); // scaled with 2*(mdctScale - s + inv_n) + 1
360 square_l += fPow2Div2(tmp_l); // scaled
361 square_r += fPow2Div2(tmp_r); // scaled with 2*(mdctScale - s + inv_n) + 1
363 prod_lr = prod_lr << 1; // scaled with 2*(mdctScale - s + inv_n)
364 square_l = square_l << 1; // scaled with 2*(mdctScale - s + inv_n)
365 square_r = square_r << 1; // scaled with 2*(mdctScale - s + inv_n)
655 inv_n = GetInvInt((sfbOffset[sfb + sfboffs + 1] - sfbOffset[sfb + sfboffs])>>1); // scaled with 2 to compensate fMultDiv2() in subsequent loop
706 es += fMultDiv2(s,s)>>(MDCT_SPEC_SF-1); // scaled 2*(mdctScale - s0 + 1) + MDCT_SPEC_SF