Searched refs:mStartTimeUs (Results 1 - 12 of 12) sorted by relevance

/frameworks/av/media/libstagefright/
H A DTimeSource.cpp26 : mStartTimeUs(ALooper::GetNowUs()) {
30 return ALooper::GetNowUs() - mStartTimeUs;
H A DThrottledSource.cpp29 mStartTimeUs(-1),
47 if (mStartTimeUs < 0) {
48 mStartTimeUs = nowUs;
56 int64_t whenUs = mStartTimeUs + durationUs;
H A DAudioSource.cpp116 mStartTimeUs = 0;
119 mStartTimeUs = startTimeUs;
239 int64_t elapsedTimeUs = timeUs - mStartTimeUs;
285 if (mNumFramesReceived == 0 && timeUs < mStartTimeUs) {
287 ALOGV("Drop audio data at %lld/%lld us", timeUs, mStartTimeUs);
294 if (mStartTimeUs > 0) {
295 mStartTimeUs = timeUs - mStartTimeUs;
298 mStartTimeUs += mRecord->latency() * 1000;
301 mPrevSampleTimeUs = mStartTimeUs;
[all...]
H A DCameraSource.cpp625 mStartTimeUs = 0;
630 mStartTimeUs = startTimeUs;
817 if (!mStarted || (mNumFramesReceived == 0 && timestampUs < mStartTimeUs)) {
818 ALOGV("Drop frame at %lld/%lld us", timestampUs, mStartTimeUs);
841 if (mStartTimeUs > 0) {
842 if (timestampUs < mStartTimeUs) {
848 mStartTimeUs = timestampUs - mStartTimeUs;
855 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs);
858 mStartTimeUs, timeU
[all...]
H A DCameraSourceTimeLapse.cpp263 if (*timestampUs < mStartTimeUs) {
264 ALOGI("set timestampUs to start time stamp %lld us", mStartTimeUs);
265 *timestampUs = mStartTimeUs;
/frameworks/av/media/libstagefright/wifi-display/source/
H A DRepeaterSource.cpp22 mStartTimeUs(-1ll),
41 if (mStartTimeUs >= 0ll) {
42 int64_t nextTimeUs = mStartTimeUs + (mFrameCount * 1000000ll) / mRateHz;
43 mStartTimeUs = nextTimeUs;
60 mStartTimeUs = -1ll;
117 if (mStartTimeUs < 0ll) {
125 mStartTimeUs = ALooper::GetNowUs();
126 bufferTimeUs = mStartTimeUs;
128 bufferTimeUs = mStartTimeUs + (mFrameCount * 1000000ll) / mRateHz;
166 mStartTimeUs
[all...]
H A DRepeaterSource.h57 int64_t mStartTimeUs; member in struct:android::RepeaterSource
/frameworks/av/include/media/stagefright/
H A DTimeSource.h44 int64_t mStartTimeUs; member in class:android::SystemTimeSource
H A DAudioSource.h82 int64_t mStartTimeUs; member in struct:android::AudioSource
H A DCameraSource.h160 int64_t mStartTimeUs; member in class:android::CameraSource
/frameworks/av/media/libstagefright/include/
H A DThrottledSource.h74 int64_t mStartTimeUs; member in struct:android::ThrottledSource
/frameworks/av/cmds/stagefright/
H A Dsf2.cpp120 mStartTimeUs = ALooper::GetNowUs();
183 int64_t delayUs = ALooper::GetNowUs() - mStartTimeUs;
253 int64_t mStartTimeUs; member in struct:Controller

Completed in 752 milliseconds