/third_party/skia/modules/skottie/src/layers/shapelayer/ |
D | PuckerBloat.cpp | 23 static SkPoint lerp(const SkPoint& p0, const SkPoint& p1, SkScalar t) { in lerp() function 61 path.moveTo(lerp(contour_start, center, fAmount)); in onRevalidateEffect() 63 path.cubicTo(lerp(c.ctrl0, center, -fAmount), in onRevalidateEffect() 64 lerp(c.ctrl1, center, -fAmount), in onRevalidateEffect() 65 lerp(c.pt , center, fAmount)); in onRevalidateEffect() 89 lerp(line_start, line_end, kCtrlPosFraction), in onRevalidateEffect() 90 lerp(line_start, line_end, 1 - kCtrlPosFraction), in onRevalidateEffect() 110 lerp(pts[1], conic_start, kCubicCircleCoeff), in onRevalidateEffect() 111 lerp(pts[1], conic_end , kCubicCircleCoeff), in onRevalidateEffect()
|
D | Gradient.cpp | 159 auto lerp = [](float a, float b, float t) { return a + t * (b - a); }; in onSync() local 164 lerp(current_stop.fColor.fR, cs.r, t_c ), in onSync() 165 lerp(current_stop.fColor.fG, cs.g, t_c ), in onSync() 166 lerp(current_stop.fColor.fB, cs.b, t_c ), in onSync() 167 lerp(current_stop.fColor.fA, os.a, t_o) in onSync()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/ |
D | compatibility.hpp | 38 …template <typename T> GLM_FUNC_QUALIFIER T lerp(T x, T y, T a){return mix(x, y, a);} … in lerp() function 39 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec2<T, P> lerp(const tvec2<T, P>& x, const… in lerp() function 41 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec3<T, P> lerp(const tvec3<T, P>& x, const… in lerp() function 42 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec4<T, P> lerp(const tvec4<T, P>& x, const… in lerp() function 43 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec2<T, P> lerp(const tvec2<T, P>& x, const… in lerp() function 44 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec3<T, P> lerp(const tvec3<T, P>& x, const… in lerp() function 45 …template <typename T, precision P> GLM_FUNC_QUALIFIER tvec4<T, P> lerp(const tvec4<T, P>& x, const… in lerp() function
|
/third_party/skia/samplecode/ |
D | SampleFitCubicToCircle.cpp | 79 static double lerp(double x, double y, double T) { in lerp() function 86 double ab = lerp(x[0], x[1], T); in eval_cubic() 87 double bc = lerp(x[1], x[2], T); in eval_cubic() 88 double cd = lerp(x[2], x[3], T); in eval_cubic() 89 double abc = lerp(ab, bc, T); in eval_cubic() 90 double bcd = lerp(bc, cd, T); in eval_cubic() 91 double abcd = lerp(abc, bcd, T); in eval_cubic()
|
/third_party/gstreamer/gstplugins_bad/gst/geometrictransform/ |
D | geometricmath.c | 117 lerp (gdouble t, gdouble a, gdouble b) in lerp() function 157 a = lerp (sx, u, v); in gst_gm_noise_2() 163 b = lerp (sx, u, v); in gst_gm_noise_2() 165 return 1.5 * lerp (sy, a, b); in gst_gm_noise_2()
|
/third_party/skia/experimental/lowp-basic/ |
D | CMakeLists.txt | 8 add_executable(lerp lerp-study.cpp) target
|
D | lerp-study.cpp | 85 static Stats check_lerp(Lerp lerp) { in check_lerp() argument 92 int16_t candidate = lerp(t, a, b); in check_lerp()
|
/third_party/skia/src/core/ |
D | SkVM.h | 776 F32 lerp(F32 lo, F32 hi, F32 t); 777 F32 lerp(F32 lo, F32 hi, float t) { return lerp( lo , hi , splat(t)); } in lerp() function 778 F32 lerp(F32 lo, float hi, float t) { return lerp( lo , splat(hi), splat(t)); } in lerp() function 779 F32 lerp(F32 lo, float hi, F32 t) { return lerp( lo , splat(hi), t ); } in lerp() function 780 F32 lerp(float lo, F32 hi, F32 t) { return lerp(splat(lo), hi , t ); } in lerp() function 781 F32 lerp(float lo, F32 hi, float t) { return lerp(splat(lo), hi , splat(t)); } in lerp() function 782 F32 lerp(float lo, float hi, F32 t) { return lerp(splat(lo), splat(hi), t ); } in lerp() function 1244 SI F32 lerp(F32 lo, F32 hi, F32 t) { return lo->lerp(lo,hi,t); } in lerp() function 1245 SI F32 lerp(F32 lo, F32 hi, float t) { return lo->lerp(lo,hi,t); } in lerp() function 1246 SI F32 lerp(F32 lo, float hi, F32 t) { return lo->lerp(lo,hi,t); } in lerp() function [all …]
|
D | SkCompressedDataUtils.cpp | 170 static SkPMColor lerp(float t, SkPMColor col0, SkPMColor col1) { in lerp() function 204 colors[2] = lerp(2.0f/3.0f, colors[0], colors[1]); in decompress_bc1() 205 colors[3] = lerp(1.0f/3.0f, colors[0], colors[1]); in decompress_bc1()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/examples/ |
D | fractal.cpp | 60 inline float lerp(float x, float min, float max) { in lerp() function 186 color += julia(lerp(dx, windowMinX, windowMaxX), in main() 187 lerp(dy, windowMinY, windowMaxY), cx, cy); in main()
|
/third_party/skia/gm/ |
D | trickycubicstrokes.cpp | 94 static SkPoint lerp(const SkPoint& a, const SkPoint& b, float T) { in lerp() function 143 SkPoint asCubic[4] = {p[0], lerp(p[0], p[1], 2/3.f), lerp(p[1], p[2], 1/3.f), p[2]}; in draw_test()
|
/third_party/glslang/Test/ |
D | hlsl.intrinsics.vert | 34 lerp(inF0, inF1, inF2); 104 lerp(inF0, inF1, inF2); 174 lerp(inF0, inF1, inF2); 244 lerp(inF0, inF1, inF2); 305 lerp(inF0, inF1, inF2); \
|
D | hlsl.intrinsics.frag | 62 float r039a = lerp(inF0, inF1, inF2); 146 float2 r039a = lerp(inF0, inF1, inF2); 227 float3 r039a = lerp(inF0, inF1, inF2); 228 float3 r039b = lerp(inF0, inF1, 0.3); // test vec,vec,scalar lerp 309 float4 r039a = lerp(inF0, inF1, inF2); 376 MT r026a = lerp(inF0, inF1, inF2); \
|
/third_party/skia/third_party/externals/tint/test/intrinsics/gen/mix/ |
D | 4f0b5e.wgsl.expected.hlsl | 2 float res = lerp(1.0f, 1.0f, 1.0f);
|
D | 2fadab.wgsl.expected.hlsl | 2 float2 res = lerp(float2(0.0f, 0.0f), float2(0.0f, 0.0f), 1.0f);
|
D | 315264.wgsl.expected.hlsl | 2 float3 res = lerp(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f), 1.0f);
|
D | 6f8adc.wgsl.expected.hlsl | 2 float2 res = lerp(float2(0.0f, 0.0f), float2(0.0f, 0.0f), float2(0.0f, 0.0f));
|
D | 1faeb1.wgsl.expected.hlsl | 2 float4 res = lerp(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f), 1.0f);
|
D | 0c8c33.wgsl.expected.hlsl | 2 float3 res = lerp(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
|
D | c37ede.wgsl.expected.hlsl | 2 …float4 res = lerp(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0…
|
/third_party/skia/src/opts/ |
D | SkBitmapProcState_opts.h | 132 auto lerp = [](auto lo, auto hi, auto w) { in S32_alpha_D32_filter_DX() 135 skvx::Vec<32, uint16_t> sum = lerp(lerp(to_16x4(tl), to_16x4(bl), wy), in S32_alpha_D32_filter_DX() 136 lerp(to_16x4(tr), to_16x4(br), wy), to_16x4(wx)); in S32_alpha_D32_filter_DX()
|
D | SkRasterPipeline_opts.h | 1775 SI F lerp(F from, F to, F t) { in lerp() function 1780 r = lerp(dr, r, *c); in STAGE() 1781 g = lerp(dg, g, *c); in STAGE() 1782 b = lerp(db, b, *c); in STAGE() 1783 a = lerp(da, a, *c); in STAGE() 1794 r = lerp(dr, r, c); in STAGE() 1795 g = lerp(dg, g, c); in STAGE() 1796 b = lerp(db, b, c); in STAGE() 1797 a = lerp(da, a, c); in STAGE() 1805 r = lerp(dr, r, c); in STAGE() [all …]
|
/third_party/openGLES/extensions/3DFX/ |
D | 3DFX_texture_compression_FXT1.txt | 511 mode[2:0] lerp alpha2 alpha1 alpha0 color2 color1 color0 texel 31 to 16 texel 15 to 0 515 [124] lerp 556 When lerp = 0 (bit 124 = 0), the converted 32-bit colors color2, 565 Table Lookup (when lerp = 0): 575 When lerp = 1 (bit 124 = 1), the converted 32-bit colors color2 and 585 32-bit base colors (when lerp = 1): 599 Table Lookup (when lerp = 1):
|
/third_party/skia/third_party/externals/opengl-registry/extensions/3DFX/ |
D | 3DFX_texture_compression_FXT1.txt | 511 mode[2:0] lerp alpha2 alpha1 alpha0 color2 color1 color0 texel 31 to 16 texel 15 to 0 515 [124] lerp 556 When lerp = 0 (bit 124 = 0), the converted 32-bit colors color2, 565 Table Lookup (when lerp = 0): 575 When lerp = 1 (bit 124 = 1), the converted 32-bit colors color2 and 585 32-bit base colors (when lerp = 1): 599 Table Lookup (when lerp = 1):
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
D | Vector.hpp | 81 static Vector lerp(const Vector &u, const Vector &v, float t);
|