Home
last modified time | relevance | path

Searched refs:maxSlope (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/include/media/
DInterpolator.h165 const S maxSlope = 3 * sec; in findY() local
166 m0 = constrainSlope(m0, maxSlope); in findY()
167 m1 = constrainSlope(m1, maxSlope); in findY()
316 static S constrainSlope(S slope, S maxSlope) { in constrainSlope() argument
317 if (maxSlope > 0) { in constrainSlope()
318 slope = std::min(slope, maxSlope); in constrainSlope()
321 slope = std::max(slope, maxSlope); in constrainSlope()