Home
last modified time | relevance | path

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

/external/skqp/src/pathops/
DSkPathOpsWinding.cpp91 fSlope = segment->dSlopeAtT(fT); in makeTestBase()
94 return fabs(fSlope.fX) < fabs(fSlope.fY) ? SkOpRayDir::kLeft : SkOpRayDir::kTop; in makeTestBase()
101 SkDVector fSlope; member
182 newHit->fSlope = slope; in rayCheck()
243 if (hitBase.fSlope.fX == 0 && hitBase.fSlope.fY == 0) { in sortableTop()
249 && !pt_dydx(hitBase.fSlope, dir)) { in sortableTop()
280 bool ccw = ccw_dxdy(hit->fSlope, dir); in sortableTop()
287 hit->fPt.fX, hit->fPt.fY, hit->fSlope.fX, hit->fSlope.fY); in sortableTop()
298 bool ccw = ccw_dxdy(hit->fSlope, dir); in sortableTop()
/external/skia/src/pathops/
DSkPathOpsWinding.cpp91 fSlope = segment->dSlopeAtT(fT); in makeTestBase()
94 return fabs(fSlope.fX) < fabs(fSlope.fY) ? SkOpRayDir::kLeft : SkOpRayDir::kTop; in makeTestBase()
101 SkDVector fSlope; member
182 newHit->fSlope = slope; in rayCheck()
243 if (hitBase.fSlope.fX == 0 && hitBase.fSlope.fY == 0) { in sortableTop()
249 && !pt_dydx(hitBase.fSlope, dir)) { in sortableTop()
280 bool ccw = ccw_dxdy(hit->fSlope, dir); in sortableTop()
287 hit->fPt.fX, hit->fPt.fY, hit->fSlope.fX, hit->fSlope.fY); in sortableTop()
298 bool ccw = ccw_dxdy(hit->fSlope, dir); in sortableTop()
/external/dng_sdk/source/
Ddng_render.cpp37 : fSlope ((white == black) ? 0.0f : 1.0 / (white - black)) in dng_function_exposure_ramp()
44 if (fSlope == 0.0) in dng_function_exposure_ramp()
54 kMaxCurveY / fSlope); in dng_function_exposure_ramp()
57 fQScale= fSlope / (4.0 * fRadius); in dng_function_exposure_ramp()
72 return Min_real64 ((x - fBlack) * fSlope, 1.0); in Evaluate()
86 , fSlope (0.0) in dng_function_exposure_tone()
99 fSlope = pow (2.0, exposure); in dng_function_exposure_tone()
104 a = 16.0 / 9.0 * (1.0 - fSlope); in dng_function_exposure_tone()
106 b = fSlope - 0.5 * a; in dng_function_exposure_tone()
123 x = x * fSlope; in Evaluate()
Ddng_render.h41 real64 fSlope; // Slope of straight segment.
71 real64 fSlope; // Slope for lower part of curve. variable