summaryrefslogtreecommitdiffstats
path: root/camera/device
diff options
context:
space:
mode:
authorEmilian Peev <epeev@google.com>2018-05-03 13:25:51 +0100
committerEmilian Peev <epeev@google.com>2018-05-03 13:36:49 +0100
commit59dd3df9eb82ee42661172870cbf0e2dd62cf9b5 (patch)
treefabc374d3c49fbc8d6126188e9c0cff14a38382e /camera/device
parent14bdba8865098afc35515ef73c5f8fa3f9c860ec (diff)
downloadandroid_hardware_interfaces-59dd3df9eb82ee42661172870cbf0e2dd62cf9b5.tar.gz
android_hardware_interfaces-59dd3df9eb82ee42661172870cbf0e2dd62cf9b5.tar.bz2
android_hardware_interfaces-59dd3df9eb82ee42661172870cbf0e2dd62cf9b5.zip
Camera: Set partial results in result batcher
Camera device session 3.4 has a separate result batcher instance. The partial result count needs to get initialized in the same way as ver. 3.2 otherwise the frame batches can get retired prematurely. Bug: 79106874 Test: Camera CTS, run vts --skip-all-system-status-check --skip-preconditions --primary-abi-only --module VtsHalCameraProviderV2_4Target -l INFO Change-Id: I36bfb5bc448154f80f4cb94edcfd119048361099
Diffstat (limited to 'camera/device')
-rw-r--r--camera/device/3.4/default/CameraDeviceSession.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/camera/device/3.4/default/CameraDeviceSession.cpp b/camera/device/3.4/default/CameraDeviceSession.cpp
index 550d65a88..9722c75db 100644
--- a/camera/device/3.4/default/CameraDeviceSession.cpp
+++ b/camera/device/3.4/default/CameraDeviceSession.cpp
@@ -52,6 +52,8 @@ CameraDeviceSession::CameraDeviceSession(
}
}
+ mResultBatcher_3_4.setNumPartialResults(mNumPartialResults);
+
camera_metadata_entry_t capabilities =
mDeviceInfo.find(ANDROID_REQUEST_AVAILABLE_CAPABILITIES);
bool isLogicalMultiCamera = false;