Home
last modified time | relevance | path

Searched refs:denom (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
Dgrad.rs62 float denom = (y2 * y2 - 2 * y1 * y2 + x2 * x2 - 2 * x1 * x2 + y1 * y1 + x1 * x1);
63 if (denom == 0) {
66 grads[k].dy = (y1 - y2) / denom;
67 grads[k].dx = (x1 - x2) / denom;
68 grads[k].off = (y2 * y2 + x2 * x2 - x1 * x2 - y1 * y2) / denom;
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/msinttypes/
Dinttypes.h290 imaxdiv_t __cdecl imaxdiv(intmax_t numer, intmax_t denom) in imaxdiv() argument
294 result.quot = numer / denom; in imaxdiv()
295 result.rem = numer % denom; in imaxdiv()
300 result.rem -= denom; in imaxdiv()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java118 float denom = t1 * t4 - t0 * t5; in lineIntersect() local
119 if (denom == 0) in lineIntersect()
121 float u = (t3 * t4 + t5 * t2) / denom; in lineIntersect()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_feature_detection.cpp1461 float denom = (fxx * fyy - fxy * fxy) * (float) 2.0; in db_SubPixel() local
1466 if ( db_absf(denom) <= FLT_EPSILON ) in db_SubPixel()
1475 float dx = (fyy * fx - fxy * fy) / denom; in db_SubPixel()
1476 float dy = (fxx * fy - fxy * fx) / denom; in db_SubPixel()