Loading lib_enc/analy_sp_fx.c +3 −3 Original line number Diff line number Diff line Loading @@ -1046,7 +1046,7 @@ static void ivas_find_enr1( // *ptE *= norm_val; /* normalization - corresponds to FFT normalization by 2/L_FFT */ Ltmp = Mpy_32_32( Ltmp, norm_val ); // 2 * Qfft + te_exp - 32 *ptE = L_shl( Ltmp, sub( add( Q_new, QSCALE - 2 ), add( shl( q_data, Q1 ), sub( te_exp, 32 ) ) ) ); // Q_new + QSCALE - 2 *ptE = L_shl_sat( Ltmp, sub( add( Q_new, QSCALE - 2 ), add( shl( q_data, Q1 ), sub( te_exp, 32 ) ) ) ); // Q_new + QSCALE - 2 move32(); *Bin_E++ = *ptE; // Q_new + QSCALE - 2 Loading Loading @@ -1095,7 +1095,7 @@ static void ivas_find_enr1( // *Bin_E *= norm_val; Ltmp = Mpy_32_32( Ltmp, norm_val ); // 2 * Qfft + te_exp - 32 *Bin_E = L_shl( Ltmp, sub( add( Q_new, QSCALE - 2 ), add( shl( q_data, Q1 ), sub( te_exp, 32 ) ) ) ); // Q_new + QSCALE - 2 *Bin_E = L_shl_sat( Ltmp, sub( add( Q_new, QSCALE - 2 ), add( shl( q_data, Q1 ), sub( te_exp, 32 ) ) ) ); // Q_new + QSCALE - 2 move32(); band[i] = L_add_sat( band[i], *Bin_E++ ); // Q_new + QSCALE - 2 Loading Loading
lib_enc/analy_sp_fx.c +3 −3 Original line number Diff line number Diff line Loading @@ -1046,7 +1046,7 @@ static void ivas_find_enr1( // *ptE *= norm_val; /* normalization - corresponds to FFT normalization by 2/L_FFT */ Ltmp = Mpy_32_32( Ltmp, norm_val ); // 2 * Qfft + te_exp - 32 *ptE = L_shl( Ltmp, sub( add( Q_new, QSCALE - 2 ), add( shl( q_data, Q1 ), sub( te_exp, 32 ) ) ) ); // Q_new + QSCALE - 2 *ptE = L_shl_sat( Ltmp, sub( add( Q_new, QSCALE - 2 ), add( shl( q_data, Q1 ), sub( te_exp, 32 ) ) ) ); // Q_new + QSCALE - 2 move32(); *Bin_E++ = *ptE; // Q_new + QSCALE - 2 Loading Loading @@ -1095,7 +1095,7 @@ static void ivas_find_enr1( // *Bin_E *= norm_val; Ltmp = Mpy_32_32( Ltmp, norm_val ); // 2 * Qfft + te_exp - 32 *Bin_E = L_shl( Ltmp, sub( add( Q_new, QSCALE - 2 ), add( shl( q_data, Q1 ), sub( te_exp, 32 ) ) ) ); // Q_new + QSCALE - 2 *Bin_E = L_shl_sat( Ltmp, sub( add( Q_new, QSCALE - 2 ), add( shl( q_data, Q1 ), sub( te_exp, 32 ) ) ) ); // Q_new + QSCALE - 2 move32(); band[i] = L_add_sat( band[i], *Bin_E++ ); // Q_new + QSCALE - 2 Loading