L_tmp=L_mac(-473117491/* 28.2f in Q24 */,19661/* 0.6f in Q15 */,extract_h(st_fx->lp_noise_32fx));// Q24
L_tmp=L_mac(-473117491/* 28.2f in Q24 */,19661/* 0.6f in Q15 */,loc_lp_noise);// Q24
relE_thres=round_fx(L_tmp);
}
relE_thres=s_max(relE_thres,-6400/* -25.0f in Q8 */);/* Q8 */
@@ -889,7 +918,7 @@ Word16 find_uv_ivas_fx( /* o : coding typ
test();
test();
test();
IF(((LT_16(add_sat(mean_voi3,corr_shift),add(22282/* 0.68 in Q15 */,mean_voi3_offset)))&&/* normalized correlation low */
if(((LT_16(add_sat(mean_voi3,corr_shift),add(22282/* 0.68 in Q15 */,mean_voi3_offset)))&&/* normalized correlation low */
(LT_16(add_sat(st_fx->voicing_fx[2],corr_shift),25887/* 0.79 in Q15 */))&&/* normalized correlation low on look-ahead - onset detection */
(LT_32(ee[0],640/* 10.0f in Q6 */))&&(GT_32(hp_E[0],E_min_th))&&/* energy concentrated in high frequencies provided that some energy is present in HF... */
(LT_32(ee[1],ee1_th))&&(GT_32(hp_E[1],E_min_th))&&/* ... biased towards look-ahead to detect onsets */
@@ -917,7 +946,9 @@ Word16 find_uv_ivas_fx( /* o : coding typ
test();
test();
if(((LT_16(add_sat(mean_voi3,corr_shift),add(22774/* 0.695f in Q15 */,mean_voi3_offset)))&&/* normalized correlation low */
(LT_16(add_sat(st_fx->voicing_fx[2],corr_shift),25887)&&st_fx->element_mode==EVS_MONO)&&/* normalized correlation low on look-ahead - onset detection */
#endif
(LT_32(ee[0],397/* 6.2f in Q6 */))&&(GT_32(hp_E[0],E_min_th))&&/* energy concentrated in high frequencies provided that some energy is present in HF... */
(LT_32(ee[1],397/* 6.2f in Q16 */))&&(GT_32(hp_E[1],E_min_th))&&/* ... biased towards look-ahead to detect onsets */
(tmp_offset_flag==0)&&/* Take care of voiced offsets */
@@ -1037,9 +1068,13 @@ Word16 find_uv_ivas_fx( /* o : coding typ
move16();
/* Current frame cannot be compressed to pack the partial redundancy;*/
IF(NE_16(st_fx->rf_mode,st_fx->Opt_RF_ON))
IF(NE_16(st_fx->rf_mode,st_fx->Opt_RF_ON))/* can happen only for EVS-BE modes*/