Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/webm/
DWebmFrameThread.cpp343 int64_t lastDurationUs = 0; // Previous sample duration in run() local
365 lastDurationUs = timestampUs - lastTimestampUs; in run()
378 CHECK_GE(pausedDurationUs, lastDurationUs); in run()
379 previousPausedDurationUs += pausedDurationUs - lastDurationUs; in run()
407 lastDurationUs = timestampUs - lastTimestampUs; in run()
411 mTrackDurationUs += lastDurationUs; in run()
/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.cpp575 int64_t origDurationUs, lastDurationUs; in estimateDurationsFromTimesUsAtEnd() local
582 || !meta->findInt64(kKeyLastDuration, &lastDurationUs) in estimateDurationsFromTimesUsAtEnd()
584 && abs(durationUs - lastDurationUs) < 60000000)) { in estimateDurationsFromTimesUsAtEnd()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp3269 int64_t lastDurationUs = 0; // Between the previous two samples in threadEntry() local
3516 if (WARN_UNLESS(pausedDurationUs >= lastDurationUs, "for %s track", trackName)) { in threadEntry()
3523 previousPausedDurationUs += pausedDurationUs - lastDurationUs; in threadEntry()
3694 lastDurationUs = timestampUs - lastTimestampUs; in threadEntry()
3785 lastDurationUs = 0; // A single sample's duration in threadEntry()
3807 mTrackDurationUs += lastDurationUs; in threadEntry()