Commit 6192e299 authored by vaclav's avatar vaclav
Browse files

temporary fix to keep EVS bit-exactness

parent 7a3d4223
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1950,6 +1950,7 @@ static ivas_error sanitizeBandwidth(

    if ( hEncoderConfig->ivas_format == MONO_FORMAT )
    {
#if 0 // IVAS_fmToDo: temporary disabled to keep EVS bit-exactness -> to be verified
        if ( max_bwidth_tmp == FB && hEncoderConfig->ivas_total_brate < ACELP_16k40 )
        {
            if ( hEncoderConfig->ivas_total_brate < ACELP_9k60 )
@@ -1966,6 +1967,7 @@ static ivas_error sanitizeBandwidth(
        {
            max_bwidth_tmp = WB;
        }
#endif

        /* in case of 8kHz input sampling or "-max_band NB", require the total bitrate to be below 24.40 kbps */
        if ( ( max_bwidth_tmp == NB || hEncoderConfig->input_Fs == 8000 ) && hEncoderConfig->ivas_total_brate > ACELP_24k40 )