Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/mp4/
DSampleTable.cpp664 uint64_t sampleTime = 0; in buildSampleEntriesTable() local
682 if ((compTimeDelta < 0 && sampleTime < in buildSampleEntriesTable()
686 sampleTime > UINT64_MAX - compTimeDelta)) { in buildSampleEntriesTable()
688 (unsigned long long) sampleTime, compTimeDelta); in buildSampleEntriesTable()
690 sampleTime = 0; in buildSampleEntriesTable()
692 sampleTime = UINT64_MAX; in buildSampleEntriesTable()
698 compTimeDelta > 0 ? sampleTime + compTimeDelta: in buildSampleEntriesTable()
699 sampleTime - (-compTimeDelta); in buildSampleEntriesTable()
703 if (sampleTime > UINT64_MAX - delta) { in buildSampleEntriesTable()
705 (unsigned long long) sampleTime, delta); in buildSampleEntriesTable()
[all …]
DMPEG4Extractor.cpp607 uint64_t sampleTime; in getTrackMetaData() local
612 &sampleTime) == OK) { in getTrackMetaData()
615 ((int64_t)sampleTime * 1000000) / track->timescale); in getTrackMetaData()
5726 uint64_t sampleTime; in read() local
5729 sampleIndex, NULL, NULL, &sampleTime); in read()
5747 sampleTime -= mElstShiftStartTicks; in read()
5748 targetSampleTimeUs = (sampleTime * 1000000ll) / mTimescale; in read()
5759 sampleTime * 1000000ll / mTimescale, in read()
/frameworks/native/libs/input/
DInputTransport.cpp722 nsecs_t sampleTime = frameTime; in consumeBatch() local
724 sampleTime -= RESAMPLE_LATENCY; in consumeBatch()
726 ssize_t split = findSampleNoLaterThan(batch, sampleTime); in consumeBatch()
740 resampleTouchState(sampleTime, static_cast<MotionEvent*>(*outEvent), next); in consumeBatch()
885 void InputConsumer::resampleTouchState(nsecs_t sampleTime, MotionEvent* event, in resampleTouchState() argument
938 alpha = float(sampleTime - current->eventTime) / delta; in resampleTouchState()
956 if (sampleTime > maxPredict) { in resampleTouchState()
960 sampleTime - current->eventTime, maxPredict - current->eventTime); in resampleTouchState()
962 sampleTime = maxPredict; in resampleTouchState()
964 alpha = float(current->eventTime - sampleTime) / delta; in resampleTouchState()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.cpp820 nsecs_t sampleTime = mResyncSamples[idx]; in dump() local
822 StringAppendF(&result, " %" PRId64 "\n", sampleTime); in dump()
824 StringAppendF(&result, " %" PRId64 " (+%" PRId64 ")\n", sampleTime, in dump()
825 sampleTime - previous); in dump()
827 previous = sampleTime; in dump()
/frameworks/base/core/java/com/android/internal/os/
DProcessCpuTracker.java782 long sampleTime = mCurrentSampleTime - mLastSampleTime;
784 long percAwake = sampleRealTime > 0 ? ((sampleTime*100) / sampleRealTime) : 0;