Lines Matching refs:mExtractor

164     mExtractor = new AMediaExtractorWrapper(AMediaExtractor_new());  in initFromDataSource()
176 err = mExtractor->setDataSource(mDataSourceWrapper->getAMediaDataSource()); in initFromDataSource()
178 err = mExtractor->setDataSource(fd, offset, length); in initFromDataSource()
187 size_t numtracks = mExtractor->getTrackCount(); in initFromDataSource()
197 mFileMeta = convertMediaFormatWrapperToMetaData(mExtractor->getFormat()); in initFromDataSource()
211 sp<AMediaFormatWrapper> trackFormat = mExtractor->getTrackFormat(i); in initFromDataSource()
235 if (mAudioTrack.mExtractor == NULL) { in initFromDataSource()
237 mAudioTrack.mExtractor = trackExtractor; in initFromDataSource()
238 mAudioTrack.mExtractor->selectTrack(i); in initFromDataSource()
250 if (mVideoTrack.mExtractor == NULL) { in initFromDataSource()
252 mVideoTrack.mExtractor = trackExtractor; in initFromDataSource()
253 mVideoTrack.mExtractor->selectTrack(i); in initFromDataSource()
313 if (mAudioTrack.mExtractor != NULL) { in getLastReadPosition()
315 } else if (mVideoTrack.mExtractor != NULL) { in getLastReadPosition()
414 if (mVideoTrack.mExtractor != NULL) { in onPrepareAsync()
449 if (mAudioTrack.mExtractor != NULL) { in finishPrepareAsync()
453 if (mVideoTrack.mExtractor != NULL) { in finishPrepareAsync()
475 if (mAudioTrack.mExtractor != NULL) { in start()
479 if (mVideoTrack.mExtractor != NULL) { in start()
607 track->mExtractor = extractor; in onMessageReceived()
608 track->mExtractor->selectSingleTrack(trackIndex); in onMessageReceived()
743 if (mTimedTextTrack.mExtractor->getTrackFormat(mTimedTextTrack.mIndex)->getBuffer( in sendGlobalTextData()
771 sp<AMediaExtractorWrapper> extractor = audio ? mAudioTrack.mExtractor : mVideoTrack.mExtractor; in getFormat_l()
782 sp<AMediaExtractorWrapper> extractor = audio ? mAudioTrack.mExtractor : mVideoTrack.mExtractor; in getFormatMeta_l()
804 if (track->mExtractor == NULL) { in dequeueAccessUnit()
849 if (mSubtitleTrack.mExtractor != NULL) { in dequeueAccessUnit()
853 if (mTimedTextTrack.mExtractor != NULL) { in dequeueAccessUnit()
869 if (mSubtitleTrack.mExtractor != NULL in dequeueAccessUnit()
877 if (mTimedTextTrack.mExtractor != NULL in dequeueAccessUnit()
966 if (track != NULL && track->mExtractor != NULL) { in getSelectedTrack()
983 if (mSubtitleTrack.mExtractor != NULL && trackIndex == mSubtitleTrack.mIndex) { in selectTrack()
986 } else if (mTimedTextTrack.mExtractor != NULL && trackIndex == mTimedTextTrack.mIndex) { in selectTrack()
993 track->mExtractor = NULL; in selectTrack()
1005 if (track->mExtractor != NULL && track->mIndex == trackIndex) { in selectTrack()
1009 track->mExtractor = mExtractors.itemAt(trackIndex); in selectTrack()
1010 track->mExtractor->selectSingleTrack(trackIndex); in selectTrack()
1026 if (mSubtitleTrack.mExtractor != NULL in selectTrack()
1038 if (mTimedTextTrack.mExtractor != NULL in selectTrack()
1050 if (track->mExtractor != NULL && track->mIndex == trackIndex) { in selectTrack()
1097 if (mVideoTrack.mExtractor != NULL) { in doSeek()
1109 if (mAudioTrack.mExtractor != NULL) { in doSeek()
1115 if (mSubtitleTrack.mExtractor != NULL) { in doSeek()
1120 if (mTimedTextTrack.mExtractor != NULL) { in doSeek()
1192 sp<AMediaExtractorWrapper> extractor = mTimedTextTrack.mExtractor; in mediaBufferToABuffer()
1293 if (track->mExtractor == NULL) { in readBuffer()
1303 sp<AMediaExtractorWrapper> extractor = track->mExtractor; in readBuffer()
1387 if (counterTrack->mExtractor != NULL) { in readBuffer()
1583 if (mExtractor == NULL) { in checkDrmInfo()
1588 PsshInfo *psshInfo = mExtractor->getPsshInfo(); in checkDrmInfo()