Lines Matching refs:mPackets

223                 mAudioTrack.mPackets =  in initFromDataSource()
238 mVideoTrack.mPackets = in initFromDataSource()
594 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
601 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
608 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
620 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
836 if (!track->mPackets->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
845 status_t result = track->mPackets->dequeueAccessUnit(accessUnit); in dequeueAccessUnit()
850 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2) { in dequeueAccessUnit()
854 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in dequeueAccessUnit()
863 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2 in dequeueAccessUnit()
877 mSubtitleTrack.mPackets->clear(); in dequeueAccessUnit()
881 mTimedTextTrack.mPackets->clear(); in dequeueAccessUnit()
897 && !mSubtitleTrack.mPackets->hasBufferAvailable(&eosResult)) { in dequeueAccessUnit()
905 && !mTimedTextTrack.mPackets->hasBufferAvailable(&eosResult)) { in dequeueAccessUnit()
1029 track->mPackets->clear(); in selectTrack()
1049 if (track->mPackets == NULL) { in selectTrack()
1050 track->mPackets = new AnotherPacketSource(track->mSource->getFormat()); in selectTrack()
1052 track->mPackets->clear(); in selectTrack()
1053 track->mPackets->setFormat(track->mSource->getFormat()); in selectTrack()
1065 && !mSubtitleTrack.mPackets->hasBufferAvailable(&eosResult)) { in selectTrack()
1077 && !mTimedTextTrack.mPackets->hasBufferAvailable(&eosResult)) { in selectTrack()
1154 mSubtitleTrack.mPackets->clear(); in doSeek()
1159 mTimedTextTrack.mPackets->clear(); in doSeek()
1387 track->mPackets->signalEOS(ERROR_MALFORMED); in readBuffer()
1412 track->mPackets->queueAccessUnit(buffer); in readBuffer()
1429 track->mPackets->queueDiscontinuity( in readBuffer()
1436 track->mPackets->signalEOS(err); in readBuffer()
1444 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
1455 durationUs = counterTrack->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
1488 track->mPackets->queueDiscontinuity(type, NULL /* extra */, true /* discard */); in queueDiscontinuityIfNeeded()