Loading lib_com/lsf_tools_fx.c +2 −2 Original line number Diff line number Diff line Loading @@ -448,13 +448,13 @@ void E_LPC_f_isp_a_conversion( const Word16 *isp, Word16 *a, const Word16 m ) /* a[i] = 0.5*(f1[i] + f2[i]) */ t0 = L_add( f1[i], f2[i] ); /* f1[i] + f2[i] */ t0 = L_shl( t0, q ); a[i] = round_fx( t0 ); /* from Q23 to Q12 and * 0.5 */ a[i] = round_fx_sat( t0 ); /* from Q23 to Q12 and * 0.5 */ move16(); /* a[j] = 0.5*(f1[i] - f2[i]) */ t0 = L_sub( f1[i], f2[i] ); /* f1[i] - f2[i] */ t0 = L_shl( t0, q ); a[j] = round_fx( t0 ); /* from Q23 to Q12 and * 0.5 */ a[j] = round_fx_sat( t0 ); /* from Q23 to Q12 and * 0.5 */ move16(); j = sub( j, 1 ); Loading Loading
lib_com/lsf_tools_fx.c +2 −2 Original line number Diff line number Diff line Loading @@ -448,13 +448,13 @@ void E_LPC_f_isp_a_conversion( const Word16 *isp, Word16 *a, const Word16 m ) /* a[i] = 0.5*(f1[i] + f2[i]) */ t0 = L_add( f1[i], f2[i] ); /* f1[i] + f2[i] */ t0 = L_shl( t0, q ); a[i] = round_fx( t0 ); /* from Q23 to Q12 and * 0.5 */ a[i] = round_fx_sat( t0 ); /* from Q23 to Q12 and * 0.5 */ move16(); /* a[j] = 0.5*(f1[i] - f2[i]) */ t0 = L_sub( f1[i], f2[i] ); /* f1[i] - f2[i] */ t0 = L_shl( t0, q ); a[j] = round_fx( t0 ); /* from Q23 to Q12 and * 0.5 */ a[j] = round_fx_sat( t0 ); /* from Q23 to Q12 and * 0.5 */ move16(); j = sub( j, 1 ); Loading