Home
last modified time | relevance | path

Searched refs:dxy (Results 1 – 10 of 10) sorted by relevance

/external/skqp/src/core/
DSkStroke.cpp237 void setRayPts(const SkPoint& tPt, SkVector* dxy, SkPoint* onPt, SkPoint* tangent) const;
501 SkVector dxy = lineEnd - lineStart; in pt_to_line() local
502 if (degenerate_vector(dxy)) { in pt_to_line()
506 SkScalar numer = dxy.dot(ab0); in pt_to_line()
507 SkScalar denom = dxy.dot(dxy); in pt_to_line()
765 void SkPathStroker::setRayPts(const SkPoint& tPt, SkVector* dxy, SkPoint* onPt, in setRayPts() argument
767 SkPoint oldDxy = *dxy; in setRayPts()
768 if (!dxy->setLength(fRadius)) { // consider moving double logic into SkPoint::setLength in setRayPts()
772 dxy->fX = SkDoubleToScalar(xx * dscale); in setRayPts()
773 dxy->fY = SkDoubleToScalar(yy * dscale); in setRayPts()
[all …]
DSkPathMeasure.cpp158 SkVector dxy = midTPt - midEnds; in conic_too_curvy() local
159 SkScalar dist = SkMaxScalar(SkScalarAbs(dxy.fX), SkScalarAbs(dxy.fY)); in conic_too_curvy()
/external/skia/src/core/
DSkStroke.cpp237 void setRayPts(const SkPoint& tPt, SkVector* dxy, SkPoint* onPt, SkPoint* tangent) const;
501 SkVector dxy = lineEnd - lineStart; in pt_to_line() local
503 SkScalar numer = dxy.dot(ab0); in pt_to_line()
504 SkScalar denom = dxy.dot(dxy); in pt_to_line()
766 void SkPathStroker::setRayPts(const SkPoint& tPt, SkVector* dxy, SkPoint* onPt, in setRayPts() argument
768 if (!dxy->setLength(fRadius)) { in setRayPts()
769 dxy->set(fRadius, 0); in setRayPts()
772 onPt->fX = tPt.fX + axisFlip * dxy->fY; in setRayPts()
773 onPt->fY = tPt.fY - axisFlip * dxy->fX; in setRayPts()
775 tangent->fX = onPt->fX + dxy->fX; in setRayPts()
[all …]
DSkContourMeasure.cpp152 SkVector dxy = midTPt - midEnds; in conic_too_curvy() local
153 SkScalar dist = std::max(SkScalarAbs(dxy.fX), SkScalarAbs(dxy.fY)); in conic_too_curvy()
/external/tensorflow/tensorflow/core/util/
Doverflow_test.cc44 long double dxy = static_cast<long double>(x) * y; in TEST() local
45 if (dxy > std::numeric_limits<int64>::max()) { in TEST()
48 EXPECT_EQ(dxy, xy); in TEST()
/external/skia/src/utils/
DSkDashPath.cpp100 SkVector dxy = pts[1] - pts[0]; in clip_line() local
103 if (dxy.fX && dxy.fY) { in clip_line()
106 int xyOffset = SkToBool(dxy.fY); // 0 to adjust horizontal, 1 to adjust vertical in clip_line()
/external/skqp/src/utils/
DSkDashPath.cpp100 SkVector dxy = pts[1] - pts[0]; in clip_line() local
103 if (dxy.fX && dxy.fY) { in clip_line()
106 int xyOffset = SkToBool(dxy.fY); // 0 to adjust horizontal, 1 to adjust vertical in clip_line()
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dkeypoint_detector.cc287 const float dxy = G[1]; in HarrisFilter() local
290 return (dx * dy - Square(dxy)) / (dx + dy + FLT_MIN); in HarrisFilter()
/external/pdfium/third_party/lcms/src/
Dcmsintrp.c353 dxy; in BilinearInterpFloat() local
378 dxy = LERP(fy, dx0, dx1); in BilinearInterpFloat()
380 Output[OutChan] = dxy; in BilinearInterpFloat()
406 dxy; in BilinearInterp16() local
436 dxy = LERP(ry, dx0, dx1); in BilinearInterp16()
438 Output[OutChan] = (cmsUInt16Number) dxy; in BilinearInterp16()
/external/libaom/libaom/av1/encoder/
Drdopt.c437 const double dxy = md->sse_ld_mean; in av1_inter_mode_data_fit() local
439 md->a = (dxy - mx * my) / (dx * dx - mx * mx); in av1_inter_mode_data_fit()