Loading lib_enc/ivas_masa_enc.c +10 −1 Original line number Diff line number Diff line Loading @@ -2364,7 +2364,16 @@ static void reduce_metadata_further_fx( } } tmp2 = W_norm( W_tmp ); IF( W_tmp != 0 ) { tmp2 = sub( W_norm( W_tmp ), 1 ); // Usage of guard bits to avoid the large values of onset_detector in multiplication } ELSE { tmp2 = 0; move16(); } tmp2 = s_min( 32, tmp2 ); totalEnergySum = W_extract_h( W_shl( W_tmp, tmp2 ) ); tmp2 = sub( tmp2, 32 ); Loading Loading
lib_enc/ivas_masa_enc.c +10 −1 Original line number Diff line number Diff line Loading @@ -2364,7 +2364,16 @@ static void reduce_metadata_further_fx( } } tmp2 = W_norm( W_tmp ); IF( W_tmp != 0 ) { tmp2 = sub( W_norm( W_tmp ), 1 ); // Usage of guard bits to avoid the large values of onset_detector in multiplication } ELSE { tmp2 = 0; move16(); } tmp2 = s_min( 32, tmp2 ); totalEnergySum = W_extract_h( W_shl( W_tmp, tmp2 ) ); tmp2 = sub( tmp2, 32 ); Loading