summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNinad Patgaonkar <ninadp@codeaurora.org>2011-01-07 13:38:12 -0800
committerNinad Patgaonkar <ninadp@codeaurora.org>2011-01-07 13:39:40 -0800
commit19c624245624f3970dfe881d9c1df958cc76b53c (patch)
treeaa3d2f48824f82f1dcd4c1c4eb0f3267aff6e590
parentdbf15a51c6209d303fac89801bb5e68f2cbd62c5 (diff)
downloadbionic-M7630AABBQMLZA4020.zip
bionic-M7630AABBQMLZA4020.tar.gz
bionic-M7630AABBQMLZA4020.tar.bz2
bionic: camera: Support for providing sensor mount angle to the APPM8660AAABQNLYA107001M8660AAABQNLYA1070M7630AABBQMLZA4020
Added support to provide the sensor mount angle. This will enable the camera application to display the camera preview with the correct orientation. Change-Id: I5ef66167f3caf733a929122236819a78bf4add0d
-rw-r--r--libc/kernel/common/media/msm_camera.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/kernel/common/media/msm_camera.h b/libc/kernel/common/media/msm_camera.h
index f5d01e5..fe48adc 100644
--- a/libc/kernel/common/media/msm_camera.h
+++ b/libc/kernel/common/media/msm_camera.h
@@ -484,6 +484,7 @@ struct msm_camera_info {
int num_cameras;
uint8_t has_3d_support[MSM_MAX_CAMERA_SENSORS];
uint8_t is_internal_cam[MSM_MAX_CAMERA_SENSORS];
+ uint32_t s_mount_angle[MSM_MAX_CAMERA_SENSORS];
};
struct flash_ctrl_data {