Lines Matching refs:mExtractor
149 mExtractor = new AMediaExtractorWrapper(AMediaExtractor_new()); in initFromDataSource()
158 err = mExtractor->setDataSource(aSourceWrapper->getAMediaDataSource()); in initFromDataSource()
160 err = mExtractor->setDataSource(fd, mOffset, mLength); in initFromDataSource()
169 size_t numtracks = mExtractor->getTrackCount(); in initFromDataSource()
176 mFileMeta = convertMediaFormatWrapperToMetaData(mExtractor->getFormat()); in initFromDataSource()
191 sp<AMediaFormatWrapper> trackFormat = mExtractor->getTrackFormat(i); in initFromDataSource()
215 if (mAudioTrack.mExtractor == NULL) { in initFromDataSource()
217 mAudioTrack.mExtractor = trackExtractor; in initFromDataSource()
218 mAudioTrack.mExtractor->selectTrack(i); in initFromDataSource()
230 if (mVideoTrack.mExtractor == NULL) { in initFromDataSource()
232 mVideoTrack.mExtractor = trackExtractor; in initFromDataSource()
233 mVideoTrack.mExtractor->selectTrack(i); in initFromDataSource()
293 if (mAudioTrack.mExtractor != NULL) { in getLastReadPosition()
295 } else if (mVideoTrack.mExtractor != NULL) { in getLastReadPosition()
380 if (mVideoTrack.mExtractor != NULL) { in onPrepareAsync()
416 if (mAudioTrack.mExtractor != NULL) { in finishPrepareAsync()
420 if (mVideoTrack.mExtractor != NULL) { in finishPrepareAsync()
440 if (mAudioTrack.mExtractor != NULL) { in start()
444 if (mVideoTrack.mExtractor != NULL) { in start()
546 track->mExtractor = extractor; in onMessageReceived()
547 track->mExtractor->selectSingleTrack(trackIndex); in onMessageReceived()
682 if (mTimedTextTrack.mExtractor->getTrackFormat(mTimedTextTrack.mIndex)->getBuffer( in sendGlobalTextData()
710 sp<AMediaExtractorWrapper> extractor = audio ? mAudioTrack.mExtractor : mVideoTrack.mExtractor; in getFormat_l()
721 sp<AMediaExtractorWrapper> extractor = audio ? mAudioTrack.mExtractor : mVideoTrack.mExtractor; in getFormatMeta_l()
743 if (track->mExtractor == NULL) { in dequeueAccessUnit()
786 if (mSubtitleTrack.mExtractor != NULL) { in dequeueAccessUnit()
790 if (mTimedTextTrack.mExtractor != NULL) { in dequeueAccessUnit()
806 if (mSubtitleTrack.mExtractor != NULL in dequeueAccessUnit()
814 if (mTimedTextTrack.mExtractor != NULL in dequeueAccessUnit()
903 if (track != NULL && track->mExtractor != NULL) { in getSelectedTrack()
920 if (mSubtitleTrack.mExtractor != NULL && trackIndex == mSubtitleTrack.mIndex) { in selectTrack()
923 } else if (mTimedTextTrack.mExtractor != NULL && trackIndex == mTimedTextTrack.mIndex) { in selectTrack()
930 track->mExtractor = NULL; in selectTrack()
942 if (track->mExtractor != NULL && track->mIndex == trackIndex) { in selectTrack()
946 track->mExtractor = mExtractors.itemAt(trackIndex); in selectTrack()
947 track->mExtractor->selectSingleTrack(trackIndex); in selectTrack()
963 if (mSubtitleTrack.mExtractor != NULL in selectTrack()
975 if (mTimedTextTrack.mExtractor != NULL in selectTrack()
987 if (track->mExtractor != NULL && track->mIndex == trackIndex) { in selectTrack()
1034 if (mVideoTrack.mExtractor != NULL) { in doSeek()
1046 if (mAudioTrack.mExtractor != NULL) { in doSeek()
1052 if (mSubtitleTrack.mExtractor != NULL) { in doSeek()
1057 if (mTimedTextTrack.mExtractor != NULL) { in doSeek()
1129 sp<AMediaExtractorWrapper> extractor = mTimedTextTrack.mExtractor; in mediaBufferToABuffer()
1230 if (track->mExtractor == NULL) { in readBuffer()
1240 sp<AMediaExtractorWrapper> extractor = track->mExtractor; in readBuffer()
1329 if (counterTrack->mExtractor != NULL) { in readBuffer()
1400 if (mVideoTrack.mExtractor != NULL) { in onPollBuffering()
1401 extractor = mVideoTrack.mExtractor; in onPollBuffering()
1402 } else if (mAudioTrack.mExtractor != NULL) { in onPollBuffering()
1403 extractor = mAudioTrack.mExtractor; in onPollBuffering()
1510 if (mExtractor == NULL) { in checkDrmInfo()
1515 PsshInfo *psshInfo = mExtractor->getPsshInfo(); in checkDrmInfo()