Commit bb07b791 authored by Manuel Jander's avatar Manuel Jander
Browse files

Fix compile error with FIX_1348_BIT_PRECISION_IMPROVEMENT related macros all disabled.

parent 24c6246d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -112,7 +112,9 @@ void ivas_post_proc_fx(
                {
                    Word16 numZeros = (Word16) ( NS2SA_FX2( output_Fs, N_ZERO_MDCT_NS ) ); /*Q0*/
                    move16();
#ifdef FIX_1348_BIT_PRECISION_IMPROVEMENT
                    assert( sts[n]->hHQ_core->Q_old_out_fx32 == Q11 );
#endif
                    Copy32( sts[n]->hHQ_core->old_out_fx32 + numZeros, sts[n]->hTcxDec->FBTCXdelayBuf_32, delay_comp ); /*Q11*/
                }

+4 −0
Original line number Diff line number Diff line
@@ -422,7 +422,9 @@ ivas_error stereo_memory_dec_fx(
    test();
    IF( EQ_16( hCPE->last_element_mode, IVAS_CPE_MDCT ) && EQ_16( hCPE->element_mode, IVAS_CPE_DFT ) )
    {
#ifdef FIX_1348_BIT_PRECISION_IMPROVEMENT
        assert( hCPE->hCoreCoder[0]->hHQ_core->Q_old_out_fx32 == hCPE->hCoreCoder[1]->hHQ_core->Q_old_out_fx32 );
#endif
        v_add_32( hCPE->hCoreCoder[0]->hHQ_core->old_out_fx32, hCPE->hCoreCoder[1]->hHQ_core->old_out_fx32, hCPE->hCoreCoder[0]->hHQ_core->old_out_fx32, extract_l( Mpy_32_16_1( output_Fs, INV_FRAME_PER_SEC_Q15 ) ) ); /* exp(exp_old_out) */
        v_multc_fixed_16( hCPE->hCoreCoder[0]->hHQ_core->old_out_fx32, 16384 /* 0.5 in Q15 */, hCPE->hCoreCoder[0]->hHQ_core->old_out_fx32, extract_l( Mpy_32_16_1( output_Fs, INV_FRAME_PER_SEC_Q15 ) ) );              /* exp(exp_old_out) */

@@ -2154,7 +2156,9 @@ void stereo_td2dft_update_fx(
            move16();

            /* update buffers used for fading when switching to DFT Stereo */
#ifdef FIX_1348_BIT_PRECISION_IMPROVEMENT
            assert( sts[0]->hHQ_core->Q_old_out_fx32 == sts[1]->hHQ_core->Q_old_out_fx32 );
#endif

            v_add_fx( sts[0]->hHQ_core->old_out_LB_fx32 + nsLB, sts[1]->hHQ_core->old_out_LB_fx32 + nsLB, hCPE->old_outLB_mdct_fx, old_outLB_len );
            L_lerp_fx_q11( hCPE->old_outLB_mdct_fx, hCPE->old_outLB_mdct_fx, STEREO_MDCT2DFT_FADE_LEN_48k, old_outLB_len );