diff options
author | Azam Kapatrala Syed <c_azams@quicinc.com> | 2009-12-18 23:22:15 -0800 |
---|---|---|
committer | Azam Kapatrala Syed <c_azams@quicinc.com> | 2010-01-22 16:10:50 -0800 |
commit | 3d4f4ea68af02e4d311812bf7dc6830bba293739 (patch) | |
tree | ff133d4f359c7b3089b0f2d76fe65f7af1fbb331 /libc | |
parent | 83c3d428cf8e32ebb0311a530060bcf07a0c0901 (diff) | |
download | bionic-3d4f4ea68af02e4d311812bf7dc6830bba293739.zip bionic-3d4f4ea68af02e4d311812bf7dc6830bba293739.tar.gz bionic-3d4f4ea68af02e4d311812bf7dc6830bba293739.tar.bz2 |
camera: Add changes for 720p
Add support to enable two output paths one for video preview and
the other for video encoding.
modified: msm_camera.h
Diffstat (limited to 'libc')
-rwxr-xr-x[-rw-r--r--] | libc/kernel/common/media/msm_camera.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/libc/kernel/common/media/msm_camera.h b/libc/kernel/common/media/msm_camera.h index 93d1f06..cfcf759 100644..100755 --- a/libc/kernel/common/media/msm_camera.h +++ b/libc/kernel/common/media/msm_camera.h @@ -162,6 +162,10 @@ struct msm_camera_cfg_cmd { #define CMD_STATS_SKIN_BUF_RELEASE 32 #define UPDATE_STATS_INVALID 33 +#define CMD_AXI_CFG_SNAP_GEMINI 34 +#define CMD_AXI_CFG_SNAP 35 +#define CMD_AXI_CFG_PREVIEW 36 +#define CMD_AXI_CFG_VIDEO 37 struct msm_vfe_cfg_cmd { int cmd_type; @@ -188,7 +192,9 @@ struct camera_enable_cmd { #define MSM_PMEM_CS 11 #define MSM_PMEM_IHIST 12 #define MSM_PMEM_SKIN 13 -#define MSM_PMEM_MAX 14 +#define MSM_PMEM_VIDEO 14 +#define MSM_PMEM_PREVIEW 15 +#define MSM_PMEM_MAX 16 #define STAT_AEAW 0 #define STAT_AEC 1 @@ -228,8 +234,8 @@ struct outputCfg { #define OUTPUT_1 0 #define OUTPUT_2 1 -#define OUTPUT_1_AND_2 2 -#define OUTPUT_1_AND_3 3 +#define OUTPUT_1_AND_2 2 +#define OUTPUT_1_AND_3 3 #define CAMIF_TO_AXI_VIA_OUTPUT_2 4 #define OUTPUT_1_AND_CAMIF_TO_AXI_VIA_OUTPUT_2 5 #define OUTPUT_2_AND_CAMIF_TO_AXI_VIA_OUTPUT_1 6 @@ -238,6 +244,10 @@ struct outputCfg { #define MSM_FRAME_PREV_1 0 #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 struct msm_frame { int path; |