/frameworks/base/media/jni/ |
D | android_media_MediaExtractor.cpp | 258 JNIEnv *env, jobject thiz, const sp<JMediaExtractor> &extractor) { in setMediaExtractor() argument 262 if (extractor != NULL) { in setMediaExtractor() 263 extractor->incStrong(thiz); in setMediaExtractor() 268 env->SetLongField(thiz, gFields.context, (jlong)extractor.get()); in setMediaExtractor() 283 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); in android_media_MediaExtractor_getTrackCount() local 285 if (extractor == NULL) { in android_media_MediaExtractor_getTrackCount() 290 return (jint) extractor->countTracks(); in android_media_MediaExtractor_getTrackCount() 295 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); in android_media_MediaExtractor_getTrackFormatNative() local 297 if (extractor == NULL) { in android_media_MediaExtractor_getTrackFormatNative() 303 status_t err = extractor->getTrackFormat(index, &format); in android_media_MediaExtractor_getTrackFormatNative() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | muxer.cpp | 66 sp<NuMediaExtractor> extractor = new NuMediaExtractor; in muxing() local 67 if (extractor->setDataSource(NULL /* httpService */, path) != OK) { in muxing() 88 size_t trackCount = extractor->countTracks(); in muxing() 103 status_t err = extractor->getTrackFormat(i, &format); in muxing() 142 err = extractor->selectTrack(i); in muxing() 166 status_t err = extractor->getSampleTrackIndex(&trackIndex); in muxing() 173 extractor->advance(); in muxing() 177 err = extractor->readSampleData(newBuffer); in muxing() 181 err = extractor->getSampleTime(&timeUs); in muxing() 185 err = extractor->getSampleMeta(&meta); in muxing() [all …]
|
D | codec.cpp | 82 sp<NuMediaExtractor> extractor = new NuMediaExtractor; in decode() local 83 if (extractor->setDataSource(NULL /* httpService */, path) != OK) { in decode() 92 for (size_t i = 0; i < extractor->countTracks(); ++i) { in decode() 94 status_t err = extractor->getTrackFormat(i, &format); in decode() 113 err = extractor->selectTrack(i); in decode() 163 status_t err = extractor->getSampleTrackIndex(&trackIndex); in decode() 179 err = extractor->readSampleData(buffer); in decode() 183 err = extractor->getSampleTime(&timeUs); in decode() 197 extractor->advance(); in decode()
|
D | record.cpp | 122 sp<MediaExtractor> extractor = 124 if (extractor == NULL) { 128 size_t num_tracks = extractor->countTracks(); 132 meta = extractor->getTrackMetaData(i); 144 source = extractor->getTrack(i);
|
D | stream.cpp | 168 sp<IMediaExtractor> extractor = MediaExtractor::Create(dataSource); in MyConvertingStreamSource() local 169 CHECK(extractor != NULL); in MyConvertingStreamSource() 174 for (size_t i = 0; i < extractor->countTracks(); ++i) { in MyConvertingStreamSource() 175 const sp<MetaData> &meta = extractor->getTrackMetaData(i); in MyConvertingStreamSource() 184 CHECK_EQ(mWriter->addSource(extractor->getTrack(i)), (status_t)OK); in MyConvertingStreamSource()
|
D | mediafilter.cpp | 322 sp<NuMediaExtractor> extractor = new NuMediaExtractor; in decode() local 323 if (extractor->setDataSource(NULL /* httpService */, path) != OK) { in decode() 331 for (size_t i = 0; i < extractor->countTracks(); ++i) { in decode() 333 status_t err = extractor->getTrackFormat(i, &format); in decode() 345 err = extractor->selectTrack(i); in decode() 521 status_t err = extractor->getSampleTrackIndex(&trackIndex); in decode() 537 err = extractor->readSampleData(buffer); in decode() 541 err = extractor->getSampleTime(&timeUs); in decode() 552 extractor->advance(); in decode()
|
D | stagefright.cpp | 1012 sp<IMediaExtractor> extractor = MediaExtractor::Create(dataSource); in main() local 1014 if (extractor == NULL) { in main() 1019 sp<MetaData> meta = extractor->getMetaData(); in main() 1033 size_t numTracks = extractor->countTracks(); in main() 1039 sp<IMediaSource> source = extractor->getTrack(i); in main() 1066 meta = extractor->getTrackMetaData( in main() 1101 mediaSource = extractor->getTrack(i); in main()
|
D | sf2.cpp | 121 sp<IMediaExtractor> extractor = in onMessageReceived() local 124 for (size_t i = 0; i < extractor->countTracks(); ++i) { in onMessageReceived() 125 sp<MetaData> meta = extractor->getTrackMetaData(i); in onMessageReceived() 132 mSource = extractor->getTrack(i); in onMessageReceived()
|
/frameworks/av/media/libmedia/ |
D | IMediaExtractor.cpp | 188 wp<IMediaExtractor> extractor; member 201 if (extractor.promote() == NULL) { in toString() 228 sp<IMediaExtractor> extractor = instance.extractor.promote(); in registerMediaSource() local 229 if (extractor != NULL && extractor == ex) { in registerMediaSource() 241 const sp<IMediaExtractor> &extractor, in registerMediaExtractor() argument 246 ex.name = extractor->name(); in registerMediaExtractor() 249 ex.extractor = extractor; in registerMediaExtractor()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingHelper.java | 86 NotificationSignalExtractor extractor = in RankingHelper() local 88 extractor.initialize(mContext, usageStats); in RankingHelper() 89 extractor.setConfig(this); in RankingHelper() 90 mSignalExtractors[i] = extractor; in RankingHelper() 105 final NotificationSignalExtractor extractor = mSignalExtractors[i]; in findExtractor() local 106 if (extractorClass.equals(extractor.getClass())) { in findExtractor() 107 return (T) extractor; in findExtractor() 116 NotificationSignalExtractor extractor = mSignalExtractors[i]; in extractSignals() local 118 RankingReconsideration recon = extractor.process(r); in extractSignals()
|
/frameworks/av/include/media/ |
D | IMediaExtractor.h | 74 const sp<IMediaExtractor> &extractor, 79 const sp<IMediaExtractor> &extractor,
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | MPEG2PSExtractor.cpp | 44 Track(MPEG2PSExtractor *extractor, 76 WrappedTrack(const sp<MPEG2PSExtractor> &extractor, const sp<Track> &track); 591 MPEG2PSExtractor *extractor, unsigned stream_id, unsigned stream_type) in Track() argument 592 : mExtractor(extractor), in Track() 726 const sp<MPEG2PSExtractor> &extractor, const sp<Track> &track) in WrappedTrack() argument 727 : mExtractor(extractor), in WrappedTrack()
|
D | MPEG2TSExtractor.cpp | 46 const sp<MPEG2TSExtractor> &extractor, 69 const sp<MPEG2TSExtractor> &extractor, in MPEG2TSSource() argument 72 : mExtractor(extractor), in MPEG2TSSource()
|
/frameworks/wilhelm/src/android/ |
D | AacBqToPcmCbRenderer.cpp | 149 sp<MediaExtractor> extractor = new AacAdtsExtractor(mBqSource); in onPrepare() local 154 sp<IMediaSource> source = extractor->getTrack(kTrackToDecode); in onPrepare()
|
D | android_AudioSfDecoder.cpp | 232 sp<IMediaExtractor> extractor = MediaExtractor::Create(dataSource); in onPrepare() local 233 if (extractor == NULL) { in onPrepare() 241 for (size_t i = 0; i < extractor->countTracks(); ++i) { in onPrepare() 242 sp<MetaData> meta = extractor->getTrackMetaData(i); in onPrepare() 265 sp<IMediaSource> source = extractor->getTrack(audioTrackIndex); in onPrepare()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | LocaleUtils.java | 196 @NonNull LocaleExtractor<T> extractor, in filterByLanguage() argument 204 final Locale locale = extractor.get(sources.get(i)); in filterByLanguage()
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.cpp | 502 sp<IMediaExtractor> extractor = CreateExtractorFromURI(url); in CreateSourceForMime() local 504 if (extractor == NULL) { in CreateSourceForMime() 508 for (size_t i = 0; i < extractor->countTracks(); ++i) { in CreateSourceForMime() 509 sp<MetaData> meta = extractor->getTrackMetaData(i); in CreateSourceForMime() 516 return extractor->getTrack(i); in CreateSourceForMime()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | GenericSource.cpp | 143 sp<IMediaExtractor> extractor; in initFromDataSource() local 177 extractor = mWVMExtractor; in initFromDataSource() 179 extractor = MediaExtractor::Create(mDataSource, in initFromDataSource() 183 if (extractor == NULL) { in initFromDataSource() 187 if (extractor->getDrmFlag()) { in initFromDataSource() 191 mFileMeta = extractor->getMetaData(); in initFromDataSource() 212 size_t numtracks = extractor->countTracks(); in initFromDataSource() 218 sp<IMediaSource> track = extractor->getTrack(i); in initFromDataSource() 223 sp<MetaData> meta = extractor->getTrackMetaData(i); in initFromDataSource() 262 extractor->setUID(mUID); in initFromDataSource()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2RecordingTest.java | 934 MediaExtractor extractor = new MediaExtractor(); in validateRecording() local 936 extractor.setDataSource(mOutMediaFileName); in validateRecording() 939 int numTracks = extractor.getTrackCount(); in validateRecording() 942 MediaFormat format = extractor.getTrackFormat(i); in validateRecording() 970 extractor.release(); in validateRecording()
|
/frameworks/av/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 94 BlockIterator(MatroskaExtractor *extractor, unsigned long trackNum, unsigned long index); 125 const sp<MatroskaExtractor> &extractor, size_t index); 212 const sp<MatroskaExtractor> &extractor, size_t index) in MatroskaSource() argument 213 : mExtractor(extractor), in MatroskaSource() 278 MatroskaExtractor *extractor, unsigned long trackNum, unsigned long index) in BlockIterator() argument 279 : mExtractor(extractor), in BlockIterator()
|
/frameworks/av/media/libstagefright/ |
D | NuMediaExtractor.cpp | 93 sp<WVMExtractor> extractor = new WVMExtractor(dataSource); in setDataSource() local 94 extractor->setAdaptiveStreamingMode(true); in setDataSource() 96 mImpl = extractor; in setDataSource()
|
D | WAVExtractor.cpp | 558 sp<MediaExtractor> extractor = new WAVExtractor(source); in SniffWAV() local 559 if (extractor->countTracks() == 0) { in SniffWAV()
|
D | AVIExtractor.cpp | 39 AVISource(const sp<AVIExtractor> &extractor, size_t trackIndex); 90 const sp<AVIExtractor> &extractor, size_t trackIndex) in AVISource() argument 91 : mExtractor(extractor), in AVISource()
|
D | OggExtractor.cpp | 49 OggSource(const sp<OggExtractor> &extractor); 227 OggSource::OggSource(const sp<OggExtractor> &extractor) in OggSource() argument 228 : mExtractor(extractor), in OggSource()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationHeaderUtil.java | 251 HeaderProcessor(ExpandableNotificationRow row, int id, DataExtractor extractor, in HeaderProcessor() argument 255 mExtractor = extractor; in HeaderProcessor()
|