Home
last modified time | relevance | path

Searched refs:mStartTimeUs (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/libstagefright/wifi-display/source/
DRepeaterSource.cpp22 mStartTimeUs(-1ll), in RepeaterSource()
41 if (mStartTimeUs >= 0ll) { in setFrameRate()
42 int64_t nextTimeUs = mStartTimeUs + (mFrameCount * 1000000ll) / mRateHz; in setFrameRate()
43 mStartTimeUs = nextTimeUs; in setFrameRate()
60 mStartTimeUs = -1ll; in start()
118 if (mStartTimeUs < 0ll) { in read()
126 mStartTimeUs = ALooper::GetNowUs(); in read()
127 bufferTimeUs = mStartTimeUs; in read()
129 bufferTimeUs = mStartTimeUs + (mFrameCount * 1000000ll) / mRateHz; in read()
167 mStartTimeUs = -1ll; in read()
DRepeaterSource.h57 int64_t mStartTimeUs; member
/frameworks/av/media/libstagefright/
DThrottledSource.cpp29 mStartTimeUs(-1), in ThrottledSource()
47 if (mStartTimeUs < 0) { in readAt()
48 mStartTimeUs = nowUs; in readAt()
56 int64_t whenUs = mStartTimeUs + durationUs; in readAt()
DAudioSource.cpp114 mStartTimeUs = 0; in start()
117 mStartTimeUs = startTimeUs; in start()
238 int64_t elapsedTimeUs = timeUs - mStartTimeUs; in read()
284 if (mNumFramesReceived == 0 && timeUs < mStartTimeUs) { in dataCallback()
286 ALOGV("Drop audio data at %" PRId64 "/%" PRId64 " us", timeUs, mStartTimeUs); in dataCallback()
293 if (mStartTimeUs > 0) { in dataCallback()
294 mStartTimeUs = timeUs - mStartTimeUs; in dataCallback()
297 mStartTimeUs += mRecord->latency() * 1000; in dataCallback()
300 mPrevSampleTimeUs = mStartTimeUs; in dataCallback()
355 buffer->meta_data()->setInt64(kKeyAnchorTime, mStartTimeUs); in queueInputBuffer_l()
DTimeSource.cpp26 : mStartTimeUs(ALooper::GetNowUs()) { in SystemTimeSource()
30 return ALooper::GetNowUs() - mStartTimeUs; in getRealTimeUs()
DCameraSource.cpp646 mStartTimeUs = 0; in start()
651 mStartTimeUs = startTimeUs; in start()
857 if (!mStarted || (mNumFramesReceived == 0 && timestampUs < mStartTimeUs)) { in dataCallbackTimestamp()
858 ALOGV("Drop frame at %" PRId64 "/%" PRId64 " us", timestampUs, mStartTimeUs); in dataCallbackTimestamp()
881 if (mStartTimeUs > 0) { in dataCallbackTimestamp()
882 if (timestampUs < mStartTimeUs) { in dataCallbackTimestamp()
888 mStartTimeUs = timestampUs - mStartTimeUs; in dataCallbackTimestamp()
895 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); in dataCallbackTimestamp()
898 mStartTimeUs, timeUs); in dataCallbackTimestamp()
DCameraSourceTimeLapse.cpp270 if (*timestampUs < mStartTimeUs) { in skipFrameAndModifyTimeStamp()
271 ALOGI("set timestampUs to start time stamp %" PRId64 " us", mStartTimeUs); in skipFrameAndModifyTimeStamp()
272 *timestampUs = mStartTimeUs; in skipFrameAndModifyTimeStamp()
/frameworks/base/media/java/android/media/
DSubtitleData.java47 private long mStartTimeUs; field in SubtitleData
62 return mStartTimeUs; in getStartTimeUs()
80 mStartTimeUs = parcel.readLong(); in parseParcel()
/frameworks/av/media/libstagefright/webm/
DWebmFrameThread.cpp262 mStartTimeUs = startTimeRealUs; in WebmFrameMediaSourceThread()
279 mStartTimeUs += startTimeOffsetUs; in WebmFrameMediaSourceThread()
286 meta->setInt64(kKeyTime, mStartTimeUs); in start()
331 mStartTimeUs = kUninitialized; in run()
344 if (mStartTimeUs == kUninitialized) { in run()
345 mStartTimeUs = timestampUs; in run()
347 timestampUs -= mStartTimeUs; in run()
DWebmFrameThread.h147 uint64_t mStartTimeUs; variable
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp66 mStartTimeUs(-1ll), in PlaylistFetcher()
500 mStartTimeUs = startTimeUs; in onStart()
751 CHECK_GE(mStartTimeUs, 0ll); in onDownloadNext()
764 mSeqNumber = getSeqNumberForTime(mStartTimeUs); in onDownloadNext()
765 mStartTimeUs -= getSegmentStartTimeUs(mSeqNumber); in onDownloadNext()
769 mStartTimeUs, mSeqNumber, firstSeqNumberInPlaylist, in onDownloadNext()
1084 while (index >= 0 && anchorTimeUs > mStartTimeUs) { in getSeqNumberWithAnchorTime()
1279 if (timeUs < mStartTimeUs) { in extractAndQueueAccessUnitsFromTs()
1282 timeUs, mStartTimeUs); in extractAndQueueAccessUnitsFromTs()
1302 if (mStartTimeUsNotify != NULL && timeUs > mStartTimeUs) { in extractAndQueueAccessUnitsFromTs()
[all …]
DPlaylistFetcher.h112 int64_t mStartTimeUs; member
/frameworks/av/include/media/stagefright/
DTimeSource.h44 int64_t mStartTimeUs;
DAudioSource.h82 int64_t mStartTimeUs; member
DCameraSource.h160 int64_t mStartTimeUs; variable
/frameworks/av/media/libstagefright/include/
DThrottledSource.h74 int64_t mStartTimeUs; member
/frameworks/av/cmds/stagefright/
Dsf2.cpp83 int64_t delayUs = ALooper::GetNowUs() - mStartTimeUs; in printStatistics()
164 mStartTimeUs = ALooper::GetNowUs(); in onMessageReceived()
277 int64_t mStartTimeUs; member