/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraConstrainedHighSpeedCaptureSessionImpl.java | 82 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/ |
D | Camera2SwitchPreviewTest.java | 529 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()
|
D | Camera2RecordingTest.java | 312 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()
|
D | Camera2StillCaptureTest.java | 409 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()
|
D | Camera2ReprocessCaptureTest.java | 982 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/ |
D | Camera2SurfaceViewTestCase.java | 234 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/ |
D | Camera3SharedOutputStream.cpp | 369 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()
|
D | Camera3OutputStreamInterface.h | 84 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
|
D | Camera3DummyStream.h | 96 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
|
D | Camera3SharedOutputStream.h | 63 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
|
D | Camera3Device.h | 1057 SurfaceMap outputSurfaces; member 1092 outputSurfaces(outSurfaces) { 1110 const SurfaceMap& outputSurfaces); 1226 const SurfaceMap& outputSurfaces = SurfaceMap{},
|
D | Camera3OutputStream.h | 199 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
|
D | Camera3Device.cpp | 3117 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/ |
D | CameraTestUtils.java | 711 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()
|