Home
last modified time | relevance | path

Searched refs:mRecorder (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp62 if (mRecorder == NULL) { in setInputSurface()
66 return mRecorder->setInputSurface(surface); in setInputSurface()
73 if (mRecorder == NULL) { in querySurfaceMediaSource()
77 return mRecorder->querySurfaceMediaSource(); in querySurfaceMediaSource()
87 if (mRecorder == NULL) { in setCamera()
91 return mRecorder->setCamera(camera, proxy); in setCamera()
98 if (mRecorder == NULL) { in setPreviewSurface()
102 return mRecorder->setPreviewSurface(surface); in setPreviewSurface()
113 if (mRecorder == NULL) { in setVideoSource()
117 return mRecorder->setVideoSource((video_source)vs); in setVideoSource()
[all …]
DMediaRecorderClient.h105 MediaRecorderBase *mRecorder; variable
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DMediaRecorderStressTest.java50 private MediaRecorder mRecorder; field in MediaRecorderStressTest
217 mRecorder = new MediaRecorder(); in recordVideoAndPlayback()
230 mRecorder.setOnErrorListener(mRecorderErrorCallback); in recordVideoAndPlayback()
231 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in recordVideoAndPlayback()
232 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideoAndPlayback()
233 mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); in recordVideoAndPlayback()
234 mRecorder.setOutputFile(fileName); in recordVideoAndPlayback()
235 mRecorder.setVideoFrameRate(frameRate); in recordVideoAndPlayback()
236 mRecorder.setVideoSize(videoWidth, videoHeight); in recordVideoAndPlayback()
237 mRecorder.setVideoEncoder(videoEncoder); in recordVideoAndPlayback()
[all …]
/frameworks/base/libs/hwui/jni/
DPicture.cpp31 } else if (NULL != src->mRecorder.get()) { in Picture()
48 mRecorder.reset(new SkPictureRecorder); in beginRecording()
51 SkCanvas* canvas = mRecorder->beginRecording(SkIntToScalar(width), SkIntToScalar(height)); in beginRecording()
56 if (NULL != mRecorder.get()) { in endRecording()
57 mPicture = mRecorder->finishRecordingAsPicture(); in endRecording()
58 mRecorder.reset(NULL); in endRecording()
86 if (NULL != mRecorder.get()) { in serialize()
99 if (NULL != mRecorder.get()) { in draw()
110 SkASSERT(NULL != mRecorder.get()); in makePartialCopy()
115 mRecorder->partialReplay(canvas); in makePartialCopy()
DPicture.h61 std::unique_ptr<SkPictureRecorder> mRecorder; variable
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java224 MediaRecorder mRecorder = new MediaRecorder(); in stressVideoRecord() local
228 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in stressVideoRecord()
230 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in stressVideoRecord()
231 mRecorder.setOutputFormat(outFormat); in stressVideoRecord()
233 mRecorder.setOutputFile(outFile); in stressVideoRecord()
234 mRecorder.setVideoFrameRate(frameRate); in stressVideoRecord()
235 mRecorder.setVideoSize(width, height); in stressVideoRecord()
237 mRecorder.setVideoEncoder(videoFormat); in stressVideoRecord()
239 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); in stressVideoRecord()
242 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in stressVideoRecord()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
DMediaRecorderTest.java55 private MediaRecorder mRecorder; field in MediaRecorderTest
72 mRecorder = new MediaRecorder(); in setUp()
82 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in recordVideo()
84 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in recordVideo()
85 mRecorder.setOutputFormat(outFormat); in recordVideo()
87 mRecorder.setOutputFile(outFile); in recordVideo()
88 mRecorder.setVideoFrameRate(frameRate); in recordVideo()
89 mRecorder.setVideoSize(width, height); in recordVideo()
91 mRecorder.setVideoEncoder(videoFormat); in recordVideo()
93 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); in recordVideo()
[all …]
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaRecordingCanvas.cpp69 mDisplayList->attachRecorder(&mRecorder, SkIRect::MakeWH(width, height)); in initDisplayList()
70 SkiaCanvas::reset(&mRecorder); in initDisplayList()
82 mRecorder.drawAnnotation(rect.rect(), HOLE_PUNCH_ANNOTATION.c_str(), in punchHole()
90 mRecorder.drawRRect(rect, paint); in punchHole()
98 mRecorder.restoreToCount(1); in finishRecording()
130 mRecorder.drawRippleDrawable(params); in drawRipple()
170 renderNode->mutateStagingProperties().setClipMayBeComplex(mRecorder.isClipMayBeComplex()); in drawRenderNode()
197 mRecorder.drawWebView(functorDrawable); in drawWebViewFunctor()
202 mRecorder.drawVectorDrawable(tree); in drawVectorDrawable()
256 mRecorder.drawImage(DrawImagePayload(payload), left, top, p.sampling(), &p); in drawBitmap()
[all …]
DSkiaPipeline.cpp265 mRecorder.reset(new SkPictureRecorder()); in tryCapture()
266 pictureCanvas = mRecorder->beginRecording(surface->width(), surface->height()); in tryCapture()
322 sk_sp<SkPicture> picture = mRecorder->finishRecordingAsPicture(); in endCapture()
345 mRecorder.reset(); in endCapture()
DSkiaPipeline.h146 std::unique_ptr<SkPictureRecorder> mRecorder; variable
DSkiaRecordingCanvas.h91 RecordingCanvas mRecorder;
/frameworks/native/libs/renderengine/skia/compat/
DGraphiteGpuContext.cpp61 this->mRecorder = mContext->makeRecorder(recorderOptions); in GraphiteGpuContext()
62 LOG_ALWAYS_FATAL_IF(mRecorder.get() == nullptr, "graphite::Recorder creation failed"); in GraphiteGpuContext()
73 LOG_ALWAYS_FATAL_IF(mRecorder.use_count() > 1, in ~GraphiteGpuContext()
86 return mRecorder; in graphiteRecorder()
96 return SkSurfaces::RenderTarget(mRecorder.get(), imageInfo, skgpu::Mipmapped::kNo, kProps); in createRenderTarget()
DGraphiteBackendTexture.cpp39 : SkiaBackendTexture(buffer, isOutputBuffer), mRecorder(std::move(recorder)) { in GraphiteBackendTexture()
54 mBackendTexture = mRecorder->createBackendTexture(buffer, isOutputBuffer, createProtectedImage, in GraphiteBackendTexture()
66 mRecorder->deleteBackendTexture(mBackendTexture); in ~GraphiteBackendTexture()
76 SkImages::WrapTexture(mRecorder.get(), mBackendTexture, colorType, alphaType, in makeImage()
90 SkSurfaces::WrapBackendTexture(mRecorder.get(), mBackendTexture, colorType, in makeSurface()
DGraphiteBackendTexture.h55 const std::shared_ptr<skgpu::graphite::Recorder> mRecorder; variable
DGraphiteGpuContext.h61 std::shared_ptr<skgpu::graphite::Recorder> mRecorder; variable
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java816 private MediaRecorder mRecorder = null; field in CameraStreamer.CameraRunnable
1451 if (mRecorder != null) { in createRecorder()
1452 mRecorder.release(); in createRecorder()
1454 mRecorder = new MediaRecorder(); in createRecorder()
1455 mRecorder.setCamera(mCamera); in createRecorder()
1456 mRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in createRecorder()
1457 mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in createRecorder()
1458 mRecorder.setProfile(profile); in createRecorder()
1459 mRecorder.setOutputFile(outputPath); in createRecorder()
1461 mRecorder.prepare(); in createRecorder()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java488 MediaRecorder mRecorder = new MediaRecorder(); in mediaRecorderRecord() local
489 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in mediaRecorderRecord()
490 mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); in mediaRecorderRecord()
491 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); in mediaRecorderRecord()
492 mRecorder.setOutputFile(filePath); in mediaRecorderRecord()
493 mRecorder.prepare(); in mediaRecorderRecord()
494 mRecorder.start(); in mediaRecorderRecord()
496 mRecorder.stop(); in mediaRecorderRecord()
498 mRecorder.release(); in mediaRecorderRecord()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java88 private ScreenMediaRecorder mRecorder; field in RecordingService
169 mRecorder = new ScreenMediaRecorder( in onStartCommand()
243 return mRecorder; in getRecorder()