Home
last modified time | relevance | path

Searched refs:denum (Results 1 – 8 of 8) sorted by relevance

/external/aac/libFDK/include/
Dfixpoint_math.h216 inline FIXP_DBL schur_div(FIXP_DBL num,FIXP_DBL denum, INT count) in schur_div() argument
221 : "%d" (tmp), "d" (denum) , "d" (num) in schur_div()
230 inline FIXP_DBL schur_div(FIXP_DBL num,FIXP_DBL denum, INT count) in schur_div() argument
237 : [denum]"r"(denum), [num]"r"(num) in schur_div()
246 inline FIXP_DBL schur_div(FIXP_DBL num, FIXP_DBL denum, INT count) in schur_div() argument
250 FDK_ASSERT (denum>(FIXP_DBL)0); in schur_div()
251 FDK_ASSERT (num <= denum); in schur_div()
253 INT tmp = denum >> (count-1); in schur_div()
276 FIXP_DBL schur_div(FIXP_DBL num,FIXP_DBL denum, INT count);
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dintialize.c126 double t, dtmp, dtmp2, denum, denum2; in WebRtcIsac_InitWeightingFilter() local
139 denum = 1.0 / ((double) PITCH_WLPCWINLEN); in WebRtcIsac_InitWeightingFilter()
140 denum2 = denum * denum; in WebRtcIsac_InitWeightingFilter()
142 dtmp = PITCH_WLPCASYM * t * denum + (1-PITCH_WLPCASYM) * t * t * denum2; in WebRtcIsac_InitWeightingFilter()
/external/libgsm/src/
Dadd.c206 word gsm_div P2((num,denum), word num, word denum)
209 longword L_denum = denum;
220 assert(num >= 0 && denum >= num);
/external/opencv3/modules/imgproc/src/opencl/
Dmatch_template.cl45 inline float normAcc(float num, float denum)
47 if (fabs(num) < denum)
48 return num / denum;
49 if (fabs(num) < denum * 1.125f)
54 inline float normAcc_SQDIFF(float num, float denum)
56 if (fabs(num) < denum)
57 return num / denum;
58 if (fabs(num) < denum * 1.125f)
471 float denum = sqrt(mad(template_sqsum, convertToDT(value_sqsum), 0));
475 *dstult = normAcc((*dstult) - num, denum);
[all …]
/external/opencv3/modules/cudaimgproc/src/cuda/
Dmatch_template.cu268 __device__ float normAcc(float num, float denum) in normAcc() argument
270 if (::fabs(num) < denum) in normAcc()
271 return num / denum; in normAcc()
272 if (::fabs(num) < denum * 1.125f) in normAcc()
278 __device__ float normAcc_SQDIFF(float num, float denum) in normAcc_SQDIFF() argument
280 if (::fabs(num) < denum) in normAcc_SQDIFF()
281 return num / denum; in normAcc_SQDIFF()
282 if (::fabs(num) < denum * 1.125f) in normAcc_SQDIFF()
613 … float denum = sqrtf(templ_sqsum_scale * (image_sqsum_r_ - weight * image_sum_r_ * image_sum_r_ in matchTemplatePreparedKernel_CCOFF_NORMED_8UC2() local
615 result.ptr(y)[x] = normAcc(num, denum); in matchTemplatePreparedKernel_CCOFF_NORMED_8UC2()
[all …]
/external/aac/libFDK/src/
Dfixpoint_math.cpp489 FIXP_DBL schur_div(FIXP_DBL num, FIXP_DBL denum, INT count) in schur_div() argument
492 INT L_denum = (LONG)denum>>1; in schur_div()
497 FDK_ASSERT (denum>(FIXP_DBL)0); in schur_div()
498 FDK_ASSERT (num <= denum); in schur_div()
/external/aac/libAACenc/src/
Dadj_thr.cpp1031 FIXP_DBL denum = frameEnergy<<scale; in FDKaacEnc_reduceThresholdsVBR() local
1032 chaosMeasure = schur_div(num,denum,16); in FDKaacEnc_reduceThresholdsVBR()
1651 FIXP_DBL denum, in CalcRedValPower() argument
1657 value = fDivNorm( num, denum, scaling); in CalcRedValPower()
1660 value = -fDivNorm( -num, denum, scaling); in CalcRedValPower()
2382 FIXP_DBL denum = (FIXP_DBL)FDKaacEnc_bits2pe2(bitsLast, bits2PeFactor_m, bits2PeFactor_e); in FDKaacEnc_FDKaacEnc_calcPeCorrection() local
2383 FIXP_DBL newFac = fDivNorm((FIXP_DBL)peLast, denum, &scaling); in FDKaacEnc_FDKaacEnc_calcPeCorrection()
2386 if ((FIXP_DBL)peLast <= denum) { /* ratio <= 1.f */ in FDKaacEnc_FDKaacEnc_calcPeCorrection()
/external/libgsm/inc/
Dprivate.h67 extern word gsm_div P((word num, word denum));