Searched refs:mediaSource (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/ |
D | MediaSampleWriterTests.cpp | 296 const TestMediaSource& mediaSource = getMediaSource(); in TEST_F() local 299 EXPECT_EQ(writer->addTrack(mediaSource.mTrackFormats[0]), nullptr); in TEST_F() 328 const TestMediaSource& mediaSource = getMediaSource(); in TEST_F() local 329 EXPECT_NE(writer->addTrack(mediaSource.mTrackFormats[0]), nullptr); in TEST_F() 330 EXPECT_EQ(mTestMuxer->popEvent(), TestMuxer::AddTrack(mediaSource.mTrackFormats[0].get())); in TEST_F() 345 const TestMediaSource& mediaSource = getMediaSource(); in TEST_F() local 346 EXPECT_NE(writer->addTrack(mediaSource.mTrackFormats[0]), nullptr); in TEST_F() 347 EXPECT_EQ(mTestMuxer->popEvent(), TestMuxer::AddTrack(mediaSource.mTrackFormats[0].get())); in TEST_F() 362 const TestMediaSource& mediaSource = getMediaSource(); in TEST_F() local 363 EXPECT_EQ(writer->addTrack(mediaSource.mTrackFormats[0]), nullptr); in TEST_F() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | stagefright.cpp | 1170 sp<MediaSource> mediaSource; in main() local 1173 mediaSource = new JPEGSource(dataSource); in main() 1175 mediaSources.push(mediaSource); in main() 1184 mediaSource = new SineSource(sampleRate, 1); in main() 1186 mediaSources.push(mediaSource); in main() 1283 mediaSource = CreateMediaSourceFromIMediaSource(extractor->getTrack(i)); in main() 1284 if (mediaSource == nullptr) { in main() 1294 dumpSource(mediaSource, dumpStreamFilename); in main() 1296 sp<MediaSource> decSource = SimpleDecodingSource::Create(mediaSource); in main() 1299 performSeekTest(mediaSource); in main() [all …]
|
/frameworks/av/media/codec2/components/cmds/ |
D | codec2.cpp | 429 sp<IMediaSource> mediaSource; in main() local 473 mediaSource = extractor->getTrack(i); in main() 474 if (mediaSource == nullptr) { in main() 479 player.play(mediaSource); in main()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 1574 sp<MediaSource> mediaSource; in setupRTPRecording() local 1575 status_t err = setupMediaSource(&mediaSource); in setupRTPRecording() 1580 err = setupVideoEncoder(mediaSource, &source); in setupRTPRecording() 1622 sp<MediaSource> mediaSource; in setupMPEG2TSRecording() local 1623 status_t err = setupMediaSource(&mediaSource); in setupMPEG2TSRecording() 1629 err = setupVideoEncoder(mediaSource, &encoder); in setupMPEG2TSRecording() 1897 sp<MediaSource> *mediaSource) { in setupMediaSource() argument 1906 *mediaSource = cameraSource; in setupMediaSource() 1908 *mediaSource = NULL; in setupMediaSource() 2217 sp<MediaSource> mediaSource; in setupMPEG4orWEBMRecording() local [all …]
|
D | StagefrightRecorder.h | 212 status_t setupMediaSource(sp<MediaSource> *mediaSource);
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecSource.cpp | 347 sp<MediaCodecSource> mediaSource = new MediaCodecSource( in Create() local 350 if (mediaSource->init() == OK) { in Create() 351 return mediaSource; in Create()
|