/external/chromium_org/ui/gfx/ |
quad_f.cc | 78 double denom = dot00 * dot11 - dot01 * dot01; local 80 double v = (dot11 * dot20 - dot01 * dot21) / denom; 81 double w = (dot00 * dot21 - dot01 * dot20) / denom;
|
/external/libvpx/libvpx/vpx_mem/memory_manager/include/ |
hmm_intrnl.h | 59 #define DIV_ROUND_UP(NUMER, DENOM) (((NUMER) + (DENOM) - 1) / (DENOM))
|
/external/skia/src/effects/ |
SkEmbossMask.cpp | 116 if (numer > 0) { // preflight when numer/denom will be <= 0 118 int denom = SkSqrt32(nx * nx + ny * ny + kDelta*kDelta); 119 SkFixed dot = numer / denom;
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
GeometryMathUtils.java | 69 float denom = t1 * t4 - t0 * t5; local 70 if (denom == 0) 72 float u = (t3 * t4 + t5 * t2) / denom;
|
/external/chromium_org/third_party/skia/src/pathops/ |
SkPathOpsLine.cpp | 73 double denom = len.fX * len.fX + len.fY * len.fY; // see DLine intersectRay local 76 if (!between(0, numer, denom)) { 79 double t = numer / denom; 97 double denom = len.fX * len.fX + len.fY * len.fY; // see DLine intersectRay local 100 double t = numer / denom;
|
SkPathOpsQuad.cpp | 300 static int valid_unit_divide(double numer, double denom, double* ratio) 304 denom = -denom; 306 if (denom == 0 || numer == 0 || numer >= denom) { 309 double r = numer / denom; 310 if (r == 0) { // catch underflow if numer <<<< denom
|
SkReduceOrder.cpp | 225 double denom = SkTMax(fabs(cx), SkTMax(fabs(cy), local 227 if (denom == 0) { 232 double inv = 1 / denom;
|
/external/skia/src/pathops/ |
SkPathOpsLine.cpp | 73 double denom = len.fX * len.fX + len.fY * len.fY; // see DLine intersectRay local 76 if (!between(0, numer, denom)) { 79 double t = numer / denom; 97 double denom = len.fX * len.fX + len.fY * len.fY; // see DLine intersectRay local 100 double t = numer / denom;
|
SkPathOpsQuad.cpp | 300 static int valid_unit_divide(double numer, double denom, double* ratio) 304 denom = -denom; 306 if (denom == 0 || numer == 0 || numer >= denom) { 309 double r = numer / denom; 310 if (r == 0) { // catch underflow if numer <<<< denom
|
SkReduceOrder.cpp | 225 double denom = SkTMax(fabs(cx), SkTMax(fabs(cy), local 227 if (denom == 0) { 232 double inv = 1 / denom;
|
/frameworks/av/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/chromium_org/third_party/libjingle/source/talk/base/ |
timeutils.cc | 55 if (timebase.denom == 0) { 61 ticks = mach_absolute_time() * timebase.numer / timebase.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...] |
/external/aac/libSBRenc/src/ |
ton_corr.cpp | 240 FIXP_DBL tmp,num,denom; variable 247 denom = (fac>>1) + (fMultDiv2(fac,RELAXATION_FRACT)>>RELAXATION_SHIFT) - num; 248 denom = fixp_abs(denom); 255 denomShift = CountLeadingBits(denom); 256 denom = (FIXP_DBL)denom << denomShift; 258 if ((num > FL2FXCONST_DBL(0.0f)) && (denom != FL2FXCONST_DBL(0.0f))) { 262 tmp = schur_div(num,denom,16); 267 quotaMatrix[timeIndex][r] = schur_div(num,denom,16) >> commonShift [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/ |
BoundingBox.java | 848 * @param denom
856 private boolean clip(float denom, float numer, float[] t) {
860 if (denom > 0.0f) {
861 if (numer > denom * t[1]) {
864 if (numer > denom * t[0]) {
865 t[0] = numer / denom;
868 } else if (denom < 0.0f) {
869 if (numer > denom * t[0]) {
872 if (numer > denom * t[1]) {
873 t[1] = numer / denom;
[all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
spaceanal.tcl | 179 # Generate a formatted percentage value for $num/$denom 181 proc percent {num denom {of {}}} { 182 if {$denom==0.0} {return ""} 183 set v [expr {$num*100.0/$denom}] 194 proc divide {num denom} { 195 if {$denom==0} {return 0.0} 196 return [format %.2f [expr double($num)/double($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/chromium/chrome/browser/automation/ |
ui_controls_mac.mm | 60 // We can use denom == 0 to indicate that sTimebaseInfo is 63 if (sTimebaseInfo.denom == 0) { 68 timeNano = time * sTimebaseInfo.numer / sTimebaseInfo.denom;
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_aatriangle.c | 120 const GLfloat denom = plane[3] + plane[0] * x + plane[1] * y; local 121 if (denom == 0.0F) 124 return -plane[2] / denom;
|
/external/chromium_org/ui/base/test/ |
ui_controls_mac.mm | 61 // We can use denom == 0 to indicate that sTimebaseInfo is 64 if (sTimebaseInfo.denom == 0) { 69 timeNano = time * sTimebaseInfo.numer / sTimebaseInfo.denom;
|
/external/mesa3d/src/mesa/swrast/ |
s_aatriangle.c | 120 const GLfloat denom = plane[3] + plane[0] * x + plane[1] * y; local 121 if (denom == 0.0F) 124 return -plane[2] / denom;
|
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/ |
oper_32b.c | 179 Word32 Div_32 (Word32 L_num, Word32 denom) 185 approx = div_s ((Word16) 0x3fff, denom >> 16); 189 L_32 = L_mpy_ls (denom, approx);
|
/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/chromium_org/media/mp4/ |
track_run_iterator.h | 24 base::TimeDelta MEDIA_EXPORT TimeDeltaFromRational(int64 numer, int64 denom);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
cinttypes | 229 imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom);
|