Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp3281 int64_t lastSampleDurationUs = -1; // Duration calculated from EOS buffer and its timestamp in threadEntry() local
3308 lastSampleDurationUs = eosSampleTimestampUs - in threadEntry()
3311 if (lastSampleDurationUs >= 0) { in threadEntry()
3312 lastSampleDurationTicks = (lastSampleDurationUs * mTimeScale + 500000LL) / in threadEntry()
3315 ALOGW("lastSampleDurationUs %" PRId64 " is negative", lastSampleDurationUs); in threadEntry()
3782 if (lastSampleDurationUs >= 0) { in threadEntry()
3789 } else if (lastSampleDurationUs >= 0) { in threadEntry()
3804 if (lastSampleDurationUs >= 0) { in threadEntry()
3805 mTrackDurationUs += lastSampleDurationUs; in threadEntry()