/frameworks/base/media/jni/ |
D | android_media_MediaExtractor.cpp | 325 JNIEnv *env, jobject thiz, const sp<JMediaExtractor> &extractor) { in setMediaExtractor() argument 329 if (extractor != NULL) { in setMediaExtractor() 330 extractor->incStrong(thiz); in setMediaExtractor() 335 env->SetLongField(thiz, gFields.context, (jlong)extractor.get()); in setMediaExtractor() 350 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); in android_media_MediaExtractor_getTrackCount() local 352 if (extractor == NULL) { in android_media_MediaExtractor_getTrackCount() 357 return (jint) extractor->countTracks(); in android_media_MediaExtractor_getTrackCount() 362 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); in android_media_MediaExtractor_getTrackFormatNative() local 364 if (extractor == NULL) { in android_media_MediaExtractor_getTrackFormatNative() 370 status_t err = extractor->getTrackFormat(index, &format); in android_media_MediaExtractor_getTrackFormatNative() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | muxer.cpp | 62 sp<NuMediaExtractor> extractor = new NuMediaExtractor; in muxing() local 63 if (extractor->setDataSource(NULL /* httpService */, path) != OK) { in muxing() 78 size_t trackCount = extractor->countTracks(); in muxing() 93 status_t err = extractor->getTrackFormat(i, &format); in muxing() 132 err = extractor->selectTrack(i); in muxing() 151 status_t err = extractor->getSampleTrackIndex(&trackIndex); in muxing() 157 err = extractor->readSampleData(newBuffer); in muxing() 161 err = extractor->getSampleTime(&timeUs); in muxing() 165 err = extractor->getSampleMeta(&meta); in muxing() 194 extractor->advance(); in muxing()
|
D | codec.cpp | 79 sp<NuMediaExtractor> extractor = new NuMediaExtractor; in decode() local 80 if (extractor->setDataSource(NULL /* httpService */, path) != OK) { in decode() 89 for (size_t i = 0; i < extractor->countTracks(); ++i) { in decode() 91 status_t err = extractor->getTrackFormat(i, &format); in decode() 110 err = extractor->selectTrack(i); in decode() 159 status_t err = extractor->getSampleTrackIndex(&trackIndex); in decode() 175 err = extractor->readSampleData(buffer); in decode() 179 err = extractor->getSampleTime(&timeUs); in decode() 193 extractor->advance(); in decode()
|
D | record.cpp | 120 sp<MediaExtractor> extractor = 122 if (extractor == NULL) { 126 size_t num_tracks = extractor->countTracks(); 130 meta = extractor->getTrackMetaData(i); 142 source = extractor->getTrack(i);
|
D | stream.cpp | 168 sp<MediaExtractor> 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 | stagefright.cpp | 1001 sp<MediaExtractor> extractor = MediaExtractor::Create(dataSource); in main() local 1003 if (extractor == NULL) { in main() 1008 sp<MetaData> meta = extractor->getMetaData(); in main() 1019 size_t numTracks = extractor->countTracks(); in main() 1025 sp<MediaSource> source = extractor->getTrack(i); in main() 1052 meta = extractor->getTrackMetaData( in main() 1084 mediaSource = extractor->getTrack(i); in main()
|
D | sf2.cpp | 121 sp<MediaExtractor> 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/base/services/core/java/com/android/server/notification/ |
D | RankingHelper.java | 79 NotificationSignalExtractor extractor = in RankingHelper() local 81 extractor.initialize(mContext); in RankingHelper() 82 extractor.setConfig(this); in RankingHelper() 83 mSignalExtractors[i] = extractor; in RankingHelper() 98 final NotificationSignalExtractor extractor = mSignalExtractors[i]; in findExtractor() local 99 if (extractorClass.equals(extractor.getClass())) { in findExtractor() 100 return (T) extractor; in findExtractor() 109 NotificationSignalExtractor extractor = mSignalExtractors[i]; in extractSignals() local 111 RankingReconsideration recon = extractor.process(r); in extractSignals()
|
/frameworks/wilhelm/src/android/ |
D | AacBqToPcmCbRenderer.cpp | 146 sp<MediaExtractor> extractor = new AacAdtsExtractor(mBqSource); in onPrepare() local 151 sp<MediaSource> source = extractor->getTrack(kTrackToDecode); in onPrepare() 157 sp<MetaData> meta = extractor->getTrackMetaData(kTrackToDecode); in onPrepare()
|
D | android_AudioSfDecoder.cpp | 229 sp<MediaExtractor> extractor = MediaExtractor::Create(dataSource); in onPrepare() local 230 if (extractor == NULL) { in onPrepare() 238 for (size_t i = 0; i < extractor->countTracks(); ++i) { in onPrepare() 239 sp<MetaData> meta = extractor->getTrackMetaData(i); in onPrepare() 262 sp<MediaSource> source = extractor->getTrack(audioTrackIndex); in onPrepare()
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.cpp | 259 sp<MediaExtractor> extractor = CreateExtractorFromURI(uri); in MakeSource() local 261 if (extractor == NULL) { in MakeSource() 265 for (size_t i = 0; i < extractor->countTracks(); ++i) { in MakeSource() 266 sp<MetaData> meta = extractor->getTrackMetaData(i); in MakeSource() 272 return extractor->getTrack(i); in MakeSource() 523 sp<MediaExtractor> extractor = CreateExtractorFromURI(url); in CreateSourceForMime() local 525 if (extractor == NULL) { in CreateSourceForMime() 529 for (size_t i = 0; i < extractor->countTracks(); ++i) { in CreateSourceForMime() 530 sp<MetaData> meta = extractor->getTrackMetaData(i); in CreateSourceForMime() 537 return extractor->getTrack(i); in CreateSourceForMime()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | MPEG2TSExtractor.cpp | 41 const sp<MPEG2TSExtractor> &extractor, 64 const sp<MPEG2TSExtractor> &extractor, in MPEG2TSSource() argument 67 : mExtractor(extractor), in MPEG2TSSource()
|
D | MPEG2PSExtractor.cpp | 44 Track(MPEG2PSExtractor *extractor, 76 WrappedTrack(const sp<MPEG2PSExtractor> &extractor, const sp<Track> &track); 537 MPEG2PSExtractor *extractor, unsigned stream_id, unsigned stream_type) in Track() argument 538 : mExtractor(extractor), in Track() 672 const sp<MPEG2PSExtractor> &extractor, const sp<Track> &track) in WrappedTrack() argument 673 : mExtractor(extractor), in WrappedTrack()
|
/frameworks/av/media/libstagefright/ |
D | AwesomePlayer.cpp | 369 sp<MediaExtractor> extractor = MediaExtractor::Create(dataSource); in setDataSource_l() local 371 if (extractor == NULL) { in setDataSource_l() 375 if (extractor->getDrmFlag()) { in setDataSource_l() 379 return setDataSource_l(extractor); in setDataSource_l() 392 status_t AwesomePlayer::setDataSource_l(const sp<MediaExtractor> &extractor) { in setDataSource_l() argument 399 mExtractor = extractor; in setDataSource_l() 400 for (size_t i = 0; i < extractor->countTracks(); ++i) { in setDataSource_l() 401 sp<MetaData> meta = extractor->getTrackMetaData(i); in setDataSource_l() 437 for (size_t i = 0; i < extractor->countTracks(); ++i) { in setDataSource_l() 438 sp<MetaData> meta = extractor->getTrackMetaData(i); in setDataSource_l() [all …]
|
D | NuMediaExtractor.cpp | 90 sp<WVMExtractor> extractor = new WVMExtractor(dataSource); in setDataSource() local 91 extractor->setAdaptiveStreamingMode(true); in setDataSource() 93 mImpl = extractor; in setDataSource()
|
D | WAVExtractor.cpp | 545 sp<MediaExtractor> extractor = new WAVExtractor(source); in SniffWAV() local 546 if (extractor->countTracks() == 0) { in SniffWAV()
|
D | OggExtractor.cpp | 47 OggSource(const sp<OggExtractor> &extractor); 144 OggSource::OggSource(const sp<OggExtractor> &extractor) in OggSource() argument 145 : mExtractor(extractor), in OggSource()
|
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()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | GenericSource.cpp | 132 sp<MediaExtractor> extractor; in initFromDataSource() local 155 extractor = mWVMExtractor; in initFromDataSource() 157 extractor = MediaExtractor::Create(mDataSource, in initFromDataSource() 161 if (extractor == NULL) { in initFromDataSource() 165 if (extractor->getDrmFlag()) { in initFromDataSource() 169 mFileMeta = extractor->getMetaData(); in initFromDataSource() 186 mWVMExtractor = static_cast<WVMExtractor *>(extractor.get()); in initFromDataSource() 198 size_t numtracks = extractor->countTracks(); in initFromDataSource() 204 sp<MediaSource> track = extractor->getTrack(i); in initFromDataSource() 206 sp<MetaData> meta = extractor->getTrackMetaData(i); in initFromDataSource() [all …]
|
/frameworks/av/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 90 BlockIterator(MatroskaExtractor *extractor, unsigned long trackNum, unsigned long index); 121 const sp<MatroskaExtractor> &extractor, size_t index); 207 const sp<MatroskaExtractor> &extractor, size_t index) in MatroskaSource() argument 208 : mExtractor(extractor), in MatroskaSource() 264 MatroskaExtractor *extractor, unsigned long trackNum, unsigned long index) in BlockIterator() argument 265 : mExtractor(extractor), in BlockIterator()
|
/frameworks/av/media/libstagefright/include/ |
D | AwesomePlayer.h | 259 status_t setDataSource_l(const sp<MediaExtractor> &extractor);
|