Commit 1c9a6de3 authored by vaclav's avatar vaclav
Browse files

update to keep BE

parent b231f50a
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1285,7 +1285,7 @@ void ivas_sba_dirac_stereo_dec_fx(
    move16();
    FOR( i = 0; i < CPE_CHANNELS; i++ )
    {
#ifdef REMOVE_UNUSED_CODE_IVAS_DEC
#if 0 // ToDo: this is a bug for output_Fs = 16 or 32 -> deactivated for the moment to keep BE
        s = s_min( s, L_norm_arr( output[i], output_frame ) - Q11 ) /* Guard bits */; // L_frame should be used instead of L_FRAME48k */
#else
        s = s_min( s, L_norm_arr( output[i], L_FRAME48k ) - 11 ) /* Guard bits */;                                                                                                        // L_frame should be used instead of L_FRAME48k */
@@ -1597,7 +1597,7 @@ void ivas_sba_dirac_stereo_dec_fx(

    FOR( i = 0; i < CPE_CHANNELS; i++ )
    {
#ifdef REMOVE_UNUSED_CODE_IVAS_DEC
#ifdef REMOVE_UNUSED_CODE_IVAS_DECaa
        Scale_sig32( output[i], output_frame, negate( s ) );
#else
        Scale_sig32( output[i], L_FRAME48k, negate( s ) );
@@ -1619,7 +1619,7 @@ void ivas_sba_dirac_stereo_dec_fx(
    IF( hCPE->hCoreCoder[0] != NULL )
    {
        Copy_Scale_sig_32_16( hCPE->hCoreCoder[0]->hHQ_core->old_out_LB_fx32, hCPE->hCoreCoder[0]->hHQ_core->old_out_LB_fx, L_FRAME32k, hCPE->hCoreCoder[0]->hHQ_core->Q_old_wtda_LB - q ); // Q_old_wtda_LB
#ifdef REMOVE_UNUSED_CODE_IVAS_DEC
#ifdef REMOVE_UNUSED_CODE_IVAS_DECaa
        Copy_Scale_sig_32_16( hCPE->hCoreCoder[0]->hHQ_core->old_out_fx32, hCPE->hCoreCoder[0]->hHQ_core->old_out_fx, output_frame, hCPE->hCoreCoder[0]->hHQ_core->Q_old_wtda - q ); // Q_old_wtda_LB
#else
        Copy_Scale_sig_32_16( hCPE->hCoreCoder[0]->hHQ_core->old_out_fx32, hCPE->hCoreCoder[0]->hHQ_core->old_out_fx, L_FRAME48k, hCPE->hCoreCoder[0]->hHQ_core->Q_old_wtda - q ); // Q_old_wtda_LB