From 19c624245624f3970dfe881d9c1df958cc76b53c Mon Sep 17 00:00:00 2001 From: Ninad Patgaonkar Date: Fri, 7 Jan 2011 13:38:12 -0800 Subject: bionic: camera: Support for providing sensor mount angle to the APP 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 --- libc/kernel/common/media/msm_camera.h | 1 + 1 file changed, 1 insertion(+) 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 { -- cgit v1.1