Commit b951acfe authored by vaclav's avatar vaclav
Browse files

remove REMOVE_UNUSED_BUFFER_CORE_ENC

parent 4c8bdbdf
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -107,7 +107,6 @@
#define FIX_2330_CLANG_18_WARNINGS_REND                 /* FhG: Fix renderer warnings */
#define FIX_BASOP_2350_HARM_0B_BWE                      /* VA: basop issue 2350: harmonization of the 0b BWE */
#define FIX_2349_HARM_FIND_UV                           /* VA: basop issue 2349: harmonization of find_uv() function */
//#define REMOVE_UNUSED_BUFFER_CORE_ENC
#define REMOVE_SCALING_SHB_SPEECH_BE
#define SCALING_SWB_SPEECH_32

+1 −6
Original line number Diff line number Diff line
@@ -636,9 +636,8 @@ ivas_error ivas_core_enc_fx(
     * Postprocessing, BWEs and Updates
     *---------------------------------------------------------------------*/

#ifndef REMOVE_UNUSED_BUFFER_CORE_ENC
    Word16 tmp_input_fx[L_FRAME48k], tmp_old_input_fx[L_FRAME48k], q_inp[2];
#endif

    FOR( n = 0; n < n_CoreChannels; n++ )
    {
        st = sts[n];
@@ -653,12 +652,10 @@ ivas_error ivas_core_enc_fx(
            move16();
        }

#ifndef REMOVE_UNUSED_BUFFER_CORE_ENC
        Copy( st->input_fx - input_frame, tmp_old_input_fx, input_frame );
        Copy( st->input_fx, tmp_input_fx, input_frame );
        q_inp[0] = st->q_old_inp;
        q_inp[1] = st->q_inp;
#endif
        Scale_sig( st->input_fx - input_frame, shl( input_frame, 1 ), sub( -1, st->q_inp ) );
        st->q_inp = -1;
        move16();
@@ -893,14 +890,12 @@ ivas_error ivas_core_enc_fx(
            }
        }

#ifndef REMOVE_UNUSED_BUFFER_CORE_ENC
        Copy( tmp_old_input_fx, st->input_fx - input_frame, input_frame );
        Copy( tmp_input_fx, st->input_fx, input_frame );
        st->q_old_inp = q_inp[0];
        move16();
        st->q_inp = q_inp[1];
        move16();
#endif

        /*---------------------------------------------------------------------*
         * Common updates