summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilian Peev <epeev@google.com>2019-03-20 19:11:50 -0700
committerEmilian Peev <epeev@google.com>2019-03-21 13:59:59 -0700
commit654acbee66063ce8d6e2acf946b9012d64ea487c (patch)
tree1839cafb8e19b6086bd9d5f01d05f7aa012bef6a
parent10510ff31b0120e27710123c5a4d44a72fa15ed9 (diff)
downloadlibhardware-654acbee66063ce8d6e2acf946b9012d64ea487c.tar.gz
Camera: Update 'CAMERA3_MSG_ERROR_RESULT' comments
Extend "CAMERA3_MSG_ERROR_RESULT" comments and describe how Hal must notify about physical device result failures and logical device result failures. Bug: 128835627 Test: Successful build Change-Id: I935fba5a5676a0fe9440f43b281fc9eeb50578ea
-rw-r--r--include/hardware/camera3.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/hardware/camera3.h b/include/hardware/camera3.h
index 0e69e7ed..7fb86dfb 100644
--- a/include/hardware/camera3.h
+++ b/include/hardware/camera3.h
@@ -2053,6 +2053,14 @@ typedef enum camera3_error_msg_code {
* available. Subsequent requests are unaffected, and the device remains
* operational. The frame_number field specifies the request for which
* result metadata won't be available.
+ *
+ * >= CAMERA_DEVICE_API_VERSION_3_6:
+ *
+ * In case the result metadata is absent for a logical camera device, then the
+ * error_stream pointer must be set to NULL.
+ * If the result metadata cannot be produced for a physical camera device, then
+ * error_stream must contain a pointer to a respective stream associated with
+ * that physical device.
*/
CAMERA3_MSG_ERROR_RESULT = 3,