OSDN Git Service

Camera: Minor cleanup to HAL 3.0 header
authorEino-Ville Talvala <etalvala@google.com>
Fri, 15 Feb 2013 20:09:48 +0000 (12:09 -0800)
committerEino-Ville Talvala <etalvala@google.com>
Fri, 15 Feb 2013 20:09:48 +0000 (12:09 -0800)
Change-Id: I64c61687cbf5850341d9e528c47b7b4dca773546

include/hardware/camera3.h

index bc0ef41..2108949 100644 (file)
@@ -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.