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/
DVec2KeyframeAnimator.cpp53 auto lerp_info = this->getLERPInfo(t); in onSeek() local
61 const auto vidx = lerp_info.vrec0.idx; in onSeek()
64 SkASSERT(lerp_info.vrec1.idx == vidx); in onSeek()
68 lerp_info.weight = 1; in onSeek()
69 lerp_info.vrec0 = {vidx - 1}; in onSeek()
75 return lerp_info; in onSeek()
78 const auto lerp_info = get_lerp_info(t); in onSeek() local
80 const auto& v0 = fValues[lerp_info.vrec0.idx]; in onSeek()
86 if (v0.cmeasure->getPosTan(lerp_info.weight * v0.cmeasure->length(), &pos, &tan)) { in onSeek()
91 const auto& v1 = fValues[lerp_info.vrec1.idx]; in onSeek()
[all …]
DVectorKeyframeAnimator.cpp91 const auto& lerp_info = this->getLERPInfo(t); in onSeek() local
93 SkASSERT(lerp_info.vrec0.idx + fVecLen <= fStorage.size()); in onSeek()
94 SkASSERT(lerp_info.vrec1.idx + fVecLen <= fStorage.size()); in onSeek()
97 const auto* v0 = fStorage.data() + lerp_info.vrec0.idx; in onSeek()
98 const auto* v1 = fStorage.data() + lerp_info.vrec1.idx; in onSeek()
101 const auto is_constant = lerp_info.vrec0.equals(lerp_info.vrec1, in onSeek()
116 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.cpp29 const auto& lerp_info = this->getLERPInfo(t); in onSeek() local
32 *fTarget = Lerp(lerp_info.vrec0.flt, lerp_info.vrec1.flt, lerp_info.weight); in onSeek()
DTextKeyframeAnimator.cpp26 const auto& lerp_info = this->getLERPInfo(t); in onSeek() local
29 if (*fTarget != fValues[SkToSizeT(lerp_info.vrec0.idx)]) { in onSeek()
30 *fTarget = fValues[SkToSizeT(lerp_info.vrec0.idx)]; in onSeek()