Commit cd5178b3 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Fix for 3GPP issue 1583: Very high MLD for ParamMC 5.1+4 at 96kbps 16kHz input

Link #1583
parent 2a941977
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -768,8 +768,8 @@ static void ivas_param_mc_param_est_enc_fx(

#endif
#ifdef MERGE_REQUEST_1378_SPEEDUP_ivas_mc_param_enc_fx_NONBE
    sub35gb = sub( 35, find_guarded_bits_fx( l_ts ) );
    sub62gb = sub( 62, find_guarded_bits_fx( l_ts ) );
    sub35gb = sub( 32, sub( 11, find_guarded_bits_fx( l_ts ) ) );           // 31 - (((11 - gb) + 31 + norm) - 32)
    sub62gb = sub( 63, shl( sub( 11, find_guarded_bits_fx( l_ts ) ), 1 ) ); // 31 - ((2*(11 - gb) + norm) - 32)
#endif

    FOR( ts = start_ts; ts < num_time_slots; ts++ )