Home
last modified time | relevance | path

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

12

/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/skia/include/core/
DSkShader.h207 SkBlendMode mode, float lerp = 1);
225 static sk_sp<SkShader> MakeLerp(sk_sp<SkShader> dst, sk_sp<SkShader> src, float lerp) { in MakeLerp() argument
226 return MakeCompose(std::move(dst), std::move(src), SkBlendMode::kSrc, lerp); in MakeLerp()
/external/skqp/include/core/
DSkShader.h207 SkBlendMode mode, float lerp = 1);
225 static sk_sp<SkShader> MakeMixer(sk_sp<SkShader> dst, sk_sp<SkShader> src, float lerp) { in MakeMixer() argument
226 return MakeCompose(std::move(dst), std::move(src), SkBlendMode::kSrc, lerp); in MakeMixer()
/external/llvm/test/CodeGen/AMDGPU/
Dllvm.amdgcn.lerp.ll4 declare i32 @llvm.amdgcn.lerp(i32, i32, i32) #0
9 %result= call i32 @llvm.amdgcn.lerp(i32 %src, i32 100, i32 100) #0
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dllvm.amdgcn.lerp.ll4 declare i32 @llvm.amdgcn.lerp(i32, i32, i32) #0
9 %result= call i32 @llvm.amdgcn.lerp(i32 %src, i32 100, i32 100) #0
/external/skia/src/gpu/ccpr/
DGrCCFillGeometry.cpp131 template<int N> static inline SkNx<N,float> lerp(const SkNx<N,float>& a, const SkNx<N,float>& b, in lerp() function
185 Sk2f p012 = lerp(p01, p12, t); in appendQuadratics()
532 *ab = lerp(p0, p1, TT); in chop_cubic()
533 Sk2f bc = lerp(p1, p2, TT); in chop_cubic()
534 *cd = lerp(p2, p3, TT); in chop_cubic()
535 *abc = lerp(*ab, bc, TT); in chop_cubic()
536 *bcd = lerp(bc, *cd, TT); in chop_cubic()
537 *abcd = lerp(*abc, *bcd, TT); in chop_cubic()
727 Sk4f p3d01 = lerp(p3d0, p3d1, midT4); in conicTo()
728 Sk4f p3d12 = lerp(p3d1, p3d2, midT4); in conicTo()
[all …]
/external/skqp/src/gpu/ccpr/
DGrCCFillGeometry.cpp131 template<int N> static inline SkNx<N,float> lerp(const SkNx<N,float>& a, const SkNx<N,float>& b, in lerp() function
185 Sk2f p012 = lerp(p01, p12, t); in appendQuadratics()
532 *ab = lerp(p0, p1, TT); in chop_cubic()
533 Sk2f bc = lerp(p1, p2, TT); in chop_cubic()
534 *cd = lerp(p2, p3, TT); in chop_cubic()
535 *abc = lerp(*ab, bc, TT); in chop_cubic()
536 *bcd = lerp(bc, *cd, TT); in chop_cubic()
537 *abcd = lerp(*abc, *bcd, TT); in chop_cubic()
727 Sk4f p3d01 = lerp(p3d0, p3d1, midT4); in conicTo()
728 Sk4f p3d12 = lerp(p3d1, p3d2, midT4); in conicTo()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dresize_bilinear_op.cc76 float lerp; member
94 interpolation[i].lerp = in - in_f; in compute_interpolation_weights()
139 const float ys_lerp = ys[y].lerp; in resize_image()
143 const float xs_lerp = xs[x].lerp; in resize_image()
184 const float ys_lerp = ys[y].lerp; in resize_image()
188 auto xs_lerp = xs[x].lerp; in resize_image()
Dquantized_resize_bilinear_op.cc44 std::vector<float> lerp; member
55 interpolation->lerp.resize(out_size + 1); in ComputeInterpolationWeights()
67 interpolation->lerp[i] = in - in_f; in ComputeInterpolationWeights()
493 const float ys_lerp = ys.lerp[y]; in ResizeImageReference()
497 const float xs_lerp = xs.lerp[x]; in ResizeImageReference()
/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/skia/src/shaders/
DSkComposeShader.cpp45 float lerp = buffer.readScalar(); in CreateProc() local
51 return MakeCompose(std::move(dst), std::move(src), static_cast<SkBlendMode>(mode), lerp); in CreateProc()
DSkPerlinNoiseShader.cpp576 static SkScalar lerp(SkScalar t, SkScalar a, SkScalar b) { in lerp() function
614 result += lerp(w, lerp(v, lerp(u, grad(permutations[AA ], px , py , pz ), in calculateImprovedNoiseValueForPoint()
616 lerp(u, grad(permutations[AB ], px , py - 1, pz ), in calculateImprovedNoiseValueForPoint()
618 lerp(v, lerp(u, grad(permutations[AA + 1], px , py , pz - 1), in calculateImprovedNoiseValueForPoint()
620 lerp(u, grad(permutations[AB + 1], px , py - 1, pz - 1), in calculateImprovedNoiseValueForPoint()
/external/skqp/src/shaders/
DSkComposeShader.cpp45 float lerp = buffer.readScalar(); in CreateProc() local
51 return MakeCompose(std::move(dst), std::move(src), static_cast<SkBlendMode>(mode), lerp); in CreateProc()
DSkPerlinNoiseShader.cpp576 static SkScalar lerp(SkScalar t, SkScalar a, SkScalar b) { in lerp() function
614 result += lerp(w, lerp(v, lerp(u, grad(permutations[AA ], px , py , pz ), in calculateImprovedNoiseValueForPoint()
616 lerp(u, grad(permutations[AB ], px , py - 1, pz ), in calculateImprovedNoiseValueForPoint()
618 lerp(v, lerp(u, grad(permutations[AA + 1], px , py , pz - 1), in calculateImprovedNoiseValueForPoint()
620 lerp(u, grad(permutations[AB + 1], px , py - 1, pz - 1), in calculateImprovedNoiseValueForPoint()
/external/deqp-deps/glslang/Test/
Dhlsl.intrinsics.vert34 lerp(inF0, inF1, inF2);
104 lerp(inF0, inF1, inF2);
174 lerp(inF0, inF1, inF2);
244 lerp(inF0, inF1, inF2);
305 lerp(inF0, inF1, inF2); \
Dhlsl.intrinsics.frag61 float r039a = lerp(inF0, inF1, inF2);
145 float2 r039a = lerp(inF0, inF1, inF2);
226 float3 r039a = lerp(inF0, inF1, inF2);
227 float3 r039b = lerp(inF0, inF1, 0.3); // test vec,vec,scalar lerp
308 float4 r039a = lerp(inF0, inF1, inF2);
375 MT r026a = lerp(inF0, inF1, inF2); \
/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/skqp/src/gpu/gradients/
DGrSingleIntervalGradientColorizer.fp19 // simple lerp.
/external/skia/src/gpu/gradients/
DGrSingleIntervalGradientColorizer.fp19 // simple lerp.
/external/skia/src/opts/
DSkRasterPipeline_opts.h1484 SI F lerp(F from, F to, F t) { in lerp() function
1489 r = lerp(dr, r, *c); in STAGE()
1490 g = lerp(dg, g, *c); in STAGE()
1491 b = lerp(db, b, *c); in STAGE()
1492 a = lerp(da, a, *c); in STAGE()
1500 r = lerp(dr, r, c); in STAGE()
1501 g = lerp(dg, g, c); in STAGE()
1502 b = lerp(db, b, c); in STAGE()
1503 a = lerp(da, a, c); in STAGE()
1513 r = lerp(dr, r, cr); in STAGE()
[all …]
/external/skqp/src/opts/
DSkRasterPipeline_opts.h1468 SI F lerp(F from, F to, F t) { in lerp() function
1473 r = lerp(dr, r, *c); in STAGE()
1474 g = lerp(dg, g, *c); in STAGE()
1475 b = lerp(db, b, *c); in STAGE()
1476 a = lerp(da, a, *c); in STAGE()
1484 r = lerp(dr, r, c); in STAGE()
1485 g = lerp(dg, g, c); in STAGE()
1486 b = lerp(db, b, c); in STAGE()
1487 a = lerp(da, a, c); in STAGE()
1497 r = lerp(dr, r, cr); in STAGE()
[all …]
/external/swiftshader/src/Device/
DVector.hpp81 static Vector lerp(const Vector &u, const Vector &v, float t);
/external/swiftshader/src/Renderer/
DVector.hpp81 static Vector lerp(const Vector &u, const Vector &v, float t);

12