Lines Matching refs:mPackets

219                 mAudioTrack.mPackets = new AnotherPacketSource(meta);  in initFromDataSource()
234 mVideoTrack.mPackets = new AnotherPacketSource(meta); in initFromDataSource()
493 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
500 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
507 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
519 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
748 if (!track->mPackets->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
757 status_t result = track->mPackets->dequeueAccessUnit(accessUnit); in dequeueAccessUnit()
762 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2) { in dequeueAccessUnit()
766 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in dequeueAccessUnit()
775 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2 in dequeueAccessUnit()
787 mSubtitleTrack.mPackets->clear(); in dequeueAccessUnit()
791 mTimedTextTrack.mPackets->clear(); in dequeueAccessUnit()
807 && !mSubtitleTrack.mPackets->hasBufferAvailable(&eosResult)) { in dequeueAccessUnit()
815 && !mTimedTextTrack.mPackets->hasBufferAvailable(&eosResult)) { in dequeueAccessUnit()
931 track->mPackets->clear(); in selectTrack()
948 if (track->mPackets == NULL) { in selectTrack()
949 track->mPackets = new AnotherPacketSource(meta); in selectTrack()
951 track->mPackets->clear(); in selectTrack()
952 track->mPackets->setFormat(meta); in selectTrack()
964 && !mSubtitleTrack.mPackets->hasBufferAvailable(&eosResult)) { in selectTrack()
976 && !mTimedTextTrack.mPackets->hasBufferAvailable(&eosResult)) { in selectTrack()
1053 mSubtitleTrack.mPackets->clear(); in doSeek()
1058 mTimedTextTrack.mPackets->clear(); in doSeek()
1261 track->mPackets->signalEOS(err != OK ? err : ERROR_END_OF_STREAM); in readBuffer()
1276 track->mPackets->signalEOS(ERROR_MALFORMED); in readBuffer()
1308 track->mPackets->queueAccessUnit(abuf); in readBuffer()
1319 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
1330 durationUs = counterTrack->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
1362 track->mPackets->queueDiscontinuity(type, NULL /* extra */, true /* discard */); in queueDiscontinuityIfNeeded()