Lines Matching refs:mPackets
236 mAudioTrack.mPackets = in initFromDataSource()
251 mVideoTrack.mPackets = in initFromDataSource()
626 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
633 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
640 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
652 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
868 if (!track->mPackets->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
877 status_t result = track->mPackets->dequeueAccessUnit(accessUnit); in dequeueAccessUnit()
882 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2) { in dequeueAccessUnit()
886 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in dequeueAccessUnit()
895 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2 in dequeueAccessUnit()
909 mSubtitleTrack.mPackets->clear(); in dequeueAccessUnit()
913 mTimedTextTrack.mPackets->clear(); in dequeueAccessUnit()
929 && !mSubtitleTrack.mPackets->hasBufferAvailable(&eosResult)) { in dequeueAccessUnit()
937 && !mTimedTextTrack.mPackets->hasBufferAvailable(&eosResult)) { in dequeueAccessUnit()
1061 track->mPackets->clear(); in selectTrack()
1081 if (track->mPackets == NULL) { in selectTrack()
1082 track->mPackets = new AnotherPacketSource(track->mSource->getFormat()); in selectTrack()
1084 track->mPackets->clear(); in selectTrack()
1085 track->mPackets->setFormat(track->mSource->getFormat()); in selectTrack()
1097 && !mSubtitleTrack.mPackets->hasBufferAvailable(&eosResult)) { in selectTrack()
1109 && !mTimedTextTrack.mPackets->hasBufferAvailable(&eosResult)) { in selectTrack()
1186 mSubtitleTrack.mPackets->clear(); in doSeek()
1191 mTimedTextTrack.mPackets->clear(); in doSeek()
1419 track->mPackets->signalEOS(ERROR_MALFORMED); in readBuffer()
1444 track->mPackets->queueAccessUnit(buffer); in readBuffer()
1461 track->mPackets->queueDiscontinuity( in readBuffer()
1468 track->mPackets->signalEOS(err); in readBuffer()
1476 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
1487 durationUs = counterTrack->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
1520 track->mPackets->queueDiscontinuity(type, NULL /* extra */, true /* discard */); in queueDiscontinuityIfNeeded()