Home
last modified time | relevance | path

Searched refs:lerp (Results 1 – 25 of 29) sorted by relevance

12

/external/skia/src/core/
DSkXfermode4f.cpp21 static Sk4f lerp(const Sk4f& src, const Sk4f& dst, uint8_t srcCoverage) { in lerp() function
52 dst[i] = store_dst<D>(lerp(r4, d4, aa[i])); in general_1()
72 dst[i] = store_dst<D>(lerp(r4, d4, aa[i])); in general_n()
147 r4 = lerp(r4, d4, a); in src_n()
153 static Sk4f lerp(const Sk4f& src, const Sk4f& dst, const Sk4f& src_scale) { in lerp() function
167 Sk4f r0 = lerp(s4_255, to_4f(dst[0]), Sk4f(aa4[0])) + Sk4f(0.5f); in src_1()
168 Sk4f r1 = lerp(s4_255, to_4f(dst[1]), Sk4f(aa4[1])) + Sk4f(0.5f); in src_1()
169 Sk4f r2 = lerp(s4_255, to_4f(dst[2]), Sk4f(aa4[2])) + Sk4f(0.5f); in src_1()
170 Sk4f r3 = lerp(s4_255, to_4f(dst[3]), Sk4f(aa4[3])) + Sk4f(0.5f); in src_1()
185 Sk4f r0 = lerp(s4, load_dst<D>(dst[0]), Sk4f(aa4[0])); in src_1()
[all …]
/external/opencv3/samples/cpp/tutorial_code/HighGUI/GDAL_IO/
Dgdal-image.cpp34 cv::Point2d lerp( const cv::Point2d&, const cv::Point2d&, const double& );
52 cv::Point2d lerp( cv::Point2d const& p1, cv::Point2d const& p2, const double& t ){ in lerp() function
61 cv::Vec<DATATYPE,N> lerp( cv::Vec<DATATYPE,N> const& minColor, in lerp() function
103 return lerp( color_range[idx].first, color_range[idx+1].first, t); in get_dem_color()
135 cv::Point2d rightSide = lerp(tr, br, ry); in pixel2world()
136 cv::Point2d leftSide = lerp(tl, bl, ry); in pixel2world()
139 return lerp( leftSide, rightSide, rx ); in pixel2world()
/external/vulkan-validation-layers/libs/glm/gtx/
Dcompatibility.hpp64 …template <typename T> GLM_FUNC_QUALIFIER T lerp(T x, T y, T a){return mix(x, y, a);} … in lerp() function
65 …template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec2<T, P> lerp(const detail::tvec2… in lerp() function
67 …template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec3<T, P> lerp(const detail::tvec3… in lerp() function
68 …template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec4<T, P> lerp(const detail::tvec4… in lerp() function
69 …template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec2<T, P> lerp(const detail::tvec2… in lerp() function
70 …template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec3<T, P> lerp(const detail::tvec3… in lerp() function
71 …template <typename T, precision P> GLM_FUNC_QUALIFIER detail::tvec4<T, P> lerp(const detail::tvec4… in lerp() function
Dsimd_quat.hpp239 detail::fquatSIMD lerp(
Ddual_quaternion.hpp152 GLM_FUNC_DECL detail::tdualquat<T, P> lerp(
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Ddemo.c971 float lerp[5]; in camTrack() local
991 lerp[a] = (cam->src[a] + cam->dest[a] * trackPos) * 0.01f; in camTrack()
996 cX = lerp[0]; in camTrack()
997 cY = lerp[1]; in camTrack()
998 cZ = lerp[2]; in camTrack()
999 eX = cX - (float)cos(lerp[3]) * dist; in camTrack()
1000 eY = cY - (float)sin(lerp[3]) * dist; in camTrack()
1001 eZ = cZ - lerp[4]; in camTrack()
1005 eX = lerp[0]; in camTrack()
1006 eY = lerp[1]; in camTrack()
[all …]
/external/eigen/demos/opengl/
Dquaternion_demo.cpp117 template<typename T> T lerp(float t, const T& a, const T& b) in lerp() function
123 template<> Quaternionf lerp(float t, const Quaternionf& a, const Quaternionf& b) in lerp() function
131 return Frame(lerp(alpha,a.position,b.position), in lerpFrame()
132 … Quaternionf(lerp(alpha,OrientationType(a.orientation),OrientationType(b.orientation)))); in lerpFrame()
189 template<> EulerAngles<float> lerp(float t, const EulerAngles<float>& a, const EulerAngles<float>& … in lerp() function
192 res.coeffs() = lerp(t, a.coeffs(), b.coeffs()); in lerp()
531 aux1 = aux0.lerp(duration/2,mInitFrame); in resetCamera()
Dcamera.h26 Frame lerp(float alpha, const Frame& other) const in lerp() function
/external/replicaisland/src/com/replica/replicaisland/
DLerp.java21 public static float lerp(float start, float target, float duration, float timeSinceStart) in lerp() method in Lerp
DFadeDrawableComponent.java102 opacity = Lerp.lerp(mInitialOpacity, mTargetOpacity, mDuration, elapsed); in update()
/external/skia/src/effects/gradients/
DSkTwoPointConicalGradient.cpp74 static float lerp(float x, float dx, float t) { in lerp() function
124 float r = lerp(fRec.fRadius, fRec.fDRadius, t); in nextT()
127 r = lerp(fRec.fRadius, fRec.fDRadius, t); in nextT()
DSkLinearGradient.cpp213 SkPMColor lerp = SkFastFourByteInterp(cache[index1], cache[index0], remainder); in shadeSpan_linear_vertical_lerp() local
217 sk_memset32_dither(dstC, lerp, dlerp, count); in shadeSpan_linear_vertical_lerp()
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp491 static SkScalar lerp(SkScalar t, SkScalar a, SkScalar b) { in lerp() function
529 result += lerp(w, lerp(v, lerp(u, grad(permutations[AA ], px , py , pz ), in calculateImprovedNoiseValueForPoint()
531 lerp(u, grad(permutations[AB ], px , py - 1, pz ), in calculateImprovedNoiseValueForPoint()
533 lerp(v, lerp(u, grad(permutations[AA + 1], px , py , pz - 1), in calculateImprovedNoiseValueForPoint()
535 lerp(u, grad(permutations[AB + 1], px , py - 1, pz - 1), in calculateImprovedNoiseValueForPoint()
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/spec/gl-matrix/
Dquat-spec.js466 beforeEach(function() { result = quat.lerp(out, quatA, quatB, 0.5); });
475 beforeEach(function() { result = quat.lerp(quatA, quatA, quatB, 0.5); });
483 beforeEach(function() { result = quat.lerp(quatB, quatA, quatB, 0.5); });
Dvec4-spec.js350 beforeEach(function() { result = vec4.lerp(out, vecA, vecB, 0.5); });
359 beforeEach(function() { result = vec4.lerp(vecA, vecA, vecB, 0.5); });
367 beforeEach(function() { result = vec4.lerp(vecB, vecA, vecB, 0.5); });
Dvec2-spec.js363 beforeEach(function() { result = vec2.lerp(out, vecA, vecB, 0.5); });
372 beforeEach(function() { result = vec2.lerp(vecA, vecA, vecB, 0.5); });
380 beforeEach(function() { result = vec2.lerp(vecB, vecA, vecB, 0.5); });
Dvec3-spec.js511 beforeEach(function() { result = vec3.lerp(out, vecA, vecB, 0.5); });
520 beforeEach(function() { result = vec3.lerp(vecA, vecA, vecB, 0.5); });
528 beforeEach(function() { result = vec3.lerp(vecB, vecA, vecB, 0.5); });
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/
Dquat.js344 quat.lerp = vec4.lerp;
Dvec2.js382 vec2.lerp = function (out, a, b, t) { function
Dvec4.js411 vec4.lerp = function (out, a, b, t) { function
Dvec3.js407 vec3.lerp = function (out, a, b, t) { function
/external/opencv3/3rdparty/openexr/Imath/
DImathFun.h69 lerp (T a, T b, Q t) in lerp() function
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_sample.c70 lerp(float a, float v0, float v1) in lerp() function
88 const float temp0 = lerp(a, v00, v10); in lerp_2d()
89 const float temp1 = lerp(a, v01, v11); in lerp_2d()
90 return lerp(b, temp0, temp1); in lerp_2d()
104 return lerp(c, temp0, temp1); in lerp_3d()
1201 rgba[TGSI_NUM_CHANNELS*c] = lerp(xw, tx0[c], tx1[c]); in img_filter_1d_linear()
1239 rgba[TGSI_NUM_CHANNELS*c] = lerp(xw, tx0[c], tx1[c]); in img_filter_1d_array_linear()
1491 rgba[c][j] = lerp(levelBlend, rgbax[c][0], rgbax[c][1]); in mip_filter_linear()
1957 rgba[c][j] = lerp(levelBlend, rgbax[c][0], rgbax[c][1]); in mip_filter_linear_2d_linear_repeat_POT()
/external/vulkan-validation-layers/libs/glm/gtc/
Dquaternion.hpp214 GLM_FUNC_DECL detail::tquat<T, P> lerp(
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/dist/
Dgl-matrix.js3018 quat.lerp = vec4.lerp;
3640 vec3.lerp = function (out, a, b, t) {
4359 vec4.lerp = function (out, a, b, t) {
4873 vec2.lerp = function (out, a, b, t) {

12