Lines Matching refs:durationUs
257 int64_t durationUs; in initFromDataSource() local
258 if (meta->findInt64(kKeyDuration, &durationUs)) { in initFromDataSource()
259 if (durationUs > mDurationUs) { in initFromDataSource()
260 mDurationUs = durationUs; in initFromDataSource()
874 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in dequeueAccessUnit() local
880 if (durationUs < restartBufferingMarkUs) { in dequeueAccessUnit()
935 status_t NuPlayer::GenericSource::getDuration(int64_t *durationUs) { in getDuration() argument
937 *durationUs = mDurationUs; in getDuration()
1254 int64_t durationUs; in mediaBufferToABuffer() local
1255 if (mb->meta_data().findInt64(kKeyDuration, &durationUs)) { in mediaBufferToABuffer()
1256 meta->setInt64("durationUs", durationUs); in mediaBufferToABuffer()
1464 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in readBuffer() local
1470 if (finalResult == ERROR_END_OF_STREAM || durationUs >= markUs) { in readBuffer()
1475 durationUs = counterTrack->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
1477 if (finalResult == ERROR_END_OF_STREAM || durationUs >= markUs) { in readBuffer()