Searched refs:lastDurationUs (Results 1 – 4 of 4) sorted by relevance
341 int64_t lastDurationUs = 0; // Previous sample duration in run() local374 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()
79 int64_t lastDurationUs = timeUs - prevTimeUs; in isSampleMetadataValid() local82 if (timeUs > (INT64_MAX / 1000) - lastDurationUs) { in isSampleMetadataValid()
592 int64_t origDurationUs, lastDurationUs; in estimateDurationsFromTimesUsAtEnd() local599 || !meta->findInt64(kKeyLastDuration, &lastDurationUs) in estimateDurationsFromTimesUsAtEnd()601 && abs(durationUs - lastDurationUs) < 60000000)) { in estimateDurationsFromTimesUsAtEnd()
3503 int64_t lastDurationUs = 0; // Between the previous two samples in threadEntry() local3789 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()