Commit 07af7bce authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

Merge remote-tracking branch 'origin/main' into isar_selection_branch

parents dc865266 7c54e695
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -244,7 +244,6 @@ typedef struct ivas_spar_md_com_cfg
    int16_t max_bits_per_blk;
    int16_t prev_quant_idx;
    int16_t agc_bits_ch_idx;
    int16_t planarCP;
    int16_t num_umx_chs;
    int16_t max_md_bits_spar;

lib_com/options.h

100755 → 100644
+1 −0
Original line number Diff line number Diff line
@@ -165,6 +165,7 @@
#define FIX_993_REMOVE_SBA_GET_ORDER                    /* VA: issue 993: remove unused function ivas_sba_get_order() */
#define FIX_1002_DEC_PHASE_ECU_USAN_OF_PHASE            /* Eri: issue #1002, usan-value-out-of-range-for-int16, kept BE for PLC-conditions   */
#define FIX_960_SYN_OUTPUT                              /* VA: issue 960: unused function syn_output() is removed */
#define FIX_1027_GSC_INT_OVERFLOW                       /* VA: issue 2207: overflow in GSC */

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

+4 −0
Original line number Diff line number Diff line
@@ -643,7 +643,11 @@ void gsc_dec(
                }
                if ( concat_out[j] < 0 )
                {
#ifdef FIX_1027_GSC_INT_OVERFLOW
                    seed_init = (int16_t) ( (int32_t) seed_init + 3 );
#else
                    seed_init += 3;
#endif
                }
            }

+4 −0
Original line number Diff line number Diff line
@@ -545,7 +545,11 @@ void gsc_enc(
            }
            if ( concat_out[j] < 0 )
            {
#ifdef FIX_1027_GSC_INT_OVERFLOW
                seed_init = (int16_t) ( (int32_t) seed_init + 3 );
#else
                seed_init += 3;
#endif
            }
        }