Searched refs:mediaSource (Results 1 – 5 of 5) sorted by relevance
1103 sp<MediaSource> mediaSource; in main() local1106 mediaSource = new JPEGSource(dataSource); in main()1108 mediaSources.push(mediaSource); in main()1117 mediaSource = new SineSource(sampleRate, 1); in main()1119 mediaSources.push(mediaSource); in main()1216 mediaSource = CreateMediaSourceFromIMediaSource(extractor->getTrack(i)); in main()1217 if (mediaSource == nullptr) { in main()1227 dumpSource(mediaSource, dumpStreamFilename); in main()1229 sp<MediaSource> decSource = SimpleDecodingSource::Create(mediaSource); in main()1232 performSeekTest(mediaSource); in main()[all …]
429 sp<IMediaSource> mediaSource; in main() local473 mediaSource = extractor->getTrack(i); in main()474 if (mediaSource == nullptr) { in main()479 player.play(mediaSource); in main()
1274 sp<MediaSource> mediaSource; in setupRTPRecording() local1275 status_t err = setupMediaSource(&mediaSource); in setupRTPRecording()1280 err = setupVideoEncoder(mediaSource, &source); in setupRTPRecording()1319 sp<MediaSource> mediaSource; in setupMPEG2TSRecording() local1320 status_t err = setupMediaSource(&mediaSource); in setupMPEG2TSRecording()1326 err = setupVideoEncoder(mediaSource, &encoder); in setupMPEG2TSRecording()1594 sp<MediaSource> *mediaSource) { in setupMediaSource() argument1602 *mediaSource = cameraSource; in setupMediaSource()1604 *mediaSource = NULL; in setupMediaSource()1888 sp<MediaSource> mediaSource; in setupMPEG4orWEBMRecording() local[all …]
184 status_t setupMediaSource(sp<MediaSource> *mediaSource);
355 sp<MediaCodecSource> mediaSource = new MediaCodecSource( in Create() local358 if (mediaSource->init() == OK) { in Create()359 return mediaSource; in Create()