diff options
author | Priya Komarlingam <knspriya@quicinc.com> | 2009-11-30 16:26:38 -0800 |
---|---|---|
committer | Priya Komarlingam <knspriya@quicinc.com> | 2009-11-30 16:27:22 -0800 |
commit | 63490db064c5d7b4dfd81820ac0803603add0f12 (patch) | |
tree | cf9abcb64394f6a049ef75d3c5e19e70d4126a1b | |
parent | 80a265ee8f5589ea68a69dd6b890318fddce0436 (diff) | |
download | bionic-M76XXTSNCJNLYA5010.zip bionic-M76XXTSNCJNLYA5010.tar.gz bionic-M76XXTSNCJNLYA5010.tar.bz2 |
bionic: update msm_camera.hM76XXTSNCJNLYA5010
update msm_camera.h corresponding to kernel commit id:
f00a0653768183c6ef7493d2081a5c2dd893b2ab
-rw-r--r-- | libc/kernel/common/media/msm_camera.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/kernel/common/media/msm_camera.h b/libc/kernel/common/media/msm_camera.h index 61fc18f..381e420 100644 --- a/libc/kernel/common/media/msm_camera.h +++ b/libc/kernel/common/media/msm_camera.h @@ -79,6 +79,7 @@ #define PP_SNAP 0x01 #define PP_RAW_SNAP ((0x01)<<1) #define PP_PREV ((0x01)<<2) +#define PP_MASK (PP_SNAP|PP_RAW_SNAP|PP_PREV) #define MSM_CAM_CTRL_CMD_DONE 0 #define MSM_CAM_SENSOR_VFE_CMD 1 @@ -158,7 +159,7 @@ struct camera_enable_cmd { #define MSM_PMEM_OUTPUT1 0 #define MSM_PMEM_OUTPUT2 1 #define MSM_PMEM_OUTPUT1_OUTPUT2 2 -#define MSM_PMEM_THUMBAIL 3 +#define MSM_PMEM_THUMBNAIL 3 #define MSM_PMEM_MAINIMG 4 #define MSM_PMEM_RAW_MAINIMG 5 #define MSM_PMEM_AEC_AWB 6 @@ -168,7 +169,7 @@ struct camera_enable_cmd { #define FRAME_PREVIEW_OUTPUT1 0 #define FRAME_PREVIEW_OUTPUT2 1 #define FRAME_SNAPSHOT 2 -#define FRAME_THUMBAIL 3 +#define FRAME_THUMBNAIL 3 #define FRAME_RAW_SNAPSHOT 4 #define FRAME_MAX 5 @@ -176,6 +177,8 @@ struct msm_pmem_info { int type; int fd; void *vaddr; + uint32_t offset; + uint32_t len; uint32_t y_off; uint32_t cbcr_off; uint8_t active; |