Searched refs:mediaSource (Results 1 – 5 of 5) sorted by relevance
1104 sp<MediaSource> mediaSource; in main() local1107 mediaSource = new JPEGSource(dataSource); in main()1109 mediaSources.push(mediaSource); in main()1118 mediaSource = new SineSource(sampleRate, 1); in main()1120 mediaSources.push(mediaSource); in main()1217 mediaSource = CreateMediaSourceFromIMediaSource(extractor->getTrack(i)); in main()1218 if (mediaSource == nullptr) { in main()1228 dumpSource(mediaSource, dumpStreamFilename); in main()1230 sp<MediaSource> decSource = SimpleDecodingSource::Create(mediaSource); in main()1233 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()