• Home
  • Raw
  • Download

Lines Matching refs:timePoint

204 nsecs_t VSyncPredictor::nextAnticipatedVSyncTimeFromLocked(nsecs_t timePoint) const {  in nextAnticipatedVSyncTimeFromLocked()
209 auto const knownTimestamp = mKnownTimestamp ? *mKnownTimestamp : timePoint; in nextAnticipatedVSyncTimeFromLocked()
210 auto const numPeriodsOut = ((timePoint - knownTimestamp) / mIdealPeriod) + 1; in nextAnticipatedVSyncTimeFromLocked()
218 auto const ordinalRequest = (timePoint - zeroPoint + slope) / slope; in nextAnticipatedVSyncTimeFromLocked()
222 traceInt64If("VSP-timePoint", timePoint); in nextAnticipatedVSyncTimeFromLocked()
227 str << "prediction made from: " << timePoint << "prediction: " << prediction << " (+" in nextAnticipatedVSyncTimeFromLocked()
228 << prediction - timePoint << ") slope: " << slope << " intercept: " << intercept in nextAnticipatedVSyncTimeFromLocked()
234 LOG_ALWAYS_FATAL_IF(prediction < timePoint, "VSyncPredictor: model miscalculation: %s", in nextAnticipatedVSyncTimeFromLocked()
240 nsecs_t VSyncPredictor::nextAnticipatedVSyncTimeFrom(nsecs_t timePoint) const { in nextAnticipatedVSyncTimeFrom()
242 return nextAnticipatedVSyncTimeFromLocked(timePoint); in nextAnticipatedVSyncTimeFrom()
253 bool VSyncPredictor::isVSyncInPhase(nsecs_t timePoint, Fps frameRate) const { in isVSyncInPhase() argument
264 if (divider <= 1 || timePoint == 0) { in isVSyncInPhase()
269 const nsecs_t justBeforeTimePoint = timePoint - period / 2; in isVSyncInPhase()
298 return std::abs(minVsyncError->vsyncTimestamp - timePoint) < period / 2; in isVSyncInPhase()