48 double rStart,
double rEnd)
49: mRateWarper(tStart, rStart, tEnd, rEnd), mRStart(rStart),
50 mTStart(tStart), mScale((tEnd-tStart)/(rEnd-rStart))
53 wxASSERT(tStart < tEnd);
63 double rStart,
double rEnd)
64: mTimeWarper(tStart, 0.0, tEnd, 1.0),
65 mRStart(rStart), mTStart(tStart),
66 mScale(2.0*(tEnd-tStart)/(rEnd*rEnd-rStart*rStart)),
67 mC1(rStart*rStart), mC2(rEnd*rEnd-rStart*rStart)
69 wxASSERT(rStart != rEnd);
70 wxASSERT(rStart > 0.0);
72 wxASSERT(tStart < tEnd);
82 double rStart,
double rEnd)
83: mTimeWarper(tStart, 0.0, tEnd, 1.0), mTStart(tStart),
84 mC1((tEnd-tStart)/rStart), mC2(0.5*(rStart/rEnd - 1.0))
86 wxASSERT(rStart > 0.0);
88 wxASSERT(tStart < tEnd);
98 double rStart,
double rEnd)
99: mTimeWarper(tStart, 0.0, tEnd, 1.0), mTStart(tStart),
100 mC1((tEnd-tStart)/(rStart*log(rStart/rEnd))), mC2(rStart/rEnd)
102 wxASSERT(rStart != rEnd);
103 wxASSERT(rStart > 0.0);
104 wxASSERT(rEnd > 0.0);
105 wxASSERT(tStart < tEnd);
115 double rStart,
double rEnd)
116: mTimeWarper(tStart, 0.0, tEnd, 1.0), mTStart(tStart),
117 mScale((tEnd-tStart)/(log(rStart/rEnd)*rStart)), mRatio(rStart/rEnd)
119 wxASSERT(rStart != rEnd);
120 wxASSERT(rStart > 0.0);
121 wxASSERT(rEnd > 0.0);
122 wxASSERT(tStart < tEnd);
132 double rStart,
double rEnd)
133: mTimeWarper(tStart, 0.0, tEnd, 1.0), mTStart(tStart),
134 mScale((tEnd-tStart)/(rEnd-rStart)), mC0((rEnd-rStart)/rStart)
136 wxASSERT(rStart > 0.0);
137 wxASSERT(rEnd > 0.0);
138 wxASSERT(tStart < tEnd);
142: mOldT1{ oldT1 }, mNewT1{ newT1 }
147 if (originalTime <
mOldT1)
Contains declarations for TimeWarper, IdentityTimeWarper, ShiftTimeWarper, LinearTimeWarper,...
LinearTimeWarper mTimeWarper
GeometricOutputTimeWarper(double tStart, double tEnd, double rStart, double rEnd)
double Warp(double originalTime) const override
double Warp(double originalTime) const override
LinearTimeWarper mTimeWarper
LinearOutputRateTimeWarper(double tStart, double tEnd, double rStart, double rEnd)
double Warp(double originalTime) const override
double Warp(double originalTime) const override
LinearTimeWarper mTimeWarper
LinearOutputStretchTimeWarper(double tStart, double tEnd, double rStart, double rEnd)
double Warp(double originalTime) const override
PasteTimeWarper(double oldT1, double newT1)
double Warp(double originalTime) const override
std::unique_ptr< TimeWarper > mWarper
double Warp(double originalTime) const override
__finl float_x4 __vecc sqrt(const float_x4 &a)