summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunid Wilson <sunid@codeaurora.org>2010-08-04 19:44:02 -0700
committerLinux Build Service Account <lnxbuild@qualcomm.com>2010-08-19 09:56:30 -0600
commit0c4f090a8eaec52830f7e47b98f62c968ba0cec6 (patch)
treedb4adb31a9ba497871f417457eb0a01eeeabe1fa
parenta170967bbc7a588c77eaf26d1769878b7d698541 (diff)
downloadbionic-0c4f090a8eaec52830f7e47b98f62c968ba0cec6.zip
bionic-0c4f090a8eaec52830f7e47b98f62c968ba0cec6.tar.gz
bionic-0c4f090a8eaec52830f7e47b98f62c968ba0cec6.tar.bz2
camera: Live snapshot feature
Added output type for livesnapshot frame Change-Id: I427c9f19f6a085c995947948b604b517e388db93
-rw-r--r--libc/kernel/common/media/msm_camera.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libc/kernel/common/media/msm_camera.h b/libc/kernel/common/media/msm_camera.h
index b1d4b3b..5a07ac9 100644
--- a/libc/kernel/common/media/msm_camera.h
+++ b/libc/kernel/common/media/msm_camera.h
@@ -279,10 +279,11 @@ struct outputCfg {
#define MSM_FRAME_PREV_2 1
#define MSM_FRAME_ENC 2
-#define OUTPUT_TYPE_P 1
-#define OUTPUT_TYPE_T 2
-#define OUTPUT_TYPE_S 3
-#define OUTPUT_TYPE_V 4
+#define OUTPUT_TYPE_P (1<<0)
+#define OUTPUT_TYPE_T (1<<1)
+#define OUTPUT_TYPE_S (1<<2)
+#define OUTPUT_TYPE_V (1<<3)
+#define OUTPUT_TYPE_L (1<<4)
struct msm_frame {
struct timespec ts;