summaryrefslogtreecommitdiffstats
path: root/include/hardware/camera3.h
diff options
context:
space:
mode:
authorRuben Brunk <rubenbrunk@google.com>2014-03-18 13:39:17 -0700
committerRuben Brunk <rubenbrunk@google.com>2014-03-27 17:56:17 -0700
commit2d96c743e64c0b6f4c6a418e6b925f5e3a12bcac (patch)
tree9682ac1d297c516e0e974091814abca5032d1a3e /include/hardware/camera3.h
parentb52fedf634d5afcd87d0bea1b7eae0e1b6597e7c (diff)
downloadhardware_libhardware-2d96c743e64c0b6f4c6a418e6b925f5e3a12bcac.zip
hardware_libhardware-2d96c743e64c0b6f4c6a418e6b925f5e3a12bcac.tar.gz
hardware_libhardware-2d96c743e64c0b6f4c6a418e6b925f5e3a12bcac.tar.bz2
hal3: Update documentation regarding hardware block operating modes.
Change-Id: I27987a75cb80c67f7e9ae71c116a26963b25eccb
Diffstat (limited to 'include/hardware/camera3.h')
-rw-r--r--include/hardware/camera3.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/hardware/camera3.h b/include/hardware/camera3.h
index 9eb52ed..4503885 100644
--- a/include/hardware/camera3.h
+++ b/include/hardware/camera3.h
@@ -52,6 +52,7 @@
* S6. Error management
* S7. Key Performance Indicator (KPI) glossary
* S8. Sample Use Cases
+ * S9. Notes on Controls and Metadata
*/
/**
@@ -1139,6 +1140,32 @@
*
*/
+/**
+ * S9. Notes on Controls and Metadata
+ *
+ * This section contains notes about the interpretation and usage of various metadata tags.
+ *
+ * S9.1 HIGH_QUALITY and FAST modes.
+ *
+ * Many camera post-processing blocks may be listed as having HIGH_QUALITY,
+ * FAST, and OFF operating modes. These blocks will typically also have an
+ * 'available modes' tag representing which of these operating modes are
+ * available on a given device. The general policy regarding implementing
+ * these modes is as follows:
+ *
+ * 1. Operating mode controls of hardware blocks that cannot be disabled
+ * must not list OFF in their corresponding 'available modes' tags.
+ *
+ * 2. OFF will always be included in their corresponding 'available modes'
+ * tag if it is possible to disable that hardware block.
+ *
+ * 3. FAST must always be included in the 'available modes' tags for all
+ * post-processing blocks supported on the device. If a post-processing
+ * block also has a slower and higher quality operating mode that does
+ * not meet the framerate requirements for FAST mode, HIGH_QUALITY should
+ * be included in the 'available modes' tag to represent this operating
+ * mode.
+ */
__BEGIN_DECLS
struct camera3_device;