Searched refs:sampleTime (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/extractors/mp4/ |
D | SampleTable.cpp | 665 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 …]
|
D | MPEG4Extractor.cpp | 551 uint32_t sampleTime; in getTrackMetaData() local 556 &sampleTime) == OK) { in getTrackMetaData() 559 ((int64_t)sampleTime * 1000000) / track->timescale); in getTrackMetaData() 4746 uint32_t sampleTime; in read() local 4749 sampleIndex, NULL, NULL, &sampleTime); in read() 4767 targetSampleTimeUs = (sampleTime * 1000000ll) / mTimescale; in read() 4778 sampleTime * 1000000ll / mTimescale, in read()
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 533 nsecs_t sampleTime = frameTime; in consumeBatch() local 535 sampleTime -= RESAMPLE_LATENCY; in consumeBatch() 537 ssize_t split = findSampleNoLaterThan(batch, sampleTime); in consumeBatch() 551 resampleTouchState(sampleTime, static_cast<MotionEvent*>(*outEvent), next); in consumeBatch() 698 void InputConsumer::resampleTouchState(nsecs_t sampleTime, MotionEvent* event, in resampleTouchState() argument 751 alpha = float(sampleTime - current->eventTime) / delta; in resampleTouchState() 769 if (sampleTime > maxPredict) { in resampleTouchState() 773 sampleTime - current->eventTime, maxPredict - current->eventTime); in resampleTouchState() 775 sampleTime = maxPredict; in resampleTouchState() 777 alpha = float(current->eventTime - sampleTime) / delta; in resampleTouchState() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | DispSync.cpp | 672 nsecs_t sampleTime = mResyncSamples[idx]; in dump() local 674 result.appendFormat(" %" PRId64 "\n", sampleTime); in dump() 676 result.appendFormat(" %" PRId64 " (+%" PRId64 ")\n", sampleTime, in dump() 677 sampleTime - previous); in dump() 679 previous = sampleTime; in dump()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcessCpuTracker.java | 765 long sampleTime = mCurrentSampleTime - mLastSampleTime; 767 long percAwake = sampleRealTime > 0 ? ((sampleTime*100) / sampleRealTime) : 0;
|