Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DSampleTable.cpp665 uint32_t sampleTime = 0; in buildSampleEntriesTable() local
683 if ((compTimeDelta < 0 && sampleTime < in buildSampleEntriesTable()
687 sampleTime > UINT32_MAX - compTimeDelta)) { in buildSampleEntriesTable()
689 sampleTime, compTimeDelta); in buildSampleEntriesTable()
691 sampleTime = 0; in buildSampleEntriesTable()
693 sampleTime = UINT32_MAX; in buildSampleEntriesTable()
699 compTimeDelta > 0 ? sampleTime + compTimeDelta: in buildSampleEntriesTable()
700 sampleTime - (-compTimeDelta); in buildSampleEntriesTable()
704 if (sampleTime > UINT32_MAX - delta) { in buildSampleEntriesTable()
706 sampleTime, delta); in buildSampleEntriesTable()
[all …]
DMPEG4Extractor.cpp476 uint32_t sampleTime; in getTrackMetaData() local
481 &sampleTime) == OK) { in getTrackMetaData()
484 ((int64_t)sampleTime * 1000000) / track->timescale); in getTrackMetaData()
4620 uint32_t sampleTime; in read() local
4623 sampleIndex, NULL, NULL, &sampleTime); in read()
4640 targetSampleTimeUs = (sampleTime * 1000000ll) / mTimescale; in read()
4651 sampleTime * 1000000ll / mTimescale, in read()
/frameworks/native/libs/input/
DInputTransport.cpp635 nsecs_t sampleTime = frameTime; in consumeBatch() local
637 sampleTime -= RESAMPLE_LATENCY; in consumeBatch()
639 ssize_t split = findSampleNoLaterThan(batch, sampleTime); in consumeBatch()
653 resampleTouchState(sampleTime, static_cast<MotionEvent*>(*outEvent), next); in consumeBatch()
793 void InputConsumer::resampleTouchState(nsecs_t sampleTime, MotionEvent* event, in resampleTouchState() argument
853 alpha = float(sampleTime - current->eventTime) / delta; in resampleTouchState()
871 if (sampleTime > maxPredict) { in resampleTouchState()
875 sampleTime - current->eventTime, maxPredict - current->eventTime); in resampleTouchState()
877 sampleTime = maxPredict; in resampleTouchState()
879 alpha = float(current->eventTime - sampleTime) / delta; in resampleTouchState()
[all …]
/frameworks/native/services/surfaceflinger/
DDispSync.cpp669 nsecs_t sampleTime = mResyncSamples[idx]; in dump() local
671 result.appendFormat(" %" PRId64 "\n", sampleTime); in dump()
674 sampleTime, sampleTime - previous); in dump()
676 previous = sampleTime; in dump()
/frameworks/base/core/java/com/android/internal/os/
DProcessCpuTracker.java764 long sampleTime = mCurrentSampleTime - mLastSampleTime;
766 long percAwake = sampleRealTime > 0 ? ((sampleTime*100) / sampleRealTime) : 0;