diff options
author | Eino-Ville Talvala <etalvala@google.com> | 2013-02-15 12:09:48 -0800 |
---|---|---|
committer | Eino-Ville Talvala <etalvala@google.com> | 2013-02-15 12:09:48 -0800 |
commit | 7effe0ce84e234ece1fab8965ffef26acc672791 (patch) | |
tree | d89d03168f81e2e0cf43508278a555b373f0a0e8 /include/hardware/camera3.h | |
parent | d2a877536a1fe22101cf40def1b6d07e35c3868a (diff) | |
download | hardware_libhardware-7effe0ce84e234ece1fab8965ffef26acc672791.zip hardware_libhardware-7effe0ce84e234ece1fab8965ffef26acc672791.tar.gz hardware_libhardware-7effe0ce84e234ece1fab8965ffef26acc672791.tar.bz2 |
Camera: Minor cleanup to HAL 3.0 header
Change-Id: I64c61687cbf5850341d9e528c47b7b4dca773546
Diffstat (limited to 'include/hardware/camera3.h')
-rw-r--r-- | include/hardware/camera3.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/hardware/camera3.h b/include/hardware/camera3.h index bc0ef41..2108949 100644 --- a/include/hardware/camera3.h +++ b/include/hardware/camera3.h @@ -17,7 +17,7 @@ #ifndef ANDROID_INCLUDE_CAMERA3_H #define ANDROID_INCLUDE_CAMERA3_H -#include "system/camera_metadata.h" +#include <system/camera_metadata.h> #include "camera_common.h" /** @@ -1164,6 +1164,13 @@ typedef struct camera3_device_ops { * * - Including too many output streams of a certain format. * + * Note that the framework submitting an invalid stream + * configuration is not normal operation, since stream + * configurations are checked before configure. An invalid + * configuration means that a bug exists in the framework code, or + * there is a mismatch between the HAL's static metadata and the + * requirements on streams. + * * -ENODEV: If there has been a fatal error and the device is no longer * operational. Only close() can be called successfully by the * framework after this error is returned. |