Lines Matching refs:framePosition

53 void IsochronousClockModel::setPositionAndTime(int64_t framePosition, int64_t nanoTime) {  in setPositionAndTime()  argument
54 ALOGV("setPositionAndTime, %lld, %lld", (long long) framePosition, (long long) nanoTime); in setPositionAndTime()
55 mMarkerFramePosition = framePosition; in setPositionAndTime()
92 void IsochronousClockModel::processTimestamp(int64_t framePosition, int64_t nanoTime) { in processTimestamp() argument
97 int64_t framesDelta = framePosition - mMarkerFramePosition; in processTimestamp()
121 setPositionAndTime(framePosition, nanoTime); in processTimestamp()
127 setPositionAndTime(framePosition, nanoTime); in processTimestamp()
143 setPositionAndTime(framePosition, nanoTime); in processTimestamp()
163 setPositionAndTime(framePosition, nanoTime); // JUMP! in processTimestamp()
179 driftForward(latenessNanos, expectedNanosDelta, framePosition); in processTimestamp()
182 driftForward(latenessNanos, expectedNanosDelta, framePosition); in processTimestamp()
217 int64_t framePosition) { in driftForward() argument
222 setPositionAndTime(framePosition, driftedTime); in driftForward()
263 int64_t IsochronousClockModel::convertPositionToTime(int64_t framePosition) const { in convertPositionToTime()
267 int64_t nextBurstIndex = (framePosition + mFramesPerBurst - 1) / mFramesPerBurst; in convertPositionToTime()
299 int64_t IsochronousClockModel::convertPositionToLatestTime(int64_t framePosition) const { in convertPositionToLatestTime()
300 return convertPositionToTime(framePosition) + getLateTimeOffsetNanos(); in convertPositionToLatestTime()