/frameworks/compile/libbcc/runtime/lib/ppc/ |
divtc3.c | 41 const long double denom = __gcc_qadd(__gcc_qmul(cDD.ld, cDD.ld), __gcc_qmul(dDD.ld, dDD.ld)); local 45 DD real = { .ld = __gcc_qdiv(realNumerator, denom) }; 46 DD imag = { .ld = __gcc_qdiv(imagNumerator, denom) }; 57 DD rDD = { .ld = denom };
|
/external/skia/tests/ |
Sk64Test.cpp | 150 int32_t denom = rand.nextS(); local 152 while (denom == 0) 153 denom = rand.nextS(); 157 wide.div(denom, Sk64::kTrunc_DivOption); 158 check /= denom; 166 denom = wide.getSqrt(); 168 int diff = denom - ck; 188 SkDebugf(" %d === numer %g denom %g div %g xdiv %x fxdiv %x\n",
|
MathTest.cpp | 384 SkFixed denom = rand.nextS(); local 385 SkFixed result = SkFixedDiv(numer, denom); 386 SkLONGLONG check = ((SkLONGLONG)numer << 16) / denom; 389 (void)SkCLZ(denom); 399 result = SkFractDiv(numer, denom); 400 check = ((SkLONGLONG)numer << 30) / denom; 412 denom = denom << 8 >> 8; 414 result = SkFixedMul(numer, denom); 415 SkFixed r2 = symmetric_fixmul(numer, denom); [all...] |
/external/webrtc/src/modules/audio_processing/aec/main/source/ |
resampler.c | 180 float denom = 0; local 227 denom = x2 - xAvg*x; 229 if (denom != 0) { 230 skew = (xy - xAvg*y) / denom;
|
/external/srec/srec/clib/ |
swicms.c | 493 imeldata denom = ( swicms->inutt.forget_factor2 local 497 + swicms->inutt.accum[ii] + denom/2) / denom;
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
vad1.cpp | 761 Word16 denom; local 799 denom = st->ave_level[i]; 804 denom = level[i]; 806 /* Limit nimimum value of num and denom to STAT_THR_LEVEL */ 811 if (denom < STAT_THR_LEVEL) 813 denom = STAT_THR_LEVEL; 816 exp = norm_s(denom); 818 denom = shl(denom, exp, pOverflow); 820 /* stat_rat = num/denom * 64 * [all...] |
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
wb_vad.c | 263 Word16 num, temp, stat_rat, exp, denom; local 284 denom = st->ave_level[i]; 288 denom = level[i]; 290 /* Limit nimimum value of num and denom to STAT_THR_LEVEL */ 295 if(denom < STAT_THR_LEVEL) 297 denom = STAT_THR_LEVEL; 299 exp = norm_s(denom); 300 denom = denom << exp; 302 /* stat_rat = num/denom * 64 * [all...] |
/external/iproute2/lib/ |
utils.c | 500 unsigned nom, denom; local 501 if (fscanf(fp, "%*08x%*08x%08x%08x", &nom, &denom) == 2) 503 hz = denom;
|
/external/jdiff/src/jdiff/ |
APIComparator.java | 123 Long denom = new Long(oldAPI.packages_.size() + newAPI.packages_.size()); local 125 if (denom.intValue() == 0) { 130 System.out.println("Top level changes: " + differs + "/" + denom.intValue()); 131 differs = (100.0 * differs)/denom.doubleValue(); 226 Long denom = new Long(oldPkg.classes_.size() + newPkg.classes_.size()); local 228 if (denom.intValue() == 0) { 233 System.out.println("Package " + pkgDiff.name_ + " had a difference of " + differs + "/" + denom.intValue()); 234 pkgDiff.pdiff = 100.0 * differs/denom.doubleValue(); 235 return differs/denom.doubleValue(); 326 Long denom = new Long local [all...] |
/frameworks/base/media/libstagefright/codecs/aacenc/src/ |
tns.c | 721 Word32 num, denom; local 758 denom = MULHIGH(workBuffer[0], NORM_COEF); 760 if (denom != 0) { 762 shift = norm_l(denom); 763 temp = Div_32(1 << shift, denom << shift); [all...] |
/frameworks/base/media/java/android/media/ |
ExifInterface.java | 166 double denom = Double.parseDouble(value.substring(index + 1)); local 167 if (denom == 0) return defaultValue; 169 return num / denom;
|
/external/jhead/ |
jhead.h | 66 uint32_t denom; member in struct:__anon6918
|
/frameworks/base/media/libstagefright/ |
OggExtractor.cpp | 672 size_t denom = numerator - kMaxNumTOCEntries; local 676 accum += denom;
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
db_feature_detection.cpp | 1461 float denom = (fxx * fyy - fxy * fxy) * (float) 2.0; local [all...] |
/external/icu4c/i18n/ |
smpdtfmt.cpp | 1206 int32_t num = 0, denom = 0; local [all...] |
/external/opencv/cv/src/ |
cvfundam.cpp | 135 double num, denom; local 147 denom = 1. - pow(1. - ep,model_points); 148 if( denom < DBL_MIN ) 152 denom = log(denom); 154 result = denom >= 0 || -num >= max_iters*(-denom) ? 155 max_iters : cvRound(num/denom); 1194 CvMat* denom = 0; local [all...] |
/external/opencv/ml/src/ |
mlsvm.cpp | 654 double denom = Q_i[i]+Q_j[j]+2*Q_i[j]; local 655 double delta = (-G[i]-G[j])/MAX(fabs(denom),FLT_EPSILON); 684 double denom = Q_i[i]+Q_j[j]-2*Q_i[j]; local 685 double delta = (G[i]-G[j])/MAX(fabs(denom),FLT_EPSILON); [all...] |
/external/skia/src/core/ |
SkMatrix.cpp | 266 static inline SkFixed roundidiv(SkFixed numer, int denom) { 268 int ds = denom >> 31; 270 denom = (denom ^ ds) - ds; 272 SkFixed answer = (numer + (denom >> 1)) / denom; 745 SkFixed denom; local 747 denom = tmp1.getShiftRight(33 - s); 749 denom = (int32_t)tmp1.fLo << (s - 33); 752 if (denom == 0) 1397 SkFixed denom = SkMulDiv(x1, y2, x2) - y1; local 1403 SkFixed denom = x1 - SkMulDiv(y1, x2, y2); local 1412 SkFixed denom = y2 - SkMulDiv(x2, y1, x1); local 1418 SkFixed denom = SkMulDiv(y2, x1, y1) - x2; local 1530 float denom = SkScalarMulDiv(x1, y2, x2) - y1; local 1536 float denom = x1 - SkScalarMulDiv(y1, x2, y2); local 1545 float denom = y2 - SkScalarMulDiv(x2, y1, x1); local 1551 float denom = SkScalarMulDiv(y2, x1, y1) - x2; local [all...] |