summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2018-01-22 13:30:52 -0800
committerEino-Ville Talvala <etalvala@google.com>2018-01-23 00:23:32 -0800
commitcc1aa87b19b236076fd56f0435d0731b9aacd00f (patch)
tree7357a5da0ac64400c2d308cbb180374139018e06
parent8662c46d713143af50e99762b7a6f22e3b3925ee (diff)
downloadlibhardware-cc1aa87b19b236076fd56f0435d0731b9aacd00f.tar.gz
Camera3: Add new MOTION_TRACKING template enums
Bug: 70565622 Bug: 63629224 Test: Builds, CTS passes Change-Id: I927776d042b74013cf24c342b107a5aee1ad26a2
-rw-r--r--include/hardware/camera3.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hardware/camera3.h b/include/hardware/camera3.h
index 53e8d7b7..ad088835 100644
--- a/include/hardware/camera3.h
+++ b/include/hardware/camera3.h
@@ -182,6 +182,8 @@
* - Add physical camera id and settings field in camera3_capture_request, so that
* for a logical multi camera, the application has the option to specify individual
* settings for a particular physical device.
+ *
+ * - Add request templates MOTION_TRACKING_PREVIEW and MOTION_TRACKING_BEST
*/
/**
@@ -2180,6 +2182,10 @@ typedef enum camera3_request_template {
*/
CAMERA3_TEMPLATE_MANUAL = 6,
+ // Added in 3.5
+ CAMERA3_TEMPLATE_MOTION_TRACKING_PREVIEW = 7,
+ CAMERA3_TEMPLATE_MOTION_TRACKING_BEST = 8,
+
/* Total number of templates */
CAMERA3_TEMPLATE_COUNT,