Lines Matching refs:durationUs
260 int64_t durationUs; in initFromDataSource() local
261 if (meta->findInt64(kKeyDuration, &durationUs)) { in initFromDataSource()
262 if (durationUs > mDurationUs) { in initFromDataSource()
263 mDurationUs = durationUs; in initFromDataSource()
886 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in dequeueAccessUnit() local
892 if (durationUs < restartBufferingMarkUs) { in dequeueAccessUnit()
947 status_t NuPlayer::GenericSource::getDuration(int64_t *durationUs) { in getDuration() argument
949 *durationUs = mDurationUs; in getDuration()
1266 int64_t durationUs; in mediaBufferToABuffer() local
1267 if (mb->meta_data().findInt64(kKeyDuration, &durationUs)) { in mediaBufferToABuffer()
1268 meta->setInt64("durationUs", durationUs); in mediaBufferToABuffer()
1476 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in readBuffer() local
1482 if (finalResult == ERROR_END_OF_STREAM || durationUs >= markUs) { in readBuffer()
1487 durationUs = counterTrack->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
1489 if (finalResult == ERROR_END_OF_STREAM || durationUs >= markUs) { in readBuffer()