Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/webm/
DWebmFrameThread.cpp342 int64_t lastDurationUs = 0; // Previous sample duration in run() local
364 lastDurationUs = timestampUs - lastTimestampUs; in run()
377 CHECK_GE(pausedDurationUs, lastDurationUs); in run()
378 previousPausedDurationUs += pausedDurationUs - lastDurationUs; in run()
406 lastDurationUs = timestampUs - lastTimestampUs; in run()
410 mTrackDurationUs += lastDurationUs; in run()
/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.cpp576 int64_t origDurationUs, lastDurationUs; in estimateDurationsFromTimesUsAtEnd() local
583 || !meta->findInt64(kKeyLastDuration, &lastDurationUs) in estimateDurationsFromTimesUsAtEnd()
585 && abs(durationUs - lastDurationUs) < 60000000)) { in estimateDurationsFromTimesUsAtEnd()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp2941 int64_t lastDurationUs = 0; // Between the previous two samples in threadEntry() local
3149 if (WARN_UNLESS(pausedDurationUs >= lastDurationUs, "for %s track", trackName)) { in threadEntry()
3156 previousPausedDurationUs += pausedDurationUs - lastDurationUs; in threadEntry()
3325 lastDurationUs = timestampUs - lastTimestampUs; in threadEntry()
3416 lastDurationUs = 0; // A single sample's duration in threadEntry()
3439 mTrackDurationUs += lastDurationUs; in threadEntry()