Home
last modified time | relevance | path

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

/frameworks/av/include/media/
DInterpolator.h159 const S maxSlope = 3 * sec; in findY() local
160 m0 = constrainSlope(m0, maxSlope); in findY()
161 m1 = constrainSlope(m1, maxSlope); in findY()
311 static S constrainSlope(S slope, S maxSlope) { in constrainSlope() argument
312 if (maxSlope > 0) { in constrainSlope()
313 slope = std::min(slope, maxSlope); in constrainSlope()
316 slope = std::max(slope, maxSlope); in constrainSlope()