Home
last modified time | relevance | path

Searched refs:mStartTimeUs (Results 1 – 15 of 15) 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/
DAudioSource.cpp60 mStartTimeUs(0), in AudioSource()
133 mStartTimeUs = 0; in start()
136 mStartTimeUs = startTimeUs; in start()
258 int64_t elapsedTimeUs = timeUs - mStartTimeUs; in read()
317 if (mNumFramesReceived == 0 && timeUs < mStartTimeUs) { in dataCallback()
319 ALOGV("Drop audio data at %" PRId64 "/%" PRId64 " us", timeUs, mStartTimeUs); in dataCallback()
326 if (mStartTimeUs > 0) { in dataCallback()
327 mStartTimeUs = timeUs - mStartTimeUs; in dataCallback()
330 mStartTimeUs += mRecord->latency() * 1000; in dataCallback()
333 mPrevSampleTimeUs = mStartTimeUs; in dataCallback()
[all …]
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()
DCameraSource.cpp774 mStartTimeUs = 0; in start()
782 mStartTimeUs = startTimeUs; in start()
1053 if (!mStarted || (mNumFramesReceived == 0 && timestampUs < mStartTimeUs)) { in shouldSkipFrameLocked()
1054 ALOGV("Drop frame at %lld/%lld us", (long long)timestampUs, (long long)mStartTimeUs); in shouldSkipFrameLocked()
1079 if (mStartTimeUs > 0) { in shouldSkipFrameLocked()
1080 if (timestampUs < mStartTimeUs) { in shouldSkipFrameLocked()
1085 mStartTimeUs = timestampUs - mStartTimeUs; in shouldSkipFrameLocked()
1106 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); in dataCallbackTimestamp()
1109 mStartTimeUs, timeUs); in dataCallbackTimestamp()
1154 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); in recordingFrameHandleCallbackTimestamp()
[all …]
DCameraSourceTimeLapse.cpp272 if (*timestampUs < mStartTimeUs) { in skipFrameAndModifyTimeStamp()
273 ALOGI("set timestampUs to start time stamp %" PRId64 " us", mStartTimeUs); in skipFrameAndModifyTimeStamp()
274 *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.cpp150 mStartTimeUs(-1ll), in PlaylistFetcher()
709 mStartTimeUs = startTimeUs; in onStart()
981 CHECK_GE(mStartTimeUs, 0ll); in initDownloadState()
994 mSeqNumber = getSeqNumberForTime(mStartTimeUs); in initDownloadState()
995 mStartTimeUs -= getSegmentStartTimeUs(mSeqNumber); in initDownloadState()
999 (long long)mStartTimeUs, mSeqNumber, firstSeqNumberInPlaylist, in initDownloadState()
1149 mStartup, mLastDiscontinuitySeq, mDiscontinuitySeq, (long long)mStartTimeUs); in initDownloadState()
1210 mStartTimeUs = 0; in initDownloadState()
1475 int64_t diffUs = anchorTimeUs - mStartTimeUs; in adjustSeqNumberWithAnchorTime()
1507 (long long) anchorTimeUs - mStartTimeUs, in adjustSeqNumberWithAnchorTime()
[all …]
DPlaylistFetcher.h126 int64_t mStartTimeUs; member
/frameworks/av/media/libstagefright/include/
DThrottledSource.h74 int64_t mStartTimeUs; member
/frameworks/av/include/media/stagefright/
DAudioSource.h87 int64_t mStartTimeUs; member
DCameraSource.h198 int64_t mStartTimeUs; variable
/frameworks/av/cmds/stagefright/
Dsf2.cpp83 int64_t delayUs = ALooper::GetNowUs() - mStartTimeUs; in printStatistics()
163 mStartTimeUs = ALooper::GetNowUs(); in onMessageReceived()
276 int64_t mStartTimeUs; member