Lines Matching refs:mPackets

239                 mAudioTrack.mPackets = new AnotherPacketSource(meta);  in initFromDataSource()
254 mVideoTrack.mPackets = new AnotherPacketSource(meta); in initFromDataSource()
554 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
561 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
568 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
580 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
809 if (!track->mPackets->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
818 status_t result = track->mPackets->dequeueAccessUnit(accessUnit); in dequeueAccessUnit()
823 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2) { in dequeueAccessUnit()
827 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in dequeueAccessUnit()
836 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2 in dequeueAccessUnit()
850 mSubtitleTrack.mPackets->clear(); in dequeueAccessUnit()
854 mTimedTextTrack.mPackets->clear(); in dequeueAccessUnit()
870 && !mSubtitleTrack.mPackets->hasBufferAvailable(&eosResult)) { in dequeueAccessUnit()
878 && !mTimedTextTrack.mPackets->hasBufferAvailable(&eosResult)) { in dequeueAccessUnit()
994 track->mPackets->clear(); in selectTrack()
1011 if (track->mPackets == NULL) { in selectTrack()
1012 track->mPackets = new AnotherPacketSource(meta); in selectTrack()
1014 track->mPackets->clear(); in selectTrack()
1015 track->mPackets->setFormat(meta); in selectTrack()
1027 && !mSubtitleTrack.mPackets->hasBufferAvailable(&eosResult)) { in selectTrack()
1039 && !mTimedTextTrack.mPackets->hasBufferAvailable(&eosResult)) { in selectTrack()
1116 mSubtitleTrack.mPackets->clear(); in doSeek()
1121 mTimedTextTrack.mPackets->clear(); in doSeek()
1324 track->mPackets->signalEOS(err != OK ? err : ERROR_END_OF_STREAM); in readBuffer()
1339 track->mPackets->signalEOS(ERROR_MALFORMED); in readBuffer()
1366 track->mPackets->queueAccessUnit(abuf); in readBuffer()
1377 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
1388 durationUs = counterTrack->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
1421 track->mPackets->queueDiscontinuity(type, NULL /* extra */, true /* discard */); in queueDiscontinuityIfNeeded()