Loading lib_enc/enc_acelp.c +4 −0 Original line number Diff line number Diff line Loading @@ -592,7 +592,11 @@ Word16 E_ACELP_xy1_corr(Word16 xn[], Word16 y1[], ACELP_CbkCorr *g_corr, Word16 Word16 tmp, exp_tmp, exp_div; /* Compute scalar product <xn[],xn[]> */ #ifdef BASOP_NOGLOB tmp = round_fx_o(Dot_product12_offs(xn, xn, L_subfr, &exp_tmp, 1), &Overflow); #else tmp = round_fx(Dot_product12_offs(xn, xn, L_subfr, &exp_tmp, 1)); #endif /* gain_p_snr = sqrt(<xn,xn>/<y1,y1>) */ tmp = BASOP_Util_Divide1616_Scale(tmp, yy, &exp_div); exp_tmp = add(sub(exp_tmp, exp_yy), exp_div); Loading lib_enc/tcx_utils_enc.c +4 −0 Original line number Diff line number Diff line Loading @@ -165,7 +165,11 @@ void detectLowpassFac(const Word32 *powerSpec, Word16 powerSpec_e, Word16 L_fram if (rectWin != 0) { /* compensate for bad side-lobe attenuation with asymmetric windows */ #ifdef BASOP_NOGLOB threshold = L_shl_o(threshold, 1, &Overflow); #else threshold = L_shl(threshold, 1); #endif } BASOP_SATURATE_WARNING_ON Loading Loading
lib_enc/enc_acelp.c +4 −0 Original line number Diff line number Diff line Loading @@ -592,7 +592,11 @@ Word16 E_ACELP_xy1_corr(Word16 xn[], Word16 y1[], ACELP_CbkCorr *g_corr, Word16 Word16 tmp, exp_tmp, exp_div; /* Compute scalar product <xn[],xn[]> */ #ifdef BASOP_NOGLOB tmp = round_fx_o(Dot_product12_offs(xn, xn, L_subfr, &exp_tmp, 1), &Overflow); #else tmp = round_fx(Dot_product12_offs(xn, xn, L_subfr, &exp_tmp, 1)); #endif /* gain_p_snr = sqrt(<xn,xn>/<y1,y1>) */ tmp = BASOP_Util_Divide1616_Scale(tmp, yy, &exp_div); exp_tmp = add(sub(exp_tmp, exp_yy), exp_div); Loading
lib_enc/tcx_utils_enc.c +4 −0 Original line number Diff line number Diff line Loading @@ -165,7 +165,11 @@ void detectLowpassFac(const Word32 *powerSpec, Word16 powerSpec_e, Word16 L_fram if (rectWin != 0) { /* compensate for bad side-lobe attenuation with asymmetric windows */ #ifdef BASOP_NOGLOB threshold = L_shl_o(threshold, 1, &Overflow); #else threshold = L_shl(threshold, 1); #endif } BASOP_SATURATE_WARNING_ON Loading