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()
1054 track->mPackets->clear(); in selectTrack()
1074 if (track->mPackets == NULL) { in selectTrack()
1075 track->mPackets = new AnotherPacketSource(track->mSource->getFormat()); in selectTrack()
1077 track->mPackets->clear(); in selectTrack()
1078 track->mPackets->setFormat(track->mSource->getFormat()); in selectTrack()
1090 && !mSubtitleTrack.mPackets->hasBufferAvailable(&eosResult)) { in selectTrack()
1102 && !mTimedTextTrack.mPackets->hasBufferAvailable(&eosResult)) { in selectTrack()
1179 mSubtitleTrack.mPackets->clear(); in doSeek()
1184 mTimedTextTrack.mPackets->clear(); in doSeek()
1412 track->mPackets->signalEOS(ERROR_MALFORMED); in readBuffer()
1437 track->mPackets->queueAccessUnit(buffer); in readBuffer()
1454 track->mPackets->queueDiscontinuity( in readBuffer()
1461 track->mPackets->signalEOS(err); in readBuffer()
1469 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
1480 durationUs = counterTrack->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
1513 track->mPackets->queueDiscontinuity(type, NULL /* extra */, true /* discard */); in queueDiscontinuityIfNeeded()