/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraConstrainedHighSpeedCaptureSessionImpl.java | 79 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/ |
D | Camera2SwitchPreviewTest.java | 528 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()
|
D | Camera2RecordingTest.java | 308 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()
|
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 | 301 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()
|
D | Camera3OutputStreamInterface.h | 72 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
|
D | Camera3SharedOutputStream.h | 52 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
|
D | Camera3DummyStream.h | 93 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
|
D | Camera3OutputStream.h | 196 virtual status_t updateStream(const std::vector<sp<Surface>> &outputSurfaces,
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 704 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()
|