Commit 98c5071a authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_2294_CLANG_18_WARNINGS_ENC

parent 515174be
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -87,7 +87,6 @@
#define NONBE_1122_KEEP_EVS_MODE_UNCHANGED              /* FhG: Disables fix for issue 1122 in EVS mode to keep BE tests green. This switch should be removed once the 1122 fix is added to EVS via a CR.  */
#define FIX_1904_HARM_GSC_ENC                           /* VA: #1904 Harmonization of EVS and IVAS GSC code */
#define FIX_1478_UNINIT_ON_BFI                          /* VA: Fix issue 1478 where a vector is partly un-initialized during bfi */
#define FIX_2294_CLANG_18_WARNINGS_ENC                  /* VA: Fix some encoder clang-18 warnings, desc. in 2294 */
#define REMOVE_CAM_FROM_IVAS                            /* VA: basop issue 210: remove obsoelte CAM code from IVAS */
#define FIX_2318_CLANG_DECODER                          /* VA: basop issue 2318: Initialize command-line parameter arg.non_diegetic_pan_gain_fx */
#define OPT_BE_2311_HARM_GSC_GAIN                       /* VA: issue 2311: BE part of the GSC gain harmonization pipeline #70380 shows the BE */
+0 −4
Original line number Diff line number Diff line
@@ -609,11 +609,7 @@ void AVQ_cod_lpc_fx(
    Word16 i, l, pos;
    Word32 I;
    Word32 x1[8];
#ifdef FIX_2294_CLANG_18_WARNINGS_ENC
    UWord16 I16 = 0;
#else
    UWord16 I16;
#endif


    /* quantize all subvector using estimated gain */
+0 −4
Original line number Diff line number Diff line
@@ -1132,11 +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_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 );
#endif

                    Q = add( q_mdstWin, 16 );
                    move16();
+0 −2
Original line number Diff line number Diff line
@@ -116,9 +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_2294_CLANG_18_WARNINGS_ENC
        set16_fx( voice_factors_fx[i], 0, NB_SUBFR16k );
#endif
    }

    push_wmops( "ivas_core_enc" );
+0 −2
Original line number Diff line number Diff line
@@ -340,14 +340,12 @@ ivas_error ivas_cpe_enc_fx(

    Word16 q_band_energies_LR;
    Word16 q_fr_bands[2], q_lf_E[2];
#ifdef FIX_2294_CLANG_18_WARNINGS_ENC
    q_band_energies_LR = 0;
    q_lf_E[0] = 0;
    q_lf_E[1] = 0;
    move16();
    move16();
    move16();
#endif
    IF( NE_32( ( error = front_vad_fx( hCPE, NULL, hEncoderConfig, &hCPE->hFrontVad[0], st_ivas->hMCT != NULL, input_frame, vad_flag_dtx,
                                       fr_bands_fx, q_fr_bands, Etot_LR_fx, lf_E_fx, q_lf_E, localVAD_HE_SAD, vad_hover_flag, band_energies_LR_fx,
                                       &q_band_energies_LR, NULL, NULL, NULL, Q_inp, Q_buffer, Q_add, &front_create_flag ) ),