Home
last modified time | relevance | path

Searched refs:sk_ieee_float_divide (Results 1 – 25 of 45) sorted by relevance

12

/external/skia/src/core/
DSkPoint.cpp112 SkScalar temp = sk_ieee_float_divide(det, uLengthSqd); in DistanceToLineBetweenSqd()
155 SkScalar temp = sk_ieee_float_divide(det, uLengthSqd); in DistanceToLineSegmentBetweenSqd()
DSkDrawShadowInfo.h38 float result = SkTPin(sk_ieee_float_divide(numer, denom), min, max); in divide_and_pin()
DSkMatrix.cpp1354 float denom = sk_ieee_float_divide(x1 * y2, x2) - y1; in Poly4Proc()
1360 float denom = x1 - sk_ieee_float_divide(y1 * x2, y2); in Poly4Proc()
1364 a1 = (x0 - x1 - sk_ieee_float_divide((y0 - y1) * x2, y2)) / denom; in Poly4Proc()
1369 float denom = y2 - sk_ieee_float_divide(x2 * y1, x1); in Poly4Proc()
1373 a2 = (y0 - y2 - sk_ieee_float_divide((x0 - x2) * y1, x1)) / denom; in Poly4Proc()
1375 float denom = sk_ieee_float_divide(y2 * x1, y1) - x2; in Poly4Proc()
1379 a2 = (sk_ieee_float_divide((y0 - y2) * x1, y1) - x0 + x2) / denom; in Poly4Proc()
DSkScan_AntiPath.cpp629 SkScalar intersections = sk_ieee_float_divide(sqr(n) * sqr(avgLength), diagonalSqr); in compute_complexity()
632 complexity = sk_ieee_float_divide(intersections, path.getBounds().height()); in compute_complexity()
DSkRRect.cpp30 SkScalar scale = std::min(sk_ieee_float_divide(fRect. width(), xRad + xRad), in setRectXY()
31 sk_ieee_float_divide(fRect.height(), yRad + yRad)); in setRectXY()
/external/skqp/src/core/
DSkPoint.cpp168 SkScalar temp = sk_ieee_float_divide(det, uLengthSqd); in DistanceToLineBetweenSqd()
211 SkScalar temp = sk_ieee_float_divide(det, uLengthSqd); in DistanceToLineSegmentBetweenSqd()
DSkDrawShadowInfo.h38 float result = SkTPin(sk_ieee_float_divide(numer, denom), min, max); in divide_and_pin()
DSkStrike.cpp287 SkScalar t = yAxis ? sk_ieee_float_divide(axis - pts[0].fX, pts[1].fX - pts[0].fX) in AddLine()
288 : sk_ieee_float_divide(axis - pts[0].fY, pts[1].fY - pts[0].fY); in AddLine()
DSkMatrix.cpp1333 float denom = sk_ieee_float_divide(x1 * y2, x2) - y1; in Poly4Proc()
1339 float denom = x1 - sk_ieee_float_divide(y1 * x2, y2); in Poly4Proc()
1343 a1 = (x0 - x1 - sk_ieee_float_divide((y0 - y1) * x2, y2)) / denom; in Poly4Proc()
1348 float denom = y2 - sk_ieee_float_divide(x2 * y1, x1); in Poly4Proc()
1352 a2 = (y0 - y2 - sk_ieee_float_divide((x0 - x2) * y1, x1)) / denom; in Poly4Proc()
1354 float denom = sk_ieee_float_divide(y2 * x1, y1) - x2; in Poly4Proc()
1358 a2 = (sk_ieee_float_divide((y0 - y2) * x1, y1) - x0 + x2) / denom; in Poly4Proc()
DSkRRect.cpp30 SkScalar scale = SkMinScalar(sk_ieee_float_divide(fRect. width(), xRad + xRad), in setRectXY()
31 sk_ieee_float_divide(fRect.height(), yRad + yRad)); in setRectXY()
DSkScan_AntiPath.cpp630 SkScalar intersections = sk_ieee_float_divide(sqr(n) * sqr(avgLength), diagonalSqr); in compute_complexity()
633 complexity = sk_ieee_float_divide(intersections, path.getBounds().height()); in compute_complexity()
/external/skqp/include/private/
DSkFloatingPoint.h202 static inline float sk_ieee_float_divide(float numer, float denom) { in sk_ieee_float_divide() function
215 return sk_ieee_float_divide(n,d); in sk_ieee_float_divide_TODO_IS_DIVIDE_BY_ZERO_SAFE_HERE()
/external/skia/include/private/
DSkFloatingPoint.h230 static inline float sk_ieee_float_divide(float numer, float denom) { in sk_ieee_float_divide() function
241 return sk_ieee_float_divide(n,d); in sk_ieee_float_divide_TODO_IS_DIVIDE_BY_ZERO_SAFE_HERE()
/external/skia/modules/skottie/src/layers/shapelayer/
DGradient.cpp155 t_c = SkTPin(sk_ieee_float_divide(o_pos_rel, c_pos_rel), 0.0f, 1.0f), in onSync()
156 t_o = SkTPin(sk_ieee_float_divide(c_pos_rel, o_pos_rel), 0.0f, 1.0f); in onSync()
DPolystar.cpp44 const auto arc = sk_ieee_float_divide(SK_ScalarPI * 2, count); in onSync()
/external/skqp/modules/skottie/src/
DSkottiePrecompLayer.cpp69 t_scale = sk_ieee_float_divide(1, stretch_time); in attachPrecompLayer()
/external/skqp/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp20 fFocalX = sk_ieee_float_divide(r0, (r0 - r1)); in set()
64 const SkScalar scale = sk_ieee_float_divide(1, SkTMax(r0, r1)); in Create()
DSkSweepGradient.cpp34 return std::make_tuple(-tBias * 360, (sk_ieee_float_divide(1, tScale) - tBias) * 360); in angles_from_t_coeff()
/external/skia/modules/skottie/src/layers/
DPrecompLayer.cpp106 t_scale = sk_ieee_float_divide(1, stretch_time); in attachPrecompLayer()
/external/skqp/src/utils/
DSk3D.cpp44 float denomInv = sk_ieee_float_divide(1, far - near); in Sk3Perspective()
/external/skia/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp20 fFocalX = sk_ieee_float_divide(r0, (r0 - r1)); in set()
64 const SkScalar scale = sk_ieee_float_divide(1, std::max(r0, r1)); in Create()
DSkSweepGradient.cpp33 return std::make_tuple(-tBias * 360, (sk_ieee_float_divide(1, tScale) - tBias) * 360); in angles_from_t_coeff()
/external/skia/modules/skottie/src/
DCamera.cpp41 view_angle = std::atan(sk_ieee_float_divide(view_size * 0.5f, view_distance)); in ComputeCameraMatrix()
/external/skia/src/gpu/geometry/
DGrQuad.h97 float iw(int i) const { return sk_ieee_float_divide(1.f, fW[i]); } in iw()
/external/skia/modules/skottie/src/effects/
DLevelsEffect.cpp42 g = sk_ieee_float_divide(1, std::max(fGamma, 0.0f)); in build_lut()

12