/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 636 int64_t delayUs = ALooper::GetNowUs() - startTimeUs; local 640 if (delayUs > 2000ll) { 643 (long long)delayUs, numFramesAvailableToWrite, numFramesWritten);
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ALooper.h | 91 void post(const sp<AMessage> &msg, int64_t delayUs);
|
H A D | AMessage.h | 136 status_t post(int64_t delayUs = 0);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | GenericSource.cpp | 735 int64_t delayUs = subTimeUs - timeUs; local 738 delayUs -= oneSecUs; 742 msg2->post(delayUs < 0 ? 0 : delayUs); 774 const int64_t delayUs = nextSubTimeUs - subTimeUs; local 775 msg->post(delayUs < 0 ? 0 : delayUs);
|
H A D | HTTPLiveSource.cpp | 286 int64_t timeUs, baseUs, delayUs; local 289 delayUs = baseUs + timeUs - ALooper::GetNowUs(); 293 msg->post(delayUs > 0ll ? delayUs : 0ll); 296 if (delayUs < -1000000ll) { // 1 second
|
H A D | NuPlayerRenderer.cpp | 556 int64_t delayUs = local 560 delayUs /= mPlaybackRate; 565 delayUs /= 2; 569 ALOGD_IF(delayUs > maxDrainDelayUs, "postDrainAudioQueue long delay: %lld > %lld", 570 (long long)delayUs, (long long)maxDrainDelayUs); 572 postDrainAudioQueue_l(delayUs); 757 void NuPlayer::Renderer::postDrainAudioQueue_l(int64_t delayUs) { argument 769 if (diffUs > delayUs) { 770 delayUs = diffUs; 777 msg->post(delayUs); 1249 int64_t delayUs; local 1421 notifyEOS(bool audio, status_t finalResult, int64_t delayUs) argument 1426 notifyEOS_l(bool audio, status_t finalResult, int64_t delayUs) argument 1644 const int delayUs = 2 * 50 * 1000; // (2 full mixer thread cycles at 50ms) local [all...] |
H A D | NuPlayerRenderer.h | 234 void postDrainAudioQueue_l(int64_t delayUs = 0); 277 void notifyEOS(bool audio, status_t finalResult, int64_t delayUs = 0); 278 void notifyEOS_l(bool audio, status_t finalResult, int64_t delayUs = 0);
|
/frameworks/av/media/libstagefright/ |
H A D | HTTPBase.cpp | 45 size_t numBytes, int64_t delayUs) { 49 entry.mDelayUs = delayUs; 51 mTotalTransferTimeUs += delayUs; 44 addBandwidthMeasurement( size_t numBytes, int64_t delayUs) argument
|
H A D | NuCachedSource2.cpp | 435 int64_t delayUs; local 439 delayUs = 3000000ll; 441 delayUs = 0; 444 delayUs = 100000ll; 447 (new AMessage(kWhatFetchMore, mReflector))->post(delayUs);
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ALooper.cpp | 168 void ALooper::post(const sp<AMessage> &msg, int64_t delayUs) { argument 172 if (delayUs > 0) { 173 whenUs = GetNowUs() + delayUs; 210 int64_t delayUs = whenUs - nowUs; local 211 mQueueChangedCondition.waitRelative(mLock, delayUs * 1000ll);
|
H A D | AMessage.cpp | 404 status_t AMessage::post(int64_t delayUs) { argument 411 looper->post(this, delayUs); 429 looper->post(this, 0 /* delayUs */);
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
H A D | ALooper.h | 91 void post(const sp<AMessage> &msg, int64_t delayUs);
|
H A D | AMessage.h | 136 status_t post(int64_t delayUs = 0);
|
/frameworks/av/media/libstagefright/http/ |
H A D | MediaHTTP.cpp | 122 int64_t delayUs = ALooper::GetNowUs() - startTimeUs; local 124 addBandwidthMeasurement(numBytesRead, delayUs);
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 55 void addBandwidthMeasurement(size_t numBytes, int64_t delayUs); 96 size_t numBytes, int64_t delayUs) { 102 entry.mDelayUs = delayUs; 104 mTotalTransferTimeUs += delayUs; 535 sp<AMessage> &stopParams, int64_t delayUs, bool *needResumeUntil) { 556 if (delayUs > 0) { 557 lastDequeueMeta = source->getMetaAfterLastDequeued(delayUs); 841 int64_t delayUs = local 847 if (checkSwitchProgress(stopParams, delayUs, &needResumeUntil)) { 1326 void LiveSession::addBandwidthMeasurement(size_t numBytes, int64_t delayUs) { argument 95 addBandwidthMeasurement( size_t numBytes, int64_t delayUs) argument 534 checkSwitchProgress( sp<AMessage> &stopParams, int64_t delayUs, bool *needResumeUntil) argument [all...] |
H A D | LiveSession.h | 273 void addBandwidthMeasurement(size_t numBytes, int64_t delayUs); 293 sp<AMessage> &msg, int64_t delayUs, bool *needResumeUntil);
|
H A D | PlaylistFetcher.cpp | 292 int64_t delayUs = mLastPlaylistFetchTimeUs + minPlaylistAgeUs - nowUs; local 293 return delayUs > 0ll ? delayUs : 0ll; 485 void PlaylistFetcher::postMonitorQueue(int64_t delayUs, int64_t minDelayUs) { argument 490 if (delayUs > maxDelayUs) { 492 delayUs = maxDelayUs; 496 msg->post(delayUs); 894 int64_t delayUs = bufferedDurationUs - kMinBufferedDurationUs + 1000000ll; local 895 if (delayUs > targetDurationUs / 2) { 896 delayUs 1129 int64_t delayUs = kMaxMonitorDelayUs; local 1346 int64_t delayUs = ALooper::GetNowUs() - startUs; local [all...] |
H A D | PlaylistFetcher.h | 204 void postMonitorQueue(int64_t delayUs = 0, int64_t minDelayUs = 0);
|
/frameworks/av/media/libstagefright/include/ |
H A D | HTTPBase.h | 64 virtual void addBandwidthMeasurement(size_t numBytes, int64_t delayUs);
|
/frameworks/av/media/libstagefright/include/media/stagefright/foundation/ |
H A D | ALooper.h | 91 void post(const sp<AMessage> &msg, int64_t delayUs);
|
H A D | AMessage.h | 136 status_t post(int64_t delayUs = 0);
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | AnotherPacketSource.cpp | 532 * returns the sample meta that's delayUs after queue head 535 sp<AMessage> AnotherPacketSource::getMetaAfterLastDequeued(int64_t delayUs) { argument 559 if (durationUs + (lastUs - firstUs) >= delayUs) {
|
H A D | AnotherPacketSource.h | 83 sp<AMessage> getMetaAfterLastDequeued(int64_t delayUs);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | PlaybackSession.cpp | 823 int64_t delayUs = 1000000; // default delay is 1 sec local 836 delayUs = whenUs - nowUs; 843 msg->post(delayUs);
|
H A D | RepeaterSource.cpp | 132 int64_t delayUs = bufferTimeUs - nowUs; local 134 if (delayUs > 0ll) { 135 usleep(delayUs);
|