diff options
| author | 2021-08-13 17:31:55 +0000 | |
|---|---|---|
| committer | 2021-08-13 17:31:55 +0000 | |
| commit | bff3df9ae8f8af24e0b981d240f264fee0168e2c (patch) | |
| tree | e82a8db785934634db183b4ba0afbe207fd57650 | |
| parent | f2381fea395e22ae1a849b77e70d3fe0276dbb04 (diff) | |
| parent | 7949cf90ace42c1582ef8fdb93fd85d5ed4b7372 (diff) | |
Merge "Camera: Initialize the forward processor along with the repeating pipeline" into sc-dev am: 7949cf90ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15523913
Change-Id: I48447105eda4efc2926e5991a4b42d4fd5c3af2f
| -rw-r--r-- | core/java/android/hardware/camera2/impl/CameraExtensionSessionImpl.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/hardware/camera2/impl/CameraExtensionSessionImpl.java b/core/java/android/hardware/camera2/impl/CameraExtensionSessionImpl.java index ecd24914c566..71047af69b87 100644 --- a/core/java/android/hardware/camera2/impl/CameraExtensionSessionImpl.java +++ b/core/java/android/hardware/camera2/impl/CameraExtensionSessionImpl.java @@ -251,6 +251,7 @@ public final class CameraExtensionSessionImpl extends CameraExtensionSession { CameraExtensionCharacteristics.PROCESSING_INPUT_FORMAT); mPreviewImageProcessor.onResolutionUpdate(new Size(repeatingSurfaceInfo.mWidth, repeatingSurfaceInfo.mHeight)); + mPreviewImageProcessor.onOutputSurface(null, -1); mRepeatingRequestImageReader = ImageReader.newInstance(repeatingSurfaceInfo.mWidth, repeatingSurfaceInfo.mHeight, CameraExtensionCharacteristics.PROCESSING_INPUT_FORMAT, PREVIEW_QUEUE_SIZE, |