Home
last modified time | relevance | path

Searched refs:abs_s (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dq_gain_p.cpp194 err_min = abs_s(err_min); in q_gain_pitch()
203 err = abs_s(err); in q_gain_pitch()
Dlevinson.cpp755 if ((abs_s(Kh)) > 32750) in Levinson()
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
Dabs_s.h102 Word16 abs_s(Word16 var1);
Dbasic_op.h430 static inline Word16 abs_s(Word16 var1) in abs_s() function
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
Da_refl.cpp259 if (abs_s(aState[i]) >= 4096) in A_Refl()
Dc_g_aver.cpp516 tmp1 = abs_s(sub(*(lspAver + i), *(lsp + i), pOverflow)); in Cb_gain_average()
Ddtx_dec.cpp1010 st->lsf_hist_mean[i+j*M] = abs_s(st->lsf_hist_mean[i+j*M]); in dtx_dec()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Daz_isp.c151 y = abs_s(y); in Az_isp()
Dlevinson.c187 if (abs_s(Kh) > 32750) in Levinson()
Dwb_vad.c155 l_temp1 += (abs_s(data[ind_m * i + ind_a])<<1); in level_calculation()
163 l_temp2 += (abs_s(data[ind_m * i + ind_a])<<1); in level_calculation()
Ddtx.c597 tmp = abs_s(sub(st->log_en_hist[i], mean)); in dithering_control()
DvoAMRWBEnc.c449 tmp = abs_s(wsp[i]); in coder()
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dvad1.cpp528 l_temp1 = L_mac(l_temp1, 1, abs_s(data[ind_m*i+ind_a]), pOverflow); in level_calculation()
536 l_temp2 = L_mac(l_temp2, 1, abs_s(data[ind_m*i+ind_a]), pOverflow); in level_calculation()
2191 temp = abs_s(temp); in vad_pitch_detection()
Daz_lsp.cpp686 y = abs_s(y); in Az_lsp()
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dbasic_op.h36 #define abs_s(x) ((Word16)(((x) != MIN_16) ? (((x) >= 0) ? (x) : (-(x))) : MAX_16)) /* Short… macro
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Ddyn_bits.c466 if ( (abs_s(scalefacGain[n] - lastValScf) < CODE_BOOK_SCF_LAV)) { in scfCount()
Dqc_main.c422 absVal = abs_s(quantSpectrum[line]); in calcMaxValueInSfb()
Dtransform.c447 absVal = abs_s(vector[i*stride]); in getScalefactorOfShortVectorStride()
Dtns.c377 if (100*abs_s(sbInfoDest->predictionGain - sbInfoSrc->predictionGain) < in TnsSync()
Dadj_thr.c801 } while ((20 * abs_s(redPe - desiredPe) > desiredPe) && (iter < 2)); in adaptThresholdsToPe()
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
Dbasic_op.h36 #define abs_s(x) ((Word16)(((x) != MIN_16) ? (((x) >= 0) ? (x) : (-(x))) : MAX_16)) macro