Home
last modified time | relevance | path

Searched refs:Lerp (Results 1 – 25 of 39) sorted by relevance

12

/third_party/mindspore/mindspore/core/ops/
Dlerp.h32 class Lerp : public PrimitiveC {
35 Lerp() : PrimitiveC(kNameLerp) { InitIOName({"start", "end", "weight"}, {"output"}); } in Lerp() function
37 ~Lerp() = default;
38 MS_DECLARE_PARENT(Lerp, PrimitiveC);
43 using PrimLerpPtr = std::shared_ptr<Lerp>;
Dlerp.cc75 REGISTER_PRIMITIVE_EVAL_IMPL(Lerp, prim::kPrimLerp, LerpInfer, nullptr, true);
/third_party/flutter/skia/modules/skottie/src/
DSkottieValue.cpp31 void ValueTraits<ScalarValue>::Lerp(const ScalarValue& v0, const ScalarValue& v1, float t, in Lerp() function in skottie::ValueTraits
54 void ValueTraits<VectorValue>::Lerp(const VectorValue& v0, const VectorValue& v1, float t, in Lerp() function in skottie::ValueTraits
61 ValueTraits<ScalarValue>::Lerp(v0[i], v1[i], t, &(*result)[i]); in Lerp()
183 void ValueTraits<ShapeValue>::Lerp(const ShapeValue& v0, const ShapeValue& v1, float t, in Lerp() function in skottie::ValueTraits
DSkottieValue.h34 static void Lerp(const T&, const T&, float, T*);
/third_party/flutter/skia/include/core/
DSkShader.h144 static sk_sp<SkShader> Lerp(float t, sk_sp<SkShader> dst, sk_sp<SkShader> src,
147 static sk_sp<SkShader> Lerp(sk_sp<SkShader> red, sk_sp<SkShader> dst, sk_sp<SkShader> src,
DSkColorFilter.h155 static sk_sp<SkColorFilter> Lerp(float t, sk_sp<SkColorFilter> dst, sk_sp<SkColorFilter> src);
/third_party/flutter/skia/src/shaders/
DSkComposeShader.cpp57 sk_sp<SkShader> SkShaders::Lerp(float weight, sk_sp<SkShader> dst, sk_sp<SkShader> src, in Lerp() function in SkShaders
71 sk_sp<SkShader> SkShaders::Lerp(sk_sp<SkShader> red, sk_sp<SkShader> dst, sk_sp<SkShader> src, in Lerp() function in SkShaders
151 return buffer.isValid() ? SkShaders::Lerp(t, std::move(dst), std::move(src)) : nullptr; in CreateProc()
178 SkShaders::Lerp(std::move(red), std::move(dst), std::move(src)) : nullptr; in CreateProc()
/third_party/skia/experimental/lowp-basic/
Dlerp-study.cpp84 template <typename Lerp>
85 static Stats check_lerp(Lerp lerp) { in check_lerp()
/third_party/flutter/skia/gm/
Dmixercolorfilter.cpp112 SkColorFilters::Lerp(static_cast<float>(i) / (fTileCount - 1), cf0, cf1)); in mixRow()
192 auto sh = SkShaders::Lerp(sh2, fS0, fS1); in onDraw()
Dcolorfilterimagefilter.cpp269 return SkShaders::Lerp(t, a, sh); in __anon29464bb00102()
275 return SkShaders::Lerp(t, a, SkShaders::Blend(mode, a, b)); in __anon29464bb00202()
/third_party/flutter/skia/samplecode/
DSampleMixer.cpp45 paint.setColorFilter(SkColorFilters::Lerp(fWeight, cf0, cf1)); in dodraw()
153 paint.setShader(SkShaders::Lerp(sh, fSH0, fSH1)); canvas->drawRect(r, paint); in onDrawContent()
/third_party/skia/include/core/
DSkColorFilter.h84 static sk_sp<SkColorFilter> Lerp(float t, sk_sp<SkColorFilter> dst, sk_sp<SkColorFilter> src);
/third_party/skia/modules/skottie/src/animator/
DVectorKeyframeAnimator.cpp116 new_val = Lerp(Sk4f::Load(v0), Sk4f::Load(v1), lerp_info.weight); in onSeek()
128 const auto new_val = Lerp(*v0++, *v1++, lerp_info.weight); in onSeek()
DScalarKeyframeAnimator.cpp32 *fTarget = Lerp(lerp_info.vrec0.flt, lerp_info.vrec1.flt, lerp_info.weight); in onSeek()
DKeyframeAnimator.h147 T Lerp(const T& a, const T& b, float t) { return a + (b - a) * t; } in Lerp() function
/third_party/skia/samplecode/
DSampleMixer.cpp45 paint.setColorFilter(SkColorFilters::Lerp(fWeight, cf0, cf1)); in dodraw()
/third_party/skia/gm/
Dmixercolorfilter.cpp121 paint.setColorFilter(SkColorFilters::Lerp(t, cf0, cf1)); in mixRow()
/third_party/flutter/skia/modules/skottie/src/text/
DRangeSelector.cpp175 float Lerp(float a, float b, float t) { return a + (b - a) * t; } in Lerp() function
350 coverage = Lerp(generator.lo, generator.hi, ratio); in modulateCoverage()
DTextValue.cpp118 void ValueTraits<TextValue>::Lerp(const TextValue& v0, const TextValue&, float, TextValue* result) { in Lerp() function in skottie::ValueTraits
/third_party/mindspore/mindspore/ops/_grad_experimental/
Dgrad_math_ops.py58 @bprop_getters.register(P.Lerp)
/third_party/flutter/skia/src/core/
DSkColorFilter.cpp335 return SkColorFilters::Lerp(weight, std::move(cf0), std::move(cf1)); in CreateProc()
338 sk_sp<SkColorFilter> SkColorFilters::Lerp(float weight, sk_sp<SkColorFilter> cf0, in Lerp() function in SkColorFilters
/third_party/skia/bench/
DColorFilterBench.cpp183 []() { return SkColorFilters::Lerp(0.3f, in __anone89ca03e0a02()
/third_party/skia/modules/sksg/src/
DSkSGColorFilter.cpp220 return SkColorFilters::Lerp(fWeight, nullptr, std::move(gradientCF)); in onRevalidateFilter()
/third_party/flutter/skia/modules/sksg/src/
DSkSGColorFilter.cpp220 return SkColorFilters::Lerp(fWeight, nullptr, std::move(gradientCF)); in onRevalidateFilter()
/third_party/mindspore/mindspore/ops/operations/
D__init__.py54 … Acosh, Greater, GreaterEqual, Lerp, Less, LessEqual, Log, Log1p, LogicalAnd, Mod,

12