/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/skia/src/pathops/ |
SkReduceOrder.cpp | 207 double denom = SkTMax(fabs(cx), SkTMax(fabs(cy), local 209 if (denom == 0) { 214 double inv = 1 / denom;
|
/libcore/ojluni/src/main/java/java/io/ |
StreamTokenizer.java | 605 double denom = 10; 608 denom *= 10; 612 v = v / denom;
|
/external/aac/libFDK/src/ |
fixpoint_math.cpp | 571 FIXP_DBL fDivNorm(FIXP_DBL num, FIXP_DBL denom) 576 FDK_ASSERT (denom >= num); 578 res = fDivNorm(num, denom, &e); 596 FIXP_DBL fDivNormHighPrec(FIXP_DBL num, FIXP_DBL denom, INT *result_e) 602 FDK_ASSERT (denom > (FIXP_DBL)0); 615 norm_den = CountLeadingBits(denom); 616 denom = denom << norm_den; 619 div = schur_div(num, denom, 31);
|
/external/libvncserver/test/ |
tjunittest.c | 152 int halfway=16*sf.num/sf.denom; 153 int blocksize=8*sf.num/sf.denom; 284 if(sf.num!=1 || sf.denom!=1) 285 printf("%d/%d ... ", sf.num, sf.denom);
|
tjbench.c | 150 if(sf.num!=1 || sf.denom!=1) 151 snprintf(sizestr, 20, "%d_%d", sf.num, sf.denom); 165 if(srcbuf && sf.num==1 && sf.denom==1) 419 if(sf.num!=1 || sf.denom!=1) 492 printf("%d/%d", scalingfactors[i].num, scalingfactors[i].denom); 592 if(temp1==scalingfactors[j].num && temp2==scalingfactors[j].denom) 613 if((sf.num!=1 || sf.denom!=1) && dotile)
|
/external/skia/src/core/ |
SkTime.cpp | 89 return new double(timebase.numer * 1.0 / timebase.denom);
|
SkColor.cpp | 28 static inline SkScalar ByteDivToScalar(int numer, U8CPU denom) { 30 return SkIntToScalar(numer) / (int)denom;
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
remote_bitrate_estimator_unittest_helper.h | 158 // resolution. |denom| is the value to divide |t| by to get whole seconds, 159 // e.g. |denom| = 1000 if |t| is in milliseconds. 160 static uint32_t AbsSendTime(int64_t t, int64_t denom);
|
/frameworks/av/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...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
MSSIMComparer.java | 123 double denom = ((muX * muX) + (muY * muY) + CONSTANT_C1) local 125 SSIM /= denom;
|
/external/aac/libFDK/include/ |
fixpoint_math.h | 317 FIXP_DBL fDivNorm(FIXP_DBL num, FIXP_DBL denom, INT *result_e); 326 FIXP_DBL fDivNorm(FIXP_DBL num, FIXP_DBL denom);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/interpolation/ |
LoessInterpolator.java | 281 double denom = FastMath.abs(1.0 / (xval[edge] - x)); local 286 final double w = tricube(dist * denom) * robustnessWeights[k] * weights[k];
|
/external/dhcpcd-6.8.2/ |
common.c | 106 factor = (double)info.numer / (double)info.denom; 112 if ((info.denom != 1 || info.numer != 1) && factor != 0.0)
|
/external/libchrome/base/time/ |
time_mac.cc | 45 if (timebase_info.denom == 0) { 46 // Zero-initialization of statics guarantees that denom will be 0 before 47 // calling mach_timebase_info. mach_timebase_info will never set denom to 64 result /= timebase_info.denom; 67 // With numer and denom = 1 (the expected case), the 64-bit absolute time
|
/external/skia/src/gpu/effects/ |
GrConvolutionEffect.cpp | 168 float denom = 1.0f / (2.0f * gaussianSigma * gaussianSigma); local 173 fKernel[i] = sk_float_exp(- x * x * denom);
|
/external/webrtc/webrtc/base/ |
timeutils.cc | 41 if (timebase.denom == 0) { 49 ticks = mach_absolute_time() * timebase.numer / timebase.denom;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
FastMath.java | 407 double denom = 1.0 + ya; local 408 double denomr = 1.0 / denom; 409 double denomb = -(denom - 1.0 - ya) + yb; 415 temp = denom * HEX_40000000; 416 double za = denom + temp - temp; 417 double zb = denom - za; 940 double denom = 1.0 + ya; local 941 double denomr = 1.0 / denom; 942 double denomb = -(denom - 1.0 - ya) + yb; 948 temp = denom * HEX_40000000 1363 double denom = TWO_POWER_52 + (bits & 0x000ffc0000000000L); local 2837 double denom = 1.0 \/ (1.0 + (xa + xb) * (TANGENT_TABLE_A[idx] + TANGENT_TABLE_B[idx])); local [all...] |
/external/opencv3/modules/imgproc/test/ |
test_filter.cpp | [all...] |
/external/skia/src/effects/gradients/ |
SkTwoPointConicalGradient.cpp | 23 static int valid_divide(float numer, float denom, float* ratio) { 25 if (0 == denom) { 28 *ratio = numer / denom;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
fractions.py | 35 (?:/(?P<denom>\d+))? # an optional denominator 127 denom = m.group('denom') 128 if denom: 129 denominator = int(denom)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
fractions.py | 35 (?:/(?P<denom>\d+))? # an optional denominator 127 denom = m.group('denom') 128 if denom: 129 denominator = int(denom)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
fractions.py | 35 (?:/(?P<denom>\d+))? # an optional denominator 127 denom = m.group('denom') 128 if denom: 129 denominator = int(denom)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
fractions.py | 35 (?:/(?P<denom>\d+))? # an optional denominator 127 denom = m.group('denom') 128 if denom: 129 denominator = int(denom)
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/ |
trace_time.py | 56 ('denom', ctypes.c_uint32)) 63 ticks_per_second = timebase.numer / timebase.denom * 1.0e9
|