Home
last modified time | relevance | path

Searched refs:mExtractor (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/libstagefright/
DRemoteMediaExtractor.cpp46 :mExtractor(extractor), in RemoteMediaExtractor()
75 delete mExtractor; in ~RemoteMediaExtractor()
94 return mExtractor->countTracks(); in countTracks()
98 MediaTrack *source = mExtractor->getTrack(index); in getTrack()
105 if (mExtractor->getTrackMetaData(*meta.get(), index, flags) == OK) { in getTrackMetaData()
113 if (mExtractor->getMetaData(*meta.get()) == OK) { in getMetaData()
129 return mExtractor->flags(); in flags()
133 return mExtractor->setMediaCas((uint8_t*)casToken.data(), casToken.size()); in setMediaCas()
137 return mExtractor->name(); in name()
DStagefrightMetadataRetriever.cpp70 mExtractor = MediaExtractorFactory::Create(mSource); in setDataSource()
72 if (mExtractor == NULL) { in setDataSource()
100 mExtractor = MediaExtractorFactory::Create(mSource); in setDataSource()
102 if (mExtractor == NULL) { in setDataSource()
117 mExtractor = MediaExtractorFactory::Create(mSource, mime); in setDataSource()
119 if (mExtractor == NULL) { in setDataSource()
154 if (mExtractor.get() == NULL) { in getImageInternal()
159 size_t n = mExtractor->countTracks(); in getImageInternal()
164 sp<MetaData> meta = mExtractor->getTrackMetaData(i); in getImageInternal()
185 sp<MetaData> trackMeta = mExtractor->getTrackMetaData(i); in getImageInternal()
[all …]
DRemoteMediaSource.cpp27 : mExtractor(extractor), in RemoteMediaSource()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DGenericSource2.cpp164 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()
[all …]
DGenericSource2.h129 sp<AMediaExtractorWrapper> mExtractor; member
167 sp<AMediaExtractorWrapper> mExtractor; member
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp113 MatroskaExtractor *mExtractor; member
149 MatroskaExtractor *mExtractor; member
169 return mExtractor->mSegment->GetTracks()->GetTrackByNumber(mTrackNum); in getTrack()
184 if (timeNs <= cp->GetTime(mExtractor->mSegment)) { in find()
195 const long long cueTimeNs = midCp->GetTime(mExtractor->mSegment); in find()
208 if (cp->GetTime(mExtractor->mSegment) > timeNs) { in find()
217 : mExtractor(extractor), in MatroskaSource()
221 mBlockIter(mExtractor, in MatroskaSource()
222 mExtractor->mTracks.itemAt(index).mTrackNum, in MatroskaSource()
225 MetaDataBase &meta = mExtractor->mTracks.editItemAt(index).mMeta; in MatroskaSource()
[all …]
DMatroskaExtractor.h63 const MatroskaExtractor *mExtractor; member
/frameworks/av/cmds/stagefright/
DSimplePlayer.cpp275 mExtractor = new NuMediaExtractor; in onPrepare()
277 status_t err = mExtractor->setDataSource( in onPrepare()
281 mExtractor.clear(); in onPrepare()
292 for (size_t i = 0; i < mExtractor->countTracks(); ++i) { in onPrepare()
294 status_t err = mExtractor->getTrackFormat(i, &format); in onPrepare()
310 err = mExtractor->selectTrack(i); in onPrepare()
411 mExtractor.clear(); in onReset()
470 status_t err = mExtractor->getSampleTrackIndex(&trackIndex); in onDoMoreStuff()
490 err = mExtractor->readSampleData(abuffer); in onDoMoreStuff()
495 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK); in onDoMoreStuff()
[all …]
DSimplePlayer.h90 sp<NuMediaExtractor> mExtractor; member
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationHeaderUtil.java240 private final DataExtractor mExtractor; field in NotificationHeaderUtil.HeaderProcessor
256 mExtractor = extractor; in HeaderProcessor()
264 mParentData = mExtractor == null ? null : mExtractor.extractData(mParentRow); in init()
277 Object childData = mExtractor == null ? null : mExtractor.extractData(row); in compareToHeader()
/frameworks/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp60 MPEG2PSExtractor *mExtractor; member
89 MPEG2PSExtractor *mExtractor; member
593 : mExtractor(extractor), in Track()
676 status_t err = mExtractor->feedMore(); in read()
730 : mExtractor(extractor), in WrappedTrack()
DMPEG2TSExtractor.cpp67 MPEG2TSExtractor *mExtractor; member
81 : mExtractor(extractor), in MPEG2TSSource()
111 status_t err = mExtractor->seek(seekTimeUs, seekMode); in read()
117 if (mExtractor->feedUntilBufferAvailable(mImpl) != OK) { in read()
/frameworks/av/media/libstagefright/include/media/stagefright/
DRemoteMediaSource.h44 sp<RemoteMediaExtractor> mExtractor;
DRemoteMediaExtractor.h47 MediaExtractor *mExtractor;
/frameworks/av/media/libstagefright/include/
DStagefrightMetadataRetriever.h60 sp<IMediaExtractor> mExtractor; member
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp65 OggExtractor *mExtractor; member
230 : mExtractor(extractor), in OggSource()
241 return mExtractor->mImpl->getFormat(meta); in getFormat()
267 status_t err = mExtractor->mImpl->seekToTime(seekTimeUs); in read()
274 status_t err = mExtractor->mImpl->readNextPacket(&packet); in read()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java984 private final UnstyledTextExtractor mExtractor = field in WebVttTrack
986 private final Tokenizer mTokenizer = new Tokenizer(mExtractor);
1046 cue.mLines = mExtractor.getText(); in onCueParsed()