Commit bcff8d77 authored by vaillancour's avatar vaillancour
Browse files

update define name to be more meaning full

parent 1d21a9e8
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@
#define CLEANUP_ACELP_ENC                               /* VA: basop issue 2304: Remove duplicated code in excitation encoding in the ACELP core */
#define CLEANUP_VBR_CAM_ENC                             /* VA: basop issue 2299: Remove unused core-encoder VBR and CAM code */

#define FIX_CLANG_18_ENC                        /* VA: Fix some encoder clang-18 warnings */
#define FIX_2294_CLANG_18_WARNINGS_ENC                  /* VA: Fix some encoder clang-18 warnings, desc. in 2294 */

/* #################### End BE switches ################################## */

+1 −1
Original line number Diff line number Diff line
@@ -609,7 +609,7 @@ void AVQ_cod_lpc_fx(
    Word16 i, l, pos;
    Word32 I;
    Word32 x1[8];
#ifdef FIX_CLANG_18_ENC
#ifdef FIX_2294_CLANG_18_WARNINGS_ENC
    UWord16 I16 = 0;
#else
    UWord16 I16;
+1 −1
Original line number Diff line number Diff line
@@ -1132,7 +1132,7 @@ void core_signal_analysis_high_bitrate_ivas_fx(
                IF( EQ_16( transform_type[frameno], TCX_20 ) && NE_16( st->hTcxCfg->tcx_last_overlap_mode, TRANSITION_OVERLAP ) )
                {
                    Word16 Q;
#ifdef FIX_CLANG_18_ENC
#ifdef FIX_2294_CLANG_18_WARNINGS_ENC
                    Copy_Scale_sig_16_32_no_sat( mdstWin, L_tmpbuf, L_subframe, 16 );
#else
                    Copy_Scale_sig_16_32_no_sat( mdstWin, L_tmpbuf, N_MAX + L_MDCT_OVLP_MAX, 16 );
+1 −1
Original line number Diff line number Diff line
@@ -116,7 +116,7 @@ ivas_error ivas_core_enc_fx(
    {
        set_zero_fx( bwe_exc_extended_fx[i], L_FRAME32k + NL_BUFF_OFFSET );
        set16_fx( old_syn_12k8_16k_fx[i], 0, L_FRAME16k );
#ifdef FIX_CLANG_18_ENC
#ifdef FIX_2294_CLANG_18_WARNINGS_ENC
        set16_fx( voice_factors_fx[i], 0, NB_SUBFR16k );
#endif
    }
+1 −1
Original line number Diff line number Diff line
@@ -336,7 +336,7 @@ ivas_error ivas_cpe_enc_fx(

    Word16 q_band_energies_LR;
    Word16 q_fr_bands[2], q_lf_E[2];
#ifdef FIX_CLANG_18_ENC
#ifdef FIX_2294_CLANG_18_WARNINGS_ENC
    q_band_energies_LR = 0;
    q_lf_E[0] = 0;
    q_lf_E[1] = 0;