Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DRemoteMediaExtractor.cpp47 :mExtractor(extractor), in RemoteMediaExtractor()
81 delete mExtractor; in ~RemoteMediaExtractor()
100 return mExtractor->countTracks(); in countTracks()
104 MediaTrack *source = mExtractor->getTrack(index); in getTrack()
111 if (mExtractor->getTrackMetaData(*meta.get(), index, flags) == OK) { in getTrackMetaData()
119 if (mExtractor->getMetaData(*meta.get()) == OK) { in getMetaData()
135 return mExtractor->flags(); in flags()
139 return mExtractor->setMediaCas((uint8_t*)casToken.data(), casToken.size()); in setMediaCas()
143 return mExtractor->name(); in name()
DStagefrightMetadataRetriever.cpp73 mExtractor = MediaExtractorFactory::Create(mSource); in setDataSource()
75 if (mExtractor == NULL) { in setDataSource()
103 mExtractor = MediaExtractorFactory::Create(mSource); in setDataSource()
105 if (mExtractor == NULL) { in setDataSource()
120 mExtractor = MediaExtractorFactory::Create(mSource, mime); in setDataSource()
122 if (mExtractor == NULL) { in setDataSource()
157 if (mExtractor.get() == NULL) { in getImageInternal()
162 size_t n = mExtractor->countTracks(); in getImageInternal()
167 sp<MetaData> meta = mExtractor->getTrackMetaData(i); in getImageInternal()
191 sp<MetaData> trackMeta = mExtractor->getTrackMetaData(i); in getImageInternal()
[all …]
DRemoteMediaSource.cpp27 : mExtractor(extractor), in RemoteMediaSource()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DGenericSource2.cpp149 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()
[all …]
DGenericSource2.h126 sp<AMediaExtractorWrapper> mExtractor; member
160 sp<AMediaExtractorWrapper> mExtractor; member
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DCriticalNotificationExtractorTest.java44 private CriticalNotificationExtractor mExtractor; field in CriticalNotificationExtractorTest
50 mExtractor = new CriticalNotificationExtractor(); in setUp()
58 mExtractor.initialize(mContext, null); in testExtractCritically_nonsupporting()
76 mExtractor.initialize(mContext, null); in testExtractCritically()
93 mExtractor.process(info); in assertCriticality()
/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/av/media/extractors/mkv/
DMatroskaExtractor.cpp116 MatroskaExtractor *mExtractor; member
158 MatroskaExtractor *mExtractor; member
187 return mExtractor->mSegment->GetTracks()->GetTrackByNumber(mTrackNum); in getTrack()
202 if (timeNs <= cp->GetTime(mExtractor->mSegment)) { in find()
213 const long long cueTimeNs = midCp->GetTime(mExtractor->mSegment); in find()
226 if (cp->GetTime(mExtractor->mSegment) > timeNs) { in find()
235 : mExtractor(extractor), in MatroskaSource()
239 mBlockIter(mExtractor, in MatroskaSource()
240 mExtractor->mTracks.itemAt(index).mTrackNum, in MatroskaSource()
245 MatroskaExtractor::TrackInfo &trackInfo = mExtractor->mTracks.editItemAt(index); in MatroskaSource()
[all …]
DMatroskaExtractor.h70 const MatroskaExtractor *mExtractor; member
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationHeaderUtil.java248 private final DataExtractor mExtractor; field in NotificationHeaderUtil.HeaderProcessor
264 mExtractor = extractor; in HeaderProcessor()
272 mParentData = mExtractor == null ? null : mExtractor.extractData(mParentRow); in init()
285 Object childData = mExtractor == null ? null : mExtractor.extractData(row); in compareToHeader()
/frameworks/av/media/libstagefright/include/media/stagefright/
DRemoteMediaSource.h45 sp<RemoteMediaExtractor> mExtractor;
DRemoteMediaExtractor.h47 MediaExtractor *mExtractor;
/frameworks/av/media/extractors/mpeg2/
DMPEG2PSExtractor.cpp60 MPEG2PSExtractor *mExtractor; member
89 MPEG2PSExtractor *mExtractor; member
595 : mExtractor(extractor), in Track()
691 status_t err = mExtractor->feedMore(); in read()
788 : mExtractor(extractor), in WrappedTrack()
DMPEG2TSExtractor.cpp69 MPEG2TSExtractor *mExtractor; member
83 : mExtractor(extractor), in MPEG2TSSource()
175 status_t err = mExtractor->seek(seekTimeUs, (ReadOptions::SeekMode)seekMode); in read()
183 if (mExtractor->feedUntilBufferAvailable(mImpl) != OK) { in read()
/frameworks/av/media/libstagefright/include/
DStagefrightMetadataRetriever.h59 sp<IMediaExtractor> mExtractor; member
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp63 OggExtractor *mExtractor; member
235 : mExtractor(extractor), in OggSource()
246 return mExtractor->mImpl->getFormat(meta); in getFormat()
255 mExtractor->mImpl->setBufferGroup(mBufferGroup); in start()
274 status_t err = mExtractor->mImpl->seekToTime(seekTimeUs); in read()
281 media_status_t err = mExtractor->mImpl->readNextPacket(&packet); in read()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java986 private final UnstyledTextExtractor mExtractor = field in WebVttTrack
988 private final Tokenizer mTokenizer = new Tokenizer(mExtractor);
1048 cue.mLines = mExtractor.getText(); in onCueParsed()