Home
last modified time | relevance | path

Searched refs:lerp_info (Results 1 - 4 of 4) sorted by relevance

/third_party/skia/modules/skottie/src/animator/
H A DVec2KeyframeAnimator.cpp53 auto lerp_info = this->getLERPInfo(t);
61 const auto vidx = lerp_info.vrec0.idx;
64 SkASSERT(lerp_info.vrec1.idx == vidx);
68 lerp_info.weight = 1;
69 lerp_info.vrec0 = {vidx - 1};
75 return lerp_info;
78 const auto lerp_info = get_lerp_info(t); variable
80 const auto& v0 = fValues[lerp_info.vrec0.idx];
86 if (v0.cmeasure->getPosTan(lerp_info.weight * v0.cmeasure->length(), &pos, &tan)) {
91 const auto& v1 = fValues[lerp_info
[all...]
H A DVectorKeyframeAnimator.cpp91 const auto& lerp_info = this->getLERPInfo(t); variable
93 SkASSERT(lerp_info.vrec0.idx + fVecLen <= fStorage.size());
94 SkASSERT(lerp_info.vrec1.idx + fVecLen <= fStorage.size());
97 const auto* v0 = fStorage.data() + lerp_info.vrec0.idx;
98 const auto* v1 = fStorage.data() + lerp_info.vrec1.idx;
101 const auto is_constant = lerp_info.vrec0.equals(lerp_info.vrec1,
116 new_val = Lerp(Sk4f::Load(v0), Sk4f::Load(v1), lerp_info.weight);
128 const auto new_val = Lerp(*v0++, *v1++, lerp_info.weight);
H A DScalarKeyframeAnimator.cpp29 const auto& lerp_info = this->getLERPInfo(t); variable
32 *fTarget = Lerp(lerp_info.vrec0.flt, lerp_info.vrec1.flt, lerp_info.weight);
H A DTextKeyframeAnimator.cpp26 const auto& lerp_info = this->getLERPInfo(t); variable
29 if (*fTarget != fValues[SkToSizeT(lerp_info.vrec0.idx)]) {
30 *fTarget = fValues[SkToSizeT(lerp_info.vrec0.idx)];

Completed in 2 milliseconds