summaryrefslogtreecommitdiffstats
path: root/include/system
diff options
context:
space:
mode:
authorZhijun He <zhijunhe@google.com>2015-01-12 14:40:39 -0800
committerZhijun He <zhijunhe@google.com>2015-01-22 13:43:09 -0800
commit46e0a589d59f2a53b3d0971101902d10fc8a097e (patch)
treed141736c51aa4ff09504ebb8585d057081995edb /include/system
parent42470ffd61c7f150e42e0b9eb4211598de8ecb2a (diff)
downloadsystem_core-46e0a589d59f2a53b3d0971101902d10fc8a097e.zip
system_core-46e0a589d59f2a53b3d0971101902d10fc8a097e.tar.gz
system_core-46e0a589d59f2a53b3d0971101902d10fc8a097e.tar.bz2
camera: add external camera facing enum
This is to enable the external camera support. Change-Id: Id8329e31ad0622bdc06c60e87e97c742a9719b3b
Diffstat (limited to 'include/system')
-rw-r--r--include/system/camera.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/system/camera.h b/include/system/camera.h
index 7a4dd53..09c915d 100644
--- a/include/system/camera.h
+++ b/include/system/camera.h
@@ -194,7 +194,12 @@ enum {
/** The facing of the camera is opposite to that of the screen. */
CAMERA_FACING_BACK = 0,
/** The facing of the camera is the same as that of the screen. */
- CAMERA_FACING_FRONT = 1
+ CAMERA_FACING_FRONT = 1,
+ /**
+ * The facing of the camera is not fixed relative to the screen.
+ * The cameras with this facing are external cameras, e.g. USB cameras.
+ */
+ CAMERA_FACING_EXTERNAL = 2
};
enum {