Lines Matching refs:MediaRecorder
30 #include <media/mediarecorder.h>
391 static sp<MediaRecorder> setUpMediaRecorder(int fileDescriptor, int videoSource,
413 void setUpEGLSurfaceFromMediaRecorder(sp<MediaRecorder>& mr);
467 // Set up the MediaRecorder which runs in the same process as mediaserver
468 sp<MediaRecorder> SurfaceMediaSourceGLTest::setUpMediaRecorder(int fd, int videoSource,
470 sp<MediaRecorder> mr = new MediaRecorder(String16());
478 ALOGV("Starting MediaRecorder...");
483 // query the mediarecorder for a surfacemeidasource and create an egl surface with that
484 void SurfaceMediaSourceGLTest::setUpEGLSurfaceFromMediaRecorder(sp<MediaRecorder>& mr) {
729 // Test to examine actual encoding using mediarecorder
730 // We use the mediaserver to create a mediarecorder and send
737 ALOGV("************** Testing the whole pipeline with actual MediaRecorder ***********");
747 sp<MediaRecorder> mr = SurfaceMediaSourceGLTest::setUpMediaRecorder(fd,
767 ALOGV("Stopping MediaRecorder...");
881 sp<MediaRecorder> mr = setUpMediaRecorder(fd, VIDEO_SOURCE_SURFACE,
901 ALOGV("Stopping MediaRecorder...");
924 sp<MediaRecorder> mr = setUpMediaRecorder(fd, VIDEO_SOURCE_SURFACE,
944 ALOGV("Stopping MediaRecorder...");