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

/frameworks/av/include/media/
H A DVolumeShaper.h61 #define MAX_CURVE_TIME 1.f // type S: end of VolumeShaper curve (normalized) macro
216 if (first().first != MIN_CURVE_TIME || last().first != MAX_CURVE_TIME) {
217 ALOGE("curve must start at MIN_CURVE_TIME and end at MAX_CURVE_TIME");
275 static const T scale = 1.f / (MAX_CURVE_TIME - MIN_CURVE_TIME); // nominally 1.f
277 it->second = it->second + offset * (MAX_CURVE_TIME - it->first) * scale;
392 mXOffset = clamp(xOffset, MIN_CURVE_TIME /* lo */, MAX_CURVE_TIME /* hi */);
401 * [MIN_CURVE_TIME, MAX_CURVE_TIME].
404 * normalizedTime is nominally from MIN_CURVE_TIME to MAX_CURVE_TIME when
407 * is computed as MAX_CURVE_TIME - normalizedTime, clamped to
408 * [MIN_CURVE_TIME, MAX_CURVE_TIME]
[all...]

Completed in 66 milliseconds