Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraConstrainedHighSpeedCaptureSessionImpl.java82 Collection<Surface> outputSurfaces = request.getTargets(); in createHighSpeedRequestList() local
87 SurfaceUtils.checkConstrainedHighSpeedSurfaces(outputSurfaces, fpsRange, config); in createHighSpeedRequestList()
107 Iterator<Surface> iterator = outputSurfaces.iterator(); in createHighSpeedRequestList()
110 if (outputSurfaces.size() == 1 && SurfaceUtils.isSurfaceForHwVideoEncoder(firstSurface)) { in createHighSpeedRequestList()
122 if (outputSurfaces.size() == 2) { in createHighSpeedRequestList()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2SwitchPreviewTest.java529 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareVideoPreview() local
530 outputSurfaces.add(mPreviewSurface); in prepareVideoPreview()
531 outputSurfaces.add(mRecordingSurface); in prepareVideoPreview()
534 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in prepareVideoPreview()
564 List<Surface> outputSurfaces = new ArrayList<Surface>(); in prepareCapturePreview() local
565 outputSurfaces.add(mPreviewSurface); in prepareCapturePreview()
566 outputSurfaces.add(mReaderSurface); in prepareCapturePreview()
568 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in prepareCapturePreview()
DCamera2RecordingTest.java312 List<Surface> outputSurfaces = new ArrayList<Surface>(2); in startSlowMotionRecording() local
315 outputSurfaces.add(mPreviewSurface); in startSlowMotionRecording()
316 outputSurfaces.add(mRecordingSurface); in startSlowMotionRecording()
319 outputSurfaces.add(mReaderSurface); in startSlowMotionRecording()
322 mSession = configureCameraSession(mCamera, outputSurfaces, useHighSpeedSession, in startSlowMotionRecording()
869 List<Surface> outputSurfaces = new ArrayList<Surface>(2); in startRecording() local
872 outputSurfaces.add(mPreviewSurface); in startRecording()
873 outputSurfaces.add(mRecordingSurface); in startRecording()
876 outputSurfaces.add(mReaderSurface); in startRecording()
892 mSession = configureCameraSessionWithParameters(mCamera, outputSurfaces, mSessionListener, 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.cpp369 status_t Camera3SharedOutputStream::updateStream(const std::vector<sp<Surface>> &outputSurfaces, in updateStream() argument
376 if ((outputMap == nullptr) || (outputInfo.size() != outputSurfaces.size()) || in updateStream()
377 (outputSurfaces.size() > kMaxOutputs)) { in updateStream()
420 for (const auto &it : outputSurfaces) { in updateStream()
DCamera3OutputStreamInterface.h84 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
DCamera3DummyStream.h96 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
DCamera3SharedOutputStream.h63 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
DCamera3Device.h1057 SurfaceMap outputSurfaces; member
1092 outputSurfaces(outSurfaces) {
1110 const SurfaceMap& outputSurfaces);
1226 const SurfaceMap& outputSurfaces = SurfaceMap{},
DCamera3OutputStream.h199 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
DCamera3Device.cpp3117 bool isZslCapture, const SurfaceMap& outputSurfaces) { in registerInFlight() argument
3124 outputSurfaces)); in registerInFlight()
3143 const SurfaceMap& outputSurfaces, in returnOutputBuffers() argument
3160 const auto& it = outputSurfaces.find(streamId); in returnOutputBuffers()
3162 if (it != outputSurfaces.end()) { in returnOutputBuffers()
3182 if (it != outputSurfaces.end() && res == TIMED_OUT && in returnOutputBuffers()
3264 request.outputSurfaces, request.resultExtras); in removeInFlightRequestIfReadyLocked()
3289 /*timestampIncreasing*/true, request.outputSurfaces, in flushInflightRequests()
3739 request.outputSurfaces, request.resultExtras); in processCaptureResult()
3979 r.outputSurfaces, r.resultExtras); in notifyShutter()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java711 List<Surface> outputSurfaces, BlockingSessionCallback listener, in configureCameraSessionWithParameters() argument
713 List<OutputConfiguration> outConfigurations = new ArrayList<>(outputSurfaces.size()); in configureCameraSessionWithParameters()
714 for (Surface surface : outputSurfaces) { in configureCameraSessionWithParameters()
741 List<Surface> outputSurfaces, boolean isHighSpeed, in configureCameraSession() argument
746 camera.createConstrainedHighSpeedCaptureSession(outputSurfaces, in configureCameraSession()
749 camera.createCaptureSession(outputSurfaces, sessionListener, handler); in configureCameraSession()
771 List<Surface> outputSurfaces, in configureCameraSession() argument
775 return configureCameraSession(camera, outputSurfaces, /*isHighSpeed*/false, in configureCameraSession()
780 InputConfiguration inputConfiguration, List<Surface> outputSurfaces, in configureReprocessableCameraSession() argument
784 camera.createReprocessableCaptureSession(inputConfiguration, outputSurfaces, in configureReprocessableCameraSession()