Lines Matching refs:mPackets
233 mAudioTrack.mPackets = in initFromDataSource()
248 mVideoTrack.mPackets = in initFromDataSource()
614 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
621 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
628 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
640 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
856 if (!track->mPackets->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
865 status_t result = track->mPackets->dequeueAccessUnit(accessUnit); in dequeueAccessUnit()
870 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2) { in dequeueAccessUnit()
874 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in dequeueAccessUnit()
883 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2 in dequeueAccessUnit()
897 mSubtitleTrack.mPackets->clear(); in dequeueAccessUnit()
901 mTimedTextTrack.mPackets->clear(); in dequeueAccessUnit()
917 && !mSubtitleTrack.mPackets->hasBufferAvailable(&eosResult)) { in dequeueAccessUnit()
925 && !mTimedTextTrack.mPackets->hasBufferAvailable(&eosResult)) { in dequeueAccessUnit()
1049 track->mPackets->clear(); in selectTrack()
1069 if (track->mPackets == NULL) { in selectTrack()
1070 track->mPackets = new AnotherPacketSource(track->mSource->getFormat()); in selectTrack()
1072 track->mPackets->clear(); in selectTrack()
1073 track->mPackets->setFormat(track->mSource->getFormat()); in selectTrack()
1085 && !mSubtitleTrack.mPackets->hasBufferAvailable(&eosResult)) { in selectTrack()
1097 && !mTimedTextTrack.mPackets->hasBufferAvailable(&eosResult)) { in selectTrack()
1174 mSubtitleTrack.mPackets->clear(); in doSeek()
1179 mTimedTextTrack.mPackets->clear(); in doSeek()
1407 track->mPackets->signalEOS(ERROR_MALFORMED); in readBuffer()
1432 track->mPackets->queueAccessUnit(buffer); in readBuffer()
1449 track->mPackets->queueDiscontinuity( in readBuffer()
1456 track->mPackets->signalEOS(err); in readBuffer()
1464 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
1475 durationUs = counterTrack->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
1508 track->mPackets->queueDiscontinuity(type, NULL /* extra */, true /* discard */); in queueDiscontinuityIfNeeded()