Commit c1ac9fdd authored by vaillancour's avatar vaillancour
Browse files

reduce number of warnings under linux and some clean up

parent a9987e37
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -607,7 +607,7 @@ ivas_error config_acelp1(
#ifdef DEBUGGING
    Word32 core_brate_inpI = core_brate_inp;
#ifdef REMOVE_IVAS_UNUSED_PARAMETERS_WARNING
    MY_UNUSED_Word(active_cnt)
    (void)active_cnt;
#endif
#endif
    ivas_error error;
+1 −4
Original line number Diff line number Diff line
@@ -61,9 +61,7 @@ void cb_shape_fx(
    Word16 i;
    Word32 L_tmp;
    Word16 tilt, mu;
#ifdef BASOP_NOGLOB_DECLARE_LOCAL
    Flag Overflow = 0;
#endif
    
    tmp = 0;

    move16();
@@ -123,7 +121,6 @@ void cb_shape_fx(
        {
            Copy( code, buff, L_subfr);

            Overflow = 0;
            move16();
            Residu3_lc_fx(A_num, M, buff, code, L_subfr, shift);
            {
+4 −3
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@
#include "prot_fx.h"
#include "rom_com_fx.h"

#if 1//def IVAS_CODE_COM_CONFIG_P1


  /*-------------------------------------------------------------------*
   * is_EVS_bitrate()
@@ -18,6 +18,7 @@
   *-------------------------------------------------------------------*/

   /*! r: flag indicating a valid bitrate */
#ifdef IVAS_CODE
Word16 is_EVS_bitrate(
    const Word32 ivas_total_brate, /* i  : EVS total bitrate  */
    Word16* Opt_AMR_WB             /* i  : AMR-WB IO flag     */
@@ -62,7 +63,7 @@ Word16 is_EVS_bitrate(

    return 1;
}

#endif

/*-------------------------------------------------------------------*
 * get_codec_mode()
@@ -120,7 +121,7 @@ Word16 get_codec_mode(
    return codec_mode;
}

#endif


Word16 getTcxonly(
#ifdef IVAS_CODE_SWITCHING
+1 −1
Original line number Diff line number Diff line
@@ -252,7 +252,7 @@ void edct_16fx(
    const Word16 *px, *pt;
    Word16 *py;
#ifdef REMOVE_IVAS_UNUSED_PARAMETERS_WARNING
    MY_UNUSED_Word(element_mode)
    (void) element_mode;
#endif
#ifdef BASOP_NOGLOB_DECLARE_LOCAL
    Flag Overflow = 0;
+2 −2
Original line number Diff line number Diff line
@@ -76,8 +76,8 @@ void bands_and_bit_alloc_fx(
    Word32 bits_per_bands[MBANDS_GN_BITALLOC16k];
    Word16 w_sum_bit;
#ifdef REMOVE_IVAS_UNUSED_PARAMETERS_WARNING
    MY_UNUSED_Word(GSC_IVAS_mode)
    MY_UNUSED_Word(element_mode)
    (void)GSC_IVAS_mode;
    (void)element_mode;
#endif
#ifdef BASOP_NOGLOB_DECLARE_LOCAL
    Flag Overflow = 0;
Loading