Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraConstrainedHighSpeedCaptureSessionImpl.java78 Collection<Surface> outputSurfaces = request.getTargets(); in createHighSpeedRequestList() local
83 SurfaceUtils.checkConstrainedHighSpeedSurfaces(outputSurfaces, fpsRange, config); in createHighSpeedRequestList()
100 Iterator<Surface> iterator = outputSurfaces.iterator(); in createHighSpeedRequestList()
103 if (outputSurfaces.size() == 1 && SurfaceUtils.isSurfaceForHwVideoEncoder(firstSurface)) { in createHighSpeedRequestList()
115 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()
861 List<Surface> outputSurfaces = new ArrayList<Surface>(2); in startRecording() local
864 outputSurfaces.add(mPreviewSurface); in startRecording()
865 outputSurfaces.add(mRecordingSurface); in startRecording()
868 outputSurfaces.add(mReaderSurface); in startRecording()
871 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/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()