Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/webm/
DWebmFrameThread.cpp341 int64_t lastDurationUs = 0; // Previous sample duration in run() local
374 lastDurationUs = timestampUs - lastTimestampUs; in run()
386 CHECK_GE(pausedDurationUs, lastDurationUs); in run()
387 previousPausedDurationUs += pausedDurationUs - lastDurationUs; in run()
415 lastDurationUs = timestampUs - lastTimestampUs; in run()
419 mTrackDurationUs += lastDurationUs; in run()
DWebmWriter.cpp79 int64_t lastDurationUs = timeUs - prevTimeUs; in isSampleMetadataValid() local
82 if (timeUs > (INT64_MAX / 1000) - lastDurationUs) { in isSampleMetadataValid()
/frameworks/av/media/module/extractors/mpeg2/
DMPEG2TSExtractor.cpp592 int64_t origDurationUs, lastDurationUs; in estimateDurationsFromTimesUsAtEnd() local
599 || !meta->findInt64(kKeyLastDuration, &lastDurationUs) in estimateDurationsFromTimesUsAtEnd()
601 && abs(durationUs - lastDurationUs) < 60000000)) { in estimateDurationsFromTimesUsAtEnd()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp3503 int64_t lastDurationUs = 0; // Between the previous two samples in threadEntry() local
3789 if (WARN_UNLESS(pausedDurationUs >= lastDurationUs, "for %s track", trackName)) { in threadEntry()
3796 previousPausedDurationUs += pausedDurationUs - lastDurationUs; in threadEntry()
3967 lastDurationUs = timestampUs - lastTimestampUs; in threadEntry()
4059 lastDurationUs = 0; // A single sample's duration in threadEntry()
4081 mTrackDurationUs += lastDurationUs; in threadEntry()