Loading lib_dec/jbm_pcmdsp_similarityestimation_fx.c +2 −1 Original line number Diff line number Diff line Loading @@ -137,7 +137,8 @@ Word16 normalized_cross_correlation_self_fx( const Word16 *signal, BASOP_SATURATE_WARNING_OFF #ifdef ISSUE_1751_replace_shl_ro Word16 op1 = add( normXY, normCC ); assert( op1 >= 0 ); // assert( op1 >= 0 ); FAILS assert( op1 <= 0 ); if ( op1 >= 0 ) { cc = shl_sat( cc, add( normXY, normCC ) ); Loading lib_rend/ivas_dirac_output_synthesis_dec_fx.c +2 −1 Original line number Diff line number Diff line Loading @@ -4086,7 +4086,8 @@ void ivas_lfe_synth_with_filters_fx( lfeGain_fx_exp = add( sub( hMasaLfeSynth->transportEneSmooth_q, hMasaLfeSynth->targetEneLfeSmooth_q ), lfeGain_fx_exp ); lfeGain_fx = Sqrt16( lfeGain_fx, &lfeGain_fx_exp ); // Q15-lfeGain_fx_exp #ifdef ISSUE_1751_replace_shl_ro assert( lfeGain_fx_exp >= 0 ); // assert( lfeGain_fx_exp >= 0 ); FAILS assert( lfeGain_fx_exp <= 0 ); if ( lfeGain_fx_exp >= 0 ) { lfeGain_fx = shl_sat( lfeGain_fx, lfeGain_fx_exp ); // Q15 Loading Loading
lib_dec/jbm_pcmdsp_similarityestimation_fx.c +2 −1 Original line number Diff line number Diff line Loading @@ -137,7 +137,8 @@ Word16 normalized_cross_correlation_self_fx( const Word16 *signal, BASOP_SATURATE_WARNING_OFF #ifdef ISSUE_1751_replace_shl_ro Word16 op1 = add( normXY, normCC ); assert( op1 >= 0 ); // assert( op1 >= 0 ); FAILS assert( op1 <= 0 ); if ( op1 >= 0 ) { cc = shl_sat( cc, add( normXY, normCC ) ); Loading
lib_rend/ivas_dirac_output_synthesis_dec_fx.c +2 −1 Original line number Diff line number Diff line Loading @@ -4086,7 +4086,8 @@ void ivas_lfe_synth_with_filters_fx( lfeGain_fx_exp = add( sub( hMasaLfeSynth->transportEneSmooth_q, hMasaLfeSynth->targetEneLfeSmooth_q ), lfeGain_fx_exp ); lfeGain_fx = Sqrt16( lfeGain_fx, &lfeGain_fx_exp ); // Q15-lfeGain_fx_exp #ifdef ISSUE_1751_replace_shl_ro assert( lfeGain_fx_exp >= 0 ); // assert( lfeGain_fx_exp >= 0 ); FAILS assert( lfeGain_fx_exp <= 0 ); if ( lfeGain_fx_exp >= 0 ) { lfeGain_fx = shl_sat( lfeGain_fx, lfeGain_fx_exp ); // Q15 Loading