summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYen-Pin Hsiao <yphsiao@codeaurora.org>2010-02-23 14:57:44 -0800
committerYen-Pin Hsiao <yphsiao@codeaurora.org>2010-07-14 14:46:56 -0700
commit1535c39f6ad2c5bca7200f11bc49abf2b6f593a1 (patch)
tree4f39c0e5bc7917c92db1e463a148ac2fcbed5208
parent7e1ca862502a9408063f99214fe90f1d8f71a06d (diff)
downloadbionic-1535c39f6ad2c5bca7200f11bc49abf2b6f593a1.zip
bionic-1535c39f6ad2c5bca7200f11bc49abf2b6f593a1.tar.gz
bionic-1535c39f6ad2c5bca7200f11bc49abf2b6f593a1.tar.bz2
bionic: Sony 12 MP Bayer sensor support.
Addition of few variables to support 120 fps for sony 12MP sensor. Change-Id: I505d0484c8d625d8275a301fc87ff5656150878e
-rw-r--r--libc/kernel/common/media/msm_camera.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/kernel/common/media/msm_camera.h b/libc/kernel/common/media/msm_camera.h
index 0ee7a1a..a7cc621 100644
--- a/libc/kernel/common/media/msm_camera.h
+++ b/libc/kernel/common/media/msm_camera.h
@@ -342,10 +342,12 @@ struct msm_snapshot_pp_status {
#define SENSOR_PREVIEW_MODE 0
#define SENSOR_SNAPSHOT_MODE 1
#define SENSOR_RAW_SNAPSHOT_MODE 2
+#define SENSOR_VIDEO_120FPS_MODE 3
#define SENSOR_QTR_SIZE 0
#define SENSOR_FULL_SIZE 1
-#define SENSOR_INVALID_SIZE 2
+#define SENSOR_QVGA_SIZE 2
+#define SENSOR_INVALID_SIZE 3
#define CAMERA_EFFECT_OFF 0
#define CAMERA_EFFECT_MONO 1