Commit 3b7dfbef authored by norvell's avatar norvell
Browse files

Adding BASOP_NOGLOB for one test case in Readme_EVS_dec.txt 2

parent 0e397341
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -816,6 +816,9 @@ Word16 divide3232(Word32 L_num, Word32 L_denom)
{
    Word16 z;
    Word32 sign;
#ifdef BASOP_NOGLOB
    Flag Overflow = 0;
#endif


    sign = L_and(L_xor(L_num,L_denom),0x80000000);
@@ -829,7 +832,11 @@ Word16 divide3232(Word32 L_num, Word32 L_denom)
    L_denom = L_shl(L_denom,z);

    /* round_fx instead of extract_h improves spectral distortion in E_UTIL_lev_dur (schur version). */
#ifdef BASOP_NOGLOB
    z = div_l(L_num, round_fx_o(L_denom, &Overflow));
#else
    z = div_l(L_num,round_fx(L_denom));
#endif
    if (0 != sign)
    {
        z = negate(z);
+7 −0
Original line number Diff line number Diff line
@@ -1092,6 +1092,9 @@ ivas_error core_switching_post_dec_fx(
    FD_BWE_DEC_HANDLE hBWE_FD;
    HQ_DEC_HANDLE hHQ_core;
    ivas_error error;
#ifdef BASOP_NOGLOB
    Flag Overflow = 0;
#endif
#ifdef IVAS_CODE_SWITCHING
    int16_t offset;
#endif
@@ -1229,7 +1232,11 @@ ivas_error core_switching_post_dec_fx(
            FOR( i=0; i<shift; i++ )
            {
                L_tmp = L_mult((*ptmp1), tmpF); /*Qsynth + 16*/
#ifdef BASOP_NOGLOB
                *ptmp1 = round_fx(L_mac(L_tmp, add_o(sub(24576, tmpF), 8192, &Overflow), (*ptmp2))); /*Qsynth*/
#else
                *ptmp1 = round_fx( L_mac( L_tmp, add(sub(24576, tmpF),8192), (*ptmp2))); /*Qsynth*/
#endif
                tmpF = add(tmpF, tmp);
                ptmp1++;
                ptmp2++;
+4 −0
Original line number Diff line number Diff line
@@ -852,7 +852,11 @@ void con_tcx(
        tmp16 = add(L_frame,shr(L_frame,1));
        FOR( i=0 ; i< tmp16; i++ )
        {
#ifdef BASOP_NOGLOB
            exc[i] = add_o(exc[i], shl(noise[i + (L_FIR_FER2 / 2)], Q_exc + noise_e), &Overflow);/*Q1*/       move16();
#else
            exc[i] = add(exc[i] , shl(noise[i+(L_FIR_FER2/2)],Q_exc+noise_e));/*Q1*/       move16();
#endif
        }
    }
    ELSE