Home
last modified time | relevance | path

Searched refs:SkScalarInterp (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/core/
DSkCubicClipper.cpp44 SkScalar y01 = SkScalarInterp(ycrv[0], ycrv[1], t0); in ChopMonoAtY()
45 SkScalar y12 = SkScalarInterp(ycrv[1], ycrv[2], t0); in ChopMonoAtY()
46 SkScalar y23 = SkScalarInterp(ycrv[2], ycrv[3], t0); in ChopMonoAtY()
47 SkScalar y012 = SkScalarInterp(y01, y12, t0); in ChopMonoAtY()
48 SkScalar y123 = SkScalarInterp(y12, y23, t0); in ChopMonoAtY()
49 SkScalar y0123 = SkScalarInterp(y012, y123, t0); in ChopMonoAtY()
87 SkScalar y01 = SkScalarInterp(ycrv[0], ycrv[1], tMid); in ChopMonoAtY()
88 SkScalar y12 = SkScalarInterp(ycrv[1], ycrv[2], tMid); in ChopMonoAtY()
89 SkScalar y23 = SkScalarInterp(ycrv[2], ycrv[3], tMid); in ChopMonoAtY()
90 SkScalar y012 = SkScalarInterp(y01, y12, tMid); in ChopMonoAtY()
[all …]
DSkPathMeasure.cpp86 SkScalarInterp(pts[0].fX, pts[3].fX, SK_Scalar1/3), in cubic_too_curvy()
87 SkScalarInterp(pts[0].fY, pts[3].fY, SK_Scalar1/3)) in cubic_too_curvy()
90 SkScalarInterp(pts[0].fX, pts[3].fX, SK_Scalar1*2/3), in cubic_too_curvy()
91 SkScalarInterp(pts[0].fY, pts[3].fY, SK_Scalar1*2/3)); in cubic_too_curvy()
354 pos->set(SkScalarInterp(pts[0].fX, pts[1].fX, t), in compute_pos_tan()
355 SkScalarInterp(pts[0].fY, pts[1].fY, t)); in compute_pos_tan()
406 dst->lineTo(SkScalarInterp(pts[0].fX, pts[1].fX, stopT), in seg_to()
407 SkScalarInterp(pts[0].fY, pts[1].fY, stopT)); in seg_to()
DSkScalar.cpp35 return SkScalarInterp(values[right-1], values[right], fract); in SkScalarInterpFunc()
DSkGeometry.cpp309 SkScalar ab = SkScalarInterp(src[0], src[2], t); in eval_cubic()
310 SkScalar bc = SkScalarInterp(src[2], src[4], t); in eval_cubic()
311 SkScalar cd = SkScalarInterp(src[4], src[6], t); in eval_cubic()
312 SkScalar abc = SkScalarInterp(ab, bc, t); in eval_cubic()
313 SkScalar bcd = SkScalarInterp(bc, cd, t); in eval_cubic()
314 return SkScalarInterp(abc, bcd, t); in eval_cubic()
964 SkScalar ab = SkScalarInterp(src[0], src[3], t); in p3d_interp()
965 SkScalar bc = SkScalarInterp(src[3], src[6], t); in p3d_interp()
967 dst[3] = SkScalarInterp(ab, bc, t); in p3d_interp()
/external/skia/gm/
Dgradients_2pt_conical.cpp71 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInside()
72 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalInside()
84 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInsideFlip()
85 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalInsideFlip()
97 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalInsideCenter()
98 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalInsideCenter()
110 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRad()
111 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalZeroRad()
123 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2ConicalZeroRadFlip()
124 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2ConicalZeroRadFlip()
[all …]
Dblurroundrect.cpp109 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeRadial()
110 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeRadial()
Dshadertext.cpp72 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical()
73 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Conical()
Dblurrect.cpp75 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeRadial()
76 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeRadial()
Dgradients_no_texture.cpp52 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Radial()
53 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Radial()
Dgradients.cpp72 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Radial()
73 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Radial()
/external/skia/src/utils/
DSkBoundaryPatch.cpp28 return SkMakePoint(SkScalarInterp(a.fX, b.fX, t), in SkPointInterp()
29 SkScalarInterp(a.fY, b.fY, t)); in SkPointInterp()
DSkInterpolator.cpp198 values[i] = SkScalarInterp(prevSrc[i], nextSrc[i], T); in timeToValues()
/external/skia/bench/
DGradientBench.cpp83 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeConical()
84 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeConical()
96 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in MakeConicalZeroRad()
97 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in MakeConicalZeroRad()
/external/skia/samplecode/
DSampleShaderText.cpp80 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical()
81 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Conical()
DSampleGradients.cpp89 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical()
90 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Conical()
DSampleSlides.cpp204 center1.set(SkScalarInterp(pts[0].fX, pts[1].fX, SkIntToScalar(3)/5), in Make2Conical()
205 SkScalarInterp(pts[0].fY, pts[1].fY, SkIntToScalar(1)/4)); in Make2Conical()
/external/skia/src/animator/
DSkOperandIterpolator.cpp77 values[i].fScalar = SkScalarInterp(prevSrc[i].fScalar, nextSrc[i].fScalar, T); in timeToValues()
/external/skia/src/effects/
DSkPerlinNoiseShader.cpp365 SkScalar a = SkScalarInterp(u, v, sx); in noise2D()
370 SkScalar b = SkScalarInterp(u, v, sx); in noise2D()
371 return SkScalarInterp(a, b, sy); in noise2D()
/external/skia/include/core/
DSkScalar.h238 static inline SkScalar SkScalarInterp(SkScalar A, SkScalar B, SkScalar t) { in SkScalarInterp() function
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp433 SkScalar a = SkScalarInterp(u, v, sx); in noise2D()
438 SkScalar b = SkScalarInterp(u, v, sx); in noise2D()
439 return SkScalarInterp(a, b, sy); in noise2D()