/frameworks/av/media/libmediaplayerservice/ |
D | MediaRecorderClient.cpp | 62 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 …]
|
D | MediaRecorderClient.h | 105 MediaRecorderBase *mRecorder; variable
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaRecorderStressTest.java | 50 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/ |
D | Picture.cpp | 31 } 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()
|
D | Picture.h | 61 std::unique_ptr<SkPictureRecorder> mRecorder; variable
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
D | MediaPlayerPerformance.java | 224 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/ |
D | MediaRecorderTest.java | 55 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/ |
D | SkiaRecordingCanvas.cpp | 69 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 …]
|
D | SkiaPipeline.cpp | 265 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()
|
D | SkiaPipeline.h | 146 std::unique_ptr<SkPictureRecorder> mRecorder; variable
|
D | SkiaRecordingCanvas.h | 91 RecordingCanvas mRecorder;
|
/frameworks/native/libs/renderengine/skia/compat/ |
D | GraphiteGpuContext.cpp | 61 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()
|
D | GraphiteBackendTexture.cpp | 39 : 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()
|
D | GraphiteBackendTexture.h | 55 const std::shared_ptr<skgpu::graphite::Recorder> mRecorder; variable
|
D | GraphiteGpuContext.h | 61 std::shared_ptr<skgpu::graphite::Recorder> mRecorder; variable
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CameraStreamer.java | 816 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/ |
D | CodecTest.java | 488 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/ |
D | RecordingService.java | 88 private ScreenMediaRecorder mRecorder; field in RecordingService 169 mRecorder = new ScreenMediaRecorder( in onStartCommand() 243 return mRecorder; in getRecorder()
|