/frameworks/base/media/jni/ |
D | android_media_MediaExtractor.cpp | 287 JNIEnv *env, jobject thiz, const sp<JMediaExtractor> &extractor) { in setMediaExtractor() argument 291 if (extractor != NULL) { in setMediaExtractor() 292 extractor->incStrong(thiz); in setMediaExtractor() 297 env->SetIntField(thiz, gFields.context, (int)extractor.get()); in setMediaExtractor() 312 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); in android_media_MediaExtractor_getTrackCount() local 314 if (extractor == NULL) { in android_media_MediaExtractor_getTrackCount() 319 return extractor->countTracks(); in android_media_MediaExtractor_getTrackCount() 324 sp<JMediaExtractor> extractor = getMediaExtractor(env, thiz); in android_media_MediaExtractor_getTrackFormatNative() local 326 if (extractor == NULL) { in android_media_MediaExtractor_getTrackFormatNative() 332 status_t err = extractor->getTrackFormat(index, &format); in android_media_MediaExtractor_getTrackFormatNative() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | codec.cpp | 76 sp<NuMediaExtractor> extractor = new NuMediaExtractor; in decode() local 77 if (extractor->setDataSource(path) != OK) { in decode() 86 for (size_t i = 0; i < extractor->countTracks(); ++i) { in decode() 88 status_t err = extractor->getTrackFormat(i, &format); in decode() 107 err = extractor->selectTrack(i); in decode() 156 status_t err = extractor->getSampleTrackIndex(&trackIndex); in decode() 172 err = extractor->readSampleData(buffer); in decode() 176 err = extractor->getSampleTime(&timeUs); in decode() 190 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 | 164 sp<MediaExtractor> extractor = MediaExtractor::Create(dataSource); in MyConvertingStreamSource() local 165 CHECK(extractor != NULL); in MyConvertingStreamSource() 170 for (size_t i = 0; i < extractor->countTracks(); ++i) { in MyConvertingStreamSource() 171 const sp<MetaData> &meta = extractor->getTrackMetaData(i); in MyConvertingStreamSource() 180 CHECK_EQ(mWriter->addSource(extractor->getTrack(i)), (status_t)OK); in MyConvertingStreamSource()
|
D | stagefright.cpp | 998 sp<MediaExtractor> extractor; in main() local 1014 extractor = in main() 1020 extractor = MediaExtractor::Create(dataSource); in main() 1022 if (extractor == NULL) { in main() 1027 sp<MetaData> meta = extractor->getMetaData(); in main() 1039 size_t numTracks = extractor->countTracks(); in main() 1045 sp<MediaSource> source = extractor->getTrack(i); in main() 1072 meta = extractor->getTrackMetaData( in main() 1104 mediaSource = extractor->getTrack(i); in main()
|
D | sf2.cpp | 80 sp<MediaExtractor> extractor = in onMessageReceived() local 83 for (size_t i = 0; i < extractor->countTracks(); ++i) { in onMessageReceived() 84 sp<MetaData> meta = extractor->getTrackMetaData(i); in onMessageReceived() 91 mSource = extractor->getTrack(i); in onMessageReceived()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | GenericSource.cpp | 63 sp<MediaExtractor> extractor = MediaExtractor::Create(dataSource); in initFromDataSource() local 65 CHECK(extractor != NULL); in initFromDataSource() 67 for (size_t i = 0; i < extractor->countTracks(); ++i) { in initFromDataSource() 68 sp<MetaData> meta = extractor->getTrackMetaData(i); in initFromDataSource() 77 mAudioTrack.mSource = track = extractor->getTrack(i); in initFromDataSource() 87 mVideoTrack.mSource = track = extractor->getTrack(i); in initFromDataSource()
|
/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 | 227 sp<MediaExtractor> extractor = MediaExtractor::Create(dataSource); in onPrepare() local 228 if (extractor == NULL) { in onPrepare() 236 for (size_t i = 0; i < extractor->countTracks(); ++i) { in onPrepare() 237 sp<MetaData> meta = extractor->getTrackMetaData(i); in onPrepare() 260 sp<MediaSource> source = extractor->getTrack(audioTrackIndex); in onPrepare()
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.cpp | 256 sp<MediaExtractor> extractor = CreateExtractorFromURI(uri); in MakeSource() local 258 if (extractor == NULL) { in MakeSource() 262 for (size_t i = 0; i < extractor->countTracks(); ++i) { in MakeSource() 263 sp<MetaData> meta = extractor->getTrackMetaData(i); in MakeSource() 269 return extractor->getTrack(i); in MakeSource() 517 sp<MediaExtractor> extractor = CreateExtractorFromURI(url); in CreateSourceForMime() local 519 if (extractor == NULL) { in CreateSourceForMime() 523 for (size_t i = 0; i < extractor->countTracks(); ++i) { in CreateSourceForMime() 524 sp<MetaData> meta = extractor->getTrackMetaData(i); in CreateSourceForMime() 531 return extractor->getTrack(i); in CreateSourceForMime()
|
/frameworks/av/media/libstagefright/ |
D | AwesomePlayer.cpp | 330 sp<MediaExtractor> extractor = MediaExtractor::Create(dataSource); in setDataSource_l() local 332 if (extractor == NULL) { in setDataSource_l() 336 if (extractor->getDrmFlag()) { in setDataSource_l() 340 return setDataSource_l(extractor); in setDataSource_l() 353 status_t AwesomePlayer::setDataSource_l(const sp<MediaExtractor> &extractor) { in setDataSource_l() argument 360 mExtractor = extractor; in setDataSource_l() 361 for (size_t i = 0; i < extractor->countTracks(); ++i) { in setDataSource_l() 362 sp<MetaData> meta = extractor->getTrackMetaData(i); in setDataSource_l() 391 for (size_t i = 0; i < extractor->countTracks(); ++i) { in setDataSource_l() 392 sp<MetaData> meta = extractor->getTrackMetaData(i); in setDataSource_l() [all …]
|
D | FragmentedMP4Extractor.cpp | 55 const sp<FragmentedMP4Extractor> &extractor); 192 const sp<FragmentedMP4Extractor> &extractor) in FragmentedMPEG4Source() argument 195 mExtractor(extractor), in FragmentedMPEG4Source()
|
D | NuMediaExtractor.cpp | 88 sp<WVMExtractor> extractor = new WVMExtractor(dataSource); in setDataSource() local 89 extractor->setAdaptiveStreamingMode(true); in setDataSource() 91 mImpl = extractor; in setDataSource()
|
D | WAVExtractor.cpp | 500 sp<MediaExtractor> extractor = new WAVExtractor(source); in SniffWAV() local 501 if (extractor->countTracks() == 0) { in SniffWAV()
|
D | OggExtractor.cpp | 46 OggSource(const sp<OggExtractor> &extractor); 139 OggSource::OggSource(const sp<OggExtractor> &extractor) in OggSource() argument 140 : 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/libstagefright/mpeg2ts/ |
D | MPEG2TSExtractor.cpp | 42 const sp<MPEG2TSExtractor> &extractor, 65 const sp<MPEG2TSExtractor> &extractor, in MPEG2TSSource() argument 68 : mExtractor(extractor), in MPEG2TSSource()
|
D | MPEG2PSExtractor.cpp | 42 Track(MPEG2PSExtractor *extractor, 74 WrappedTrack(const sp<MPEG2PSExtractor> &extractor, const sp<Track> &track); 534 MPEG2PSExtractor *extractor, unsigned stream_id, unsigned stream_type) in Track() argument 535 : mExtractor(extractor), in Track() 669 const sp<MPEG2PSExtractor> &extractor, const sp<Track> &track) in WrappedTrack() argument 670 : mExtractor(extractor), in WrappedTrack()
|
/frameworks/av/libvideoeditor/lvpp/ |
D | PreviewPlayer.cpp | 184 status_t PreviewPlayer::setDataSource_l(const sp<MediaExtractor> &extractor) { in setDataSource_l() argument 187 for (size_t i = 0; i < extractor->countTracks(); ++i) { in setDataSource_l() 188 sp<MetaData> meta = extractor->getTrackMetaData(i); in setDataSource_l() 194 setVideoSource(extractor->getTrack(i)); in setDataSource_l() 197 setAudioSource(extractor->getTrack(i)); in setDataSource_l() 205 sp<MetaData> fileMeta = extractor->getMetaData(); in setDataSource_l() 233 mExtractorFlags = extractor->flags(); in setDataSource_l() 1161 sp<MediaExtractor> extractor; in finishSetDataSource_l() local 1173 extractor = NULL; in finishSetDataSource_l() 1176 extractor = MediaExtractor::Create(dataSource, in finishSetDataSource_l() [all …]
|
D | PreviewPlayer.h | 239 status_t setDataSource_l(const sp<MediaExtractor> &extractor);
|
/frameworks/av/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 90 BlockIterator(MatroskaExtractor *extractor, unsigned long trackNum); 120 const sp<MatroskaExtractor> &extractor, size_t index); 159 const sp<MatroskaExtractor> &extractor, size_t index) in MatroskaSource() argument 160 : mExtractor(extractor), in MatroskaSource() 215 MatroskaExtractor *extractor, unsigned long trackNum) in BlockIterator() argument 216 : mExtractor(extractor), in BlockIterator()
|
/frameworks/av/media/libstagefright/include/ |
D | AwesomePlayer.h | 247 status_t setDataSource_l(const sp<MediaExtractor> &extractor);
|