Commit 2708b6c5 authored by vaclav's avatar vaclav
Browse files

fix within FIX_2344_ALIGN_PREPROC

parent ef48de64
Loading
Loading
Loading
Loading
Loading
+16 −11
Original line number Diff line number Diff line
@@ -232,11 +232,11 @@ ivas_error ivas_core_enc_fx(
        }

#ifdef FIX_2344_ALIGN_PREPROC
        Word32 last_element_brate_tmp = last_element_brate;
        Word32 last_element_brate_tmp = element_brate;
        move32();
        IF( EQ_32( ivas_format, SBA_FORMAT ) )
        {
            last_element_brate_tmp = element_brate;
            last_element_brate_tmp = last_element_brate;
            move32();
        }

@@ -760,6 +760,10 @@ ivas_error ivas_core_enc_fx(

        Word16 Q_shb_spch_16 = Q_shb_spch;
        move16();
#ifdef FIX_2344_ALIGN_PREPROC
        IF( st->tcxonly == 0 )
#endif
        {
            shift = add( getScaleFactor16( shb_speech_fx, L_FRAME16k ), Q16 );
            Copy_Scale_sig_16_32_no_sat( shb_speech_fx, shb_speech_fx32, L_FRAME16k, shift ); // Q_shb_spch
            Q_shb_spch = add( Q_shb_spch, shift );
@@ -771,6 +775,7 @@ ivas_error ivas_core_enc_fx(
                move16();
                Scale_sig( st->hBWE_FD->L_old_wtda_swb_fx, L_FRAME48k, shift ); // st->Q_old_wtda
            }
        }

        /* SWB TBE encoder */
        test();