Home
last modified time | relevance | path

Searched refs:outputSurfaces (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraConstrainedHighSpeedCaptureSessionImpl.java79 Collection<Surface> outputSurfaces = request.getTargets(); in createHighSpeedRequestList() local
84 SurfaceUtils.checkConstrainedHighSpeedSurfaces(outputSurfaces, fpsRange, config); in createHighSpeedRequestList()
104 Iterator<Surface> iterator = outputSurfaces.iterator(); in createHighSpeedRequestList()
107 if (outputSurfaces.size() == 1 && SurfaceUtils.isSurfaceForHwVideoEncoder(firstSurface)) { in createHighSpeedRequestList()
119 if (outputSurfaces.size() == 2) { in createHighSpeedRequestList()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2SwitchPreviewTest.java528 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareVideoPreview() local
529 outputSurfaces.add(mPreviewSurface); in prepareVideoPreview()
530 outputSurfaces.add(mRecordingSurface); in prepareVideoPreview()
533 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in prepareVideoPreview()
563 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareCapturePreview() local
564 outputSurfaces.add(mPreviewSurface); in prepareCapturePreview()
565 outputSurfaces.add(mReaderSurface); in prepareCapturePreview()
567 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in prepareCapturePreview()
DCamera2RecordingTest.java308 List<Surface> outputSurfaces = new ArrayList<Surface>(2); in startSlowMotionRecording() local
311 outputSurfaces.add(mPreviewSurface); in startSlowMotionRecording()
312 outputSurfaces.add(mRecordingSurface); in startSlowMotionRecording()
315 outputSurfaces.add(mReaderSurface); in startSlowMotionRecording()
318 mSession = configureCameraSession(mCamera, outputSurfaces, useHighSpeedSession, in startSlowMotionRecording()
865 List<Surface> outputSurfaces = new ArrayList<Surface>(2); in startRecording() local
868 outputSurfaces.add(mPreviewSurface); in startRecording()
869 outputSurfaces.add(mRecordingSurface); in startRecording()
872 outputSurfaces.add(mReaderSurface); in startRecording()
875 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in startRecording()
DCamera2StillCaptureTest.java409 List<Surface> outputSurfaces = new ArrayList<Surface>(); in fullRawCaptureTestByCamera() local
410 outputSurfaces.add(rawReader.getSurface()); in fullRawCaptureTestByCamera()
411 outputSurfaces.add(jpegReader.getSurface()); in fullRawCaptureTestByCamera()
412 outputSurfaces.add(mPreviewSurface); in fullRawCaptureTestByCamera()
414 mSession = configureCameraSession(mCamera, outputSurfaces, in fullRawCaptureTestByCamera()
DCamera2ReprocessCaptureTest.java982 Surface[] outputSurfaces = new Surface[isReprocessCaptures.length]; in doMixedReprocessBurstCapture() local
984 outputSurfaces[i] = getReprocessOutputImageReader().getSurface(); in doMixedReprocessBurstCapture()
987 TotalCaptureResult[] finalResults = submitMixedCaptureBurstRequest(outputSurfaces, results); in doMixedReprocessBurstCapture()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java234 List<Surface> outputSurfaces = new ArrayList<Surface>(/*capacity*/1); in configurePreviewOutput() local
235 outputSurfaces.add(mPreviewSurface); in configurePreviewOutput()
237 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in configurePreviewOutput()
709 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareCaptureAndStartPreview() local
710 outputSurfaces.add(mPreviewSurface); in prepareCaptureAndStartPreview()
711 outputSurfaces.add(mReaderSurface); in prepareCaptureAndStartPreview()
713 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in prepareCaptureAndStartPreview()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3SharedOutputStream.cpp301 status_t Camera3SharedOutputStream::updateStream(const std::vector<sp<Surface>> &outputSurfaces, in updateStream() argument
308 if ((outputMap == nullptr) || (outputInfo.size() != outputSurfaces.size()) || in updateStream()
309 (outputSurfaces.size() > kMaxOutputs)) { in updateStream()
352 for (const auto &it : outputSurfaces) { in updateStream()
DCamera3OutputStreamInterface.h72 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
DCamera3SharedOutputStream.h52 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
DCamera3DummyStream.h93 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
DCamera3OutputStream.h196 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java704 List<Surface> outputSurfaces, boolean isHighSpeed, in configureCameraSession() argument
709 camera.createConstrainedHighSpeedCaptureSession(outputSurfaces, in configureCameraSession()
712 camera.createCaptureSession(outputSurfaces, sessionListener, handler); in configureCameraSession()
734 List<Surface> outputSurfaces, in configureCameraSession() argument
738 return configureCameraSession(camera, outputSurfaces, /*isHighSpeed*/false, in configureCameraSession()
743 InputConfiguration inputConfiguration, List<Surface> outputSurfaces, in configureReprocessableCameraSession() argument
747 camera.createReprocessableCaptureSession(inputConfiguration, outputSurfaces, in configureReprocessableCameraSession()