Lines Matching refs:mPackets
236 mAudioTrack.mPackets = in initFromDataSource()
251 mVideoTrack.mPackets = in initFromDataSource()
624 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
631 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
638 mFetchSubtitleDataGeneration, mSubtitleTrack.mPackets, msg); in onMessageReceived()
650 mFetchTimedTextDataGeneration, mTimedTextTrack.mPackets, msg); in onMessageReceived()
866 if (!track->mPackets->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
875 status_t result = track->mPackets->dequeueAccessUnit(accessUnit); in dequeueAccessUnit()
880 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2) { in dequeueAccessUnit()
884 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in dequeueAccessUnit()
893 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2 in dequeueAccessUnit()
907 mSubtitleTrack.mPackets->clear(); in dequeueAccessUnit()
911 mTimedTextTrack.mPackets->clear(); in dequeueAccessUnit()
927 && !mSubtitleTrack.mPackets->hasBufferAvailable(&eosResult)) { in dequeueAccessUnit()
935 && !mTimedTextTrack.mPackets->hasBufferAvailable(&eosResult)) { in dequeueAccessUnit()
1059 track->mPackets->clear(); in selectTrack()
1079 if (track->mPackets == NULL) { in selectTrack()
1080 track->mPackets = new AnotherPacketSource(track->mSource->getFormat()); in selectTrack()
1082 track->mPackets->clear(); in selectTrack()
1083 track->mPackets->setFormat(track->mSource->getFormat()); in selectTrack()
1095 && !mSubtitleTrack.mPackets->hasBufferAvailable(&eosResult)) { in selectTrack()
1107 && !mTimedTextTrack.mPackets->hasBufferAvailable(&eosResult)) { in selectTrack()
1184 mSubtitleTrack.mPackets->clear(); in doSeek()
1189 mTimedTextTrack.mPackets->clear(); in doSeek()
1417 track->mPackets->signalEOS(ERROR_MALFORMED); in readBuffer()
1442 track->mPackets->queueAccessUnit(buffer); in readBuffer()
1459 track->mPackets->queueDiscontinuity( in readBuffer()
1466 track->mPackets->signalEOS(err); in readBuffer()
1474 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
1485 durationUs = counterTrack->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
1518 track->mPackets->queueDiscontinuity(type, NULL /* extra */, true /* discard */); in queueDiscontinuityIfNeeded()