diff options
author | Wu-cheng Li <wuchengli@google.com> | 2010-11-19 15:56:16 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2010-11-19 16:20:04 +0800 |
commit | c2c8868e59bde7f48998e1d89a0d77217bc64767 (patch) | |
tree | bffc3c9c96072ce21e9c55372b4b39fa8ed991bc /include/camera/Camera.h | |
parent | ce0febae177d1816ee7a6750ed9fba52472b9a71 (diff) | |
download | frameworks_av-c2c8868e59bde7f48998e1d89a0d77217bc64767.zip frameworks_av-c2c8868e59bde7f48998e1d89a0d77217bc64767.tar.gz frameworks_av-c2c8868e59bde7f48998e1d89a0d77217bc64767.tar.bz2 |
Improve camera documentation.
bug:3212606
Change-Id: Iee7106e4665c08a4c75471114010b75d63ac74ce
Diffstat (limited to 'include/camera/Camera.h')
-rw-r--r-- | include/camera/Camera.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/camera/Camera.h b/include/camera/Camera.h index e6d84ba..e734c38 100644 --- a/include/camera/Camera.h +++ b/include/camera/Camera.h @@ -105,8 +105,8 @@ enum { }; enum { - CAMERA_FACING_BACK = 0, - CAMERA_FACING_FRONT = 1 /* The camera faces to the user */ + CAMERA_FACING_BACK = 0, /* The facing of the camera is opposite to that of the screen. */ + CAMERA_FACING_FRONT = 1 /* The facing of the camera is the same as that of the screen. */ }; struct CameraInfo { @@ -122,10 +122,12 @@ struct CameraInfo { * camera image needs to be rotated clockwise so it shows correctly on * the display in its natural orientation. It should be 0, 90, 180, or 270. * - * For example, suppose a device has a naturally tall screen, but the camera - * sensor is mounted in landscape. If the top side of the camera sensor is - * aligned with the right edge of the display in natural orientation, the - * value should be 90. + * For example, suppose a device has a naturally tall screen. The + * back-facing camera sensor is mounted in landscape. You are looking at + * the screen. If the top side of the camera sensor is aligned with the + * right edge of the screen in natural orientation, the value should be + * 90. If the top side of a front-facing camera sensor is aligned with + * the right of the screen, the value should be 270. */ int orientation; }; |