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
This commit is contained in:
Emilian Peev
2018-05-03 13:25:51 +01:00
parent 14bdba8865
commit 59dd3df9eb

View File

@@ -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;