[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/cp/ps/plat/inc/msp/zte_vtdriver.h b/cp/ps/plat/inc/msp/zte_vtdriver.h
new file mode 100644
index 0000000..f3b5e9c
--- /dev/null
+++ b/cp/ps/plat/inc/msp/zte_vtdriver.h
@@ -0,0 +1,521 @@
+/************************************************************************
+* °æÈ¨ËùÓÐ(C)2007,ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
+* Ä£¿éÃû £º ¿ÉÊӵ绰ҵÎñÖжàýÌåÇý¶¯Ä£¿é
+* ÎļþÃû³Æ£º zte_vtdriver.h
+* Îļþ±êʶ£º
+* ÄÚÈÝÕªÒª£º
+*
+* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
+* ----------------------------------------------------------------------
+* 2009/6/3 1.0 ´ú¿µ
+************************************************************************/
+
+#ifndef ZTE_VT_DRIVER_H
+#define ZTE_VT_DRIVER_H
+
+#ifdef __cplusplus
+ extern "C"
+ {
+#endif
+/**************************************************************************
+ * Í·Îļþ°üº¬ *
+ **************************************************************************/
+
+/**************************************************************************
+ * ³£Á¿ *
+ **************************************************************************/
+typedef enum
+{
+ VT_VIDEO_H263 = 1,
+ VT_VIDEO_MP4
+}VT_VIDEO_FORMAT;
+
+/* AMRµÄÖ¡ÂÊ */
+typedef enum {
+ VT_VOICE_FRAME_MR475 = 0,
+ VT_VOICE_FRAME_MR515,
+ VT_VOICE_FRAME_MR59,
+ VT_VOICE_FRAME_MR67,
+ VT_VOICE_FRAME_MR74,
+ VT_VOICE_FRAME_MR795,
+ VT_VOICE_FRAME_MR102,
+ VT_VOICE_FRAME_MR122,
+
+ VT_MAX_VOICE_FRAME_TYPE
+}VT_VOICE_FRAME_TYPE;
+
+/* AMRµÄÖ¡¸ñʽ */
+typedef enum {
+ VT_VOICE_AMR_IF2,
+ VT_VOICE_AMR_IF1,
+
+ VT_MAX_VOICE_AMR_IF
+}VT_VOICE_AMRIF;
+
+/* º¯Êý·µ»ØÖµ */
+typedef enum
+{
+ MM_COM_OP_SUCCESS = 0, /* ²Ù×÷³É¹¦ */
+ MM_COM_OP_ERROR = -1, /* ²Ù×÷ʧ°Ü */
+ MM_OPEN_AUDIO_FAILE = -2, /* ´ò¿ªAudioÉ豸ʧ°Ü */
+ MM_OPEN_VIDEO_FAILE = -3, /* ´ò¿ªVideoÉ豸ʧ°Ü */
+ MM_OPEN_CAM_FAILE = -4, /* ´ò¿ªCAMÉ豸ʧ°Ü */
+ MM_AUDIO_DEV_UNOPENED = -5, /* AudioÉ豸û´ò¿ª */
+ MM_VIDEO_DEV_UNOPENED = -6, /* VideoÉ豸û´ò¿ª */
+ MM_CAM_DEV_UNOPENED = -7, /* CAMÉ豸û´ò¿ª */
+ MM_PARAM_ERROR = -8, /* ²ÎÊýÊäÈë´íÎó */
+}MM_COM_ERRCODE;
+
+/* ÊäÈëÒôÁ¿ */
+typedef enum
+{
+ MM_INPUT_VOLUME_LEVEL_0 = 0,
+ MM_INPUT_VOLUME_LEVEL_1,
+ MM_INPUT_VOLUME_LEVEL_2,
+ MM_INPUT_VOLUME_LEVEL_3,
+ MM_INPUT_VOLUME_LEVEL_4,
+ MM_INPUT_VOLUME_LEVEL_5,
+} T_MM_INPUT_VOLUME_LEVEL;
+
+/* Êä³öÒôÁ¿ */
+typedef enum
+{
+ MM_OUTPUT_VOLUME_LEVEL_0 = 0,
+ MM_OUTPUT_VOLUME_LEVEL_1,
+ MM_OUTPUT_VOLUME_LEVEL_2,
+ MM_OUTPUT_VOLUME_LEVEL_3,
+ MM_OUTPUT_VOLUME_LEVEL_4,
+ MM_OUTPUT_VOLUME_LEVEL_5,
+} T_MM_OUTPUT_VOLUME_LEVEL;
+
+/* ÊäÈëͨµÀ */
+typedef enum
+{
+ MM_CHANNEL_INPUT_MICPHONE = 1, /* Âó¿Ë·ç */
+ MM_CHANNEL_INPUT_HEADSET, /* ¶ú»ú»°Í² */
+
+} T_MM_CHANNEL_INPUT;
+
+/* Êä³öͨµÀ */
+typedef enum
+{
+ MM_CHANNEL_OUTPUT_RECEIVER = 1, /* ÌýͲ */
+ MM_CHANNEL_OUTPUT_SPEAKER, /* ÑïÉùÆ÷ */
+ MM_CHANNEL_OUTPUT_HEADPHONE, /* ¶ú»ú */
+ MM_CHANNEL_OUTPUT_SPEAKER_HEADPHONE, /* ÑïÉùÆ÷ºÍ»°Í² */
+ MM_CHANNEL_OUTPUT_BLUETOOTH, /* À¶ÑÀ */
+}T_MM_CHANNEL_OUTPUT;
+
+/* Ö÷¸±ÉãÏñÍ· */
+typedef enum
+{
+ MM_SENSOR_MAIN = 0,
+ MM_SENSOR_SUB
+} T_MM_CAM_SENSOR;
+
+/* »ÃæËõ·Å */
+typedef enum
+{
+ MM_ZOOM_LEVEL_1= 0, /* level 1 */
+ MM_ZOOM_LEVEL_2, /* level 2 */
+ MM_ZOOM_LEVEL_3, /* level 3 */
+ MM_ZOOM_LEVEL_4, /* level 4 */
+ MM_ZOOM_LEVEL_5, /* level 5 */
+} T_MM_ZOOM_LEVEL;
+
+
+/* ÉãÏñÍ·ÁÁ¶È */
+typedef enum
+{
+ MM_BRIGHTNESS_LEVEL_0 = 0, /* level 0 */
+ MM_BRIGHTNESS_LEVEL_1, /* level 1 */
+ MM_BRIGHTNESS_LEVEL_2, /* level 2 */
+ MM_BRIGHTNESS_LEVEL_3, /* level 3 */
+ MM_BRIGHTNESS_LEVEL_4, /* level 4 */
+} T_MM_CamBrightness;
+
+/* ÉãÏñÍ·¶Ô±È¶È */
+typedef enum
+{
+ MM_CONTRAST_LEVEL_0 = 0, /* level 0 */
+ MM_CONTRAST_LEVEL_1, /* level 1 */
+ MM_CONTRAST_LEVEL_2, /* level 2 */
+ MM_CONTRAST_LEVEL_3, /* level 3 */
+ MM_CONTRAST_LEVEL_4, /* level 4 */
+} T_MM_CamContrast;
+
+/* ÉãÏñͷЧ¹û */
+typedef enum
+{
+ MM_EFFECT_NORMAL,
+ MM_EFFECT_BLACK_AND_WHITE,
+ MM_EFFECT_NEGATIVE,
+ MM_EFFECT_ANTIQUE,
+ MM_EFFECT_BLUISH,
+ MM_EFFECT_GREENISH,
+ MM_EFFECT_REDISH,
+ MM_EFFECT_BW_NEGATIVE,
+} T_MM_CamEffect;
+
+/* °×ƽºâ */
+typedef enum
+{
+ MM_WHITEBALANCE_AUTO = 0,
+ MM_WHITEBALANCE_DAYLIGHT,
+ MM_WHITEBALANCE_CLOUDY,
+ MM_WHITEBALANCE_INCANDESCENCE,
+ MM_WHITEBALANCE_FLUORESCENCE
+} T_MM_WHITE_BALANCE;
+
+/* ÏÔÊ¾ÇøÓò */
+typedef struct
+{
+ UINT32 x; /* Æðµãºá×ø±ê */
+ UINT32 y; /* Æðµã×Ý×ø±ê */
+ UINT32 width; /* ¿í¶È */
+ UINT32 height; /* ¸ß¶È */
+} T_MM_DISPLAY_RECT;
+
+
+
+/**************************************************************************
+ * ºê¶¨Òå *
+ **************************************************************************/
+
+/**************************************************************************
+ * Êý¾ÝÀàÐÍ *
+ **************************************************************************/
+/* ÓïÒôAMRÖ¡ÀàÐÍÐÅÏ¢ */
+typedef struct _VT_VOICE_AMRINFO_T
+{
+ VT_VOICE_AMRIF amrif; /* AMRµÄÖ¡ÀàÐÍ */
+ VT_VOICE_FRAME_TYPE frametype; /* AMRµÄÖ¡ÂÊ */
+}VT_VOICE_AMRINFO_T;
+
+typedef struct _VT_VOICE_PARAM_T
+{
+ VT_VOICE_AMRINFO_T tVoiceInfo; /* ÓïÒôÅäÖÃÐÅÏ¢ */
+}VT_VOICE_PARAM_T;
+
+typedef struct _VT_VIDEO_DISPARAM_T
+{
+ RECT_T tLocalRect; /* ±¾¶ËͼÏñÏÔÊ¾ÇøÓò */
+ RECT_T tRemoteRect; /* ¶Ô¶ËͼÏñÏÔÊ¾ÇøÓò */
+}VT_VIDEO_DISPARAM_T;
+
+typedef struct _VT_ENCODE_PARAM_T
+{
+ UINT32 uiWidth; /* ±àÂëÊä³öͼÏñ¿í¶È */
+ UINT32 uiHeight; /* ±àÂëÊä³öͼÏñ¸ß¶È */
+ UINT32 uiFramerate; /* ±àÂëÊä³öͼÏñÖ¡ÂÊ */
+ UINT32 uiBitrate; /* ±àÂëÊä³öͼÏñλÂÊ */
+ VT_VIDEO_FORMAT tVideoFormat; /* ±àÂëÊä³öͼÏñ¸ñʽ */
+}VT_ENCPARAM_T;
+
+typedef struct _VT_DECPARAM_T
+{
+ UINT32 uiWidth; /* ½âÂëÊäÈëͼÏñ¿í¶È */
+ UINT32 uiHeight; /* ½âÂëÊäÈëͼÏñ¸ß¶È */
+ VT_VIDEO_FORMAT tVideoFormat; /* ½âÂëÊäÈëͼÏñ¸ñʽ */
+}VT_DECPARAM_T;
+
+typedef struct _VT_CODEC_PARAM_T
+{
+ VT_ENCPARAM_T tEncParam; /* ±¾¶ËͼÏñ±àÂë²ÎÊý */
+ VT_DECPARAM_T tDecParam; /* ¶Ô¶ËͼÏñ½âÂë²ÎÊý */
+ VT_VIDEO_DISPARAM_T tDisParam; /* ±¾¶Ô¶ËͼÏñÏÔÊ¾ÇøÓò */
+}VT_VIDEO_PARAM_T;
+
+/**************************************************************************
+ * ÀàÉùÃ÷ £¨¶ÔÓÚCÓïÑÔµÄÍ·Îļþ£¬¿É²Ã¼ô£© *
+ **************************************************************************/
+
+/**************************************************************************
+ * Ä£°å £¨¶ÔÓÚCÓïÑÔµÄÍ·Îļþ£¬¿É²Ã¼ô£© *
+ **************************************************************************/
+
+/**************************************************************************
+ * È«¾Ö±äÁ¿ÉùÃ÷ *
+ **************************************************************************/
+
+/**************************************************************************
+ * È«¾Öº¯ÊýÔÐÍ *
+ **************************************************************************/
+/**
+ * º¯ÊýÃû³Æ£º VT_Voice_Open
+ * ¹¦ÄÜÃèÊö£º ´ò¿ªVTÓïÒôÇý¶¯Í¨µÀ
+ * ²ÎÊý˵Ã÷£º (IN) iVoiceFd:VoiceÉ豸¾ä±ú
+ * ·µ »Ø Öµ£º ³É¹¦·µ»ØDCAMERA_OP_SUCCESS
+ * ÆäËü˵Ã÷£º ÎÞ
+ */
+DCAMERA_RETURN_VALUE_E VT_Voice_Open(SINT32 iVoiceFd);
+
+/**
+ * º¯ÊýÃû³Æ£º VT_Voice_Close
+ * ¹¦ÄÜÃèÊö£º ¹Ø±ÕVTÓïÒôÇý¶¯Í¨µÀ
+ * ²ÎÊý˵Ã÷£º (IN) ÎÞ
+ * ·µ »Ø Öµ£º ³É¹¦·µ»ØDCAMERA_OP_SUCCESS
+ * ÆäËü˵Ã÷£º ÎÞ
+ */
+DCAMERA_RETURN_VALUE_E VT_Voice_Close(VOID);
+
+/**
+ * º¯ÊýÃû³Æ£º VT_Voice_Init
+ * ¹¦ÄÜÃèÊö£º ³õʼ»¯VTÓïÒôÇý¶¯Í¨µÀ
+ * ²ÎÊý˵Ã÷£º (IN) pVoiceParam VTÓïÒôÇý¶¯Í¨µÀ³õʼ»¯²ÎÊý
+ * ·µ »Ø Öµ£º ³É¹¦·µ»ØDCAMERA_OP_SUCCESS
+ * ÆäËü˵Ã÷£º ÎÞ
+ */
+DCAMERA_RETURN_VALUE_E VT_Voice_Init(VT_VOICE_PARAM_T *pVoiceParam);
+
+/**
+ * º¯ÊýÃû³Æ£º VT_Voice_Release
+ * ¹¦ÄÜÃèÊö£º ÊÍ·ÅVTÓïÒôÇý¶¯Í¨µÀ
+ * ²ÎÊý˵Ã÷£º (IN) ÎÞ
+ * ·µ »Ø Öµ£º ³É¹¦·µ»ØDCAMERA_OP_SUCCESS
+ * ÆäËü˵Ã÷£º ÎÞ
+ */
+DCAMERA_RETURN_VALUE_E VT_Voice_Release(VOID);
+
+/**
+ * º¯ÊýÃû³Æ£º VT_Voice_Read
+ * ¹¦ÄÜÃèÊö£º VTÓïÒôÊý¾Ý¶ÁÈ¡£¬Ò»´Î¶Áȡһ֡ÓïÒô
+ * ²ÎÊý˵Ã÷£º (IN/OUT) pVoiceBuf ´æ·Å¶ÁÈ¡µÄÓïÒôÊý¾Ý(AMR)
+ * (IN) uiBufLen pVoiceBufµÄ³¤¶È£¬±ØÐë´óÓÚ32×Ö½Ú
+ * ·µ »Ø Öµ£º ³É¹¦·µ»ØÒѶÁÈ¡µÄ×Ö½ÚÊý£¬Ê§°Ü·µ»ØÐ¡ÓÚ0µÄÖµ
+ * ÆäËü˵Ã÷£º ÎÞ
+ */
+SINT32 VT_Voice_Read(CHAR *pVoiceBuf, UINT32 uiBufLen);
+
+/**
+ * º¯ÊýÃû³Æ£º VT_Voice_Write
+ * ¹¦ÄÜÃèÊö£º VTÓïÒôÊý¾ÝÊä³ö£¬Ò»´ÎÊä³öÒ»Ö¡ÓïÒô
+ * ²ÎÊý˵Ã÷£º (IN) pVoiceBuf ´ýÊä³öµÄÓïÒôÊý¾Ý(AMR)µØÖ·
+ * (IN) uiBufLen ´ýÊä³öµÄÓïÒôÊý¾Ý(AMR)³¤¶È
+ * ·µ »Ø Öµ£º ³É¹¦·µ»ØÊä³öµÄ×Ö½ÚÊý£¬Ê§°Ü·µ»ØÐ¡ÓÚ0µÄÖµ
+ * ÆäËü˵Ã÷£º ÎÞ
+ */
+SINT32 VT_Voice_Write(CHAR *pVoiceBuf, UINT32 uiBufLen);
+
+/**
+ * º¯ÊýÃû³Æ£º VT_Voice_SetCodecParam
+ * ¹¦ÄÜÃèÊö£º ÉèÖÃVTÓïÒô±à½âÂë²ÎÊý
+ * ²ÎÊý˵Ã÷£º (IN)
+ * ·µ »Ø Öµ£º ³É¹¦·µ»ØDCAMERA_OP_SUCCESS
+ * ÆäËü˵Ã÷£º ´Ë½Ó¿Ú±£Áô
+ */
+DCAMERA_RETURN_VALUE_E VT_Voice_SetCodecParam(VT_VOICE_AMRINFO_T *pVoiceInfo);
+
+/**
+ * º¯ÊýÃû³Æ£º VT_Video_Open
+ * ¹¦ÄÜÃèÊö£º ´ò¿ªVTÊÓÆµÇý¶¯Í¨µÀ
+ * ²ÎÊý˵Ã÷£º ÎÞ
+ * ·µ »Ø Öµ£º ³É¹¦·µ»ØDCAMERA_OP_SUCCESS
+ * ÆäËü˵Ã÷£º ÎÞ
+ */
+DCAMERA_RETURN_VALUE_E VT_Video_Open(VOID);
+
+/**
+ * º¯ÊýÃû³Æ£º VT_Video_Open
+ * ¹¦ÄÜÃèÊö£º ¹Ø±ÕVTÊÓÆµÇý¶¯Í¨µÀ
+ * ²ÎÊý˵Ã÷£º ÎÞ
+ * ·µ »Ø Öµ£º ³É¹¦·µ»ØDCAMERA_OP_SUCCESS
+ * ÆäËü˵Ã÷£º ÎÞ
+ */
+DCAMERA_RETURN_VALUE_E VT_Video_Close(VOID);
+
+/**
+ * º¯ÊýÃû³Æ£º VT_Video_Init
+ * ¹¦ÄÜÃèÊö£º ³õʼ»¯VTÊÓÆµÇý¶¯Í¨µÀ
+ * ²ÎÊý˵Ã÷£º (IN) pVodieParam VTÊÓÆµÇý¶¯Í¨µÀ³õʼ»¯²ÎÊý
+ * ·µ »Ø Öµ£º ³É¹¦·µ»ØDCAMERA_OP_SUCCESS
+ * ÆäËü˵Ã÷£º Ŀǰ½öÖ§³Ö±à½âÂë¾ùΪH263¸ñʽ£¬±àÂë½öÖ§³ÖQCIF(176 * 144)
+ * ¸ñʽµÄͼÏñ
+ */
+DCAMERA_RETURN_VALUE_E VT_Video_Init(VT_VIDEO_PARAM_T *pCodecParam);
+
+/**
+ * º¯ÊýÃû³Æ£º VT_Video_Release
+ * ¹¦ÄÜÃèÊö£º ÊÍ·ÅVTÊÓÆµÇý¶¯Í¨µÀ
+ * ²ÎÊý˵Ã÷£º (IN) ÎÞ
+ * ·µ »Ø Öµ£º ³É¹¦·µ»ØDCAMERA_OP_SUCCESS
+ * ÆäËü˵Ã÷£º ÎÞ
+ */
+DCAMERA_RETURN_VALUE_E VT_Video_Release(VOID);
+
+/**
+ * º¯ÊýÃû³Æ£º VT_Video_LocalOpen
+ * ¹¦ÄÜÃèÊö£º ±¾¶ËÏÔʾ´ò¿ª
+ * ²ÎÊý˵Ã÷£º (IN) ÎÞ
+ * ·µ »Ø Öµ£º ³É¹¦·µ»ØDCAMERA_OP_SUCCESS
+ * ÆäËü˵Ã÷£º ÎÞ
+ */
+DCAMERA_RETURN_VALUE_E VT_Video_LocalOpen(VOID);
+
+/**
+ * º¯ÊýÃû³Æ£º VT_Video_LocalClose
+ * ¹¦ÄÜÃèÊö£º ±¾¶ËÏÔʾ¹Ø±Õ
+ * ²ÎÊý˵Ã÷£º (IN) ÎÞ
+ * ·µ »Ø Öµ£º ³É¹¦·µ»ØDCAMERA_OP_SUCCESS
+ * ÆäËü˵Ã÷£º ÎÞ
+ */
+DCAMERA_RETURN_VALUE_E VT_Video_LocalClose(VOID);
+
+/**
+ * º¯ÊýÃû³Æ£º VT_Video_Read
+ * ¹¦ÄÜÃèÊö£º VTÊÓÆµÊý¾Ý¶ÁÈ¡
+ * ²ÎÊý˵Ã÷£º (IN/OUT) pFrameBuf ´æ·Å¶ÁÈ¡µÄÊÓÆµÍ¼ÏñÊý¾Ý
+ * (IN) uiBufLen pFrameBufµÄ³¤¶È
+ * ·µ »Ø Öµ£º ³É¹¦·µ»ØÒѶÁÈ¡µÄ×Ö½ÚÊý£¬Ê§°Ü·µ»ØÐ¡ÓÚ0µÄÖµ
+ * ÆäËü˵Ã÷£º ÎÞ
+ */
+SINT32 VT_Video_Read(CHAR *pFrameBuf, UINT32 uiBufLen);
+
+/**
+ * º¯ÊýÃû³Æ£º VT_Video_Write
+ * ¹¦ÄÜÃèÊö£º VTÊÓÆµÊý¾ÝÊä³ö
+ * ²ÎÊý˵Ã÷£º (IN) pFrameBuf ´ýÊä³öµÄÊÓÆµÍ¼ÏñÊý¾ÝµØÖ·
+ * (IN) uiBufLen ´ýÊä³öµÄÊÓÆµÍ¼ÏñÊý¾Ý³¤¶È
+ * ·µ »Ø Öµ£º ³É¹¦·µ»ØÊä³öµÄ×Ö½ÚÊý£¬Ê§°Ü·µ»ØÐ¡ÓÚ0µÄÖµ
+ * ÆäËü˵Ã÷£º ÎÞ
+ */
+SINT32 VT_Video_Write(CHAR *pFrameBuf, UINT32 uiBufLen);
+
+/**
+ * º¯ÊýÃû³Æ£º VT_Video_SetDisplayParam
+ * ¹¦ÄÜÃèÊö£º VTÊÓÆµÏÔÊ¾ÇøÓòÉèÖÃ
+ * ²ÎÊý˵Ã÷£º (IN) pDisplayParam VTÊÓÆµ±¾¶Ô¶ËͼÏñÏÔÊ¾ÇøÓò
+ * ·µ »Ø Öµ£º ³É¹¦·µ»ØDCAMERA_OP_SUCCESS
+ * ÆäËü˵Ã÷£º ½Ó¿Ú±ØÐëÔÚVT_Video_Initºóµ÷Óã¬ÓÉÓÚÊÜÓ²¼þÏÞÖÆ
+ * ×ø±ê¡¢¿í¡¢¸ß²»ÄÜÊÇÈÎÒâµÄ×éºÏ
+ */
+DCAMERA_RETURN_VALUE_E VT_Video_SetDisplayParam(VT_VIDEO_DISPARAM_T *pDisplayParam);
+
+/**************************************************************************
+* º¯ÊýÃû³Æ£º mm_dvm_set_inputvolume
+* ¹¦ÄÜÃèÊö£º ÉèÖÃÉùÒôÊäÈëÒôÁ¿
+* ²ÎÊý˵Ã÷£º (IN)£º InputVol: ÊäÈëÒôÁ¿´óС
+* (OUT)£ºÎÞ
+* ·µ »Ø Öµ£º MM_COM_OP_SUCCESS: ³É¹¦
+* ÆäËü˵Ã÷£º
+**************************************************************************/
+SINT32 mm_dvm_set_inputvolume(T_MM_INPUT_VOLUME_LEVEL InputVol);
+
+
+/**************************************************************************
+* º¯ÊýÃû³Æ£º mm_dvm_set_volume
+* ¹¦ÄÜÃèÊö£º ÉèÖÃÉùÒôÊä³öÒôÁ¿
+* ²ÎÊý˵Ã÷£º (IN)£º OutPutVol: Êä³öÒôÁ¿´óС
+* (OUT)£ºÎÞ
+* ·µ »Ø Öµ£º MM_COM_OP_SUCCESS: ³É¹¦
+* ÆäËü˵Ã÷£º
+**************************************************************************/
+SINT32 mm_dvm_set_volume(T_MM_OUTPUT_VOLUME_LEVEL OutPutVol);
+
+
+/**************************************************************************
+* º¯ÊýÃû³Æ£º mm_dvm_set_inputchannel
+* ¹¦ÄÜÃèÊö£º ÉèÖÃÉùÒôÊäÈëͨµÀ
+* ²ÎÊý˵Ã÷£º (IN)£º InChannel: ÉùÒôÊäÈëͨµÀ
+* (OUT)£ºÎÞ
+* ·µ »Ø Öµ£º MM_COM_OP_SUCCESS: ³É¹¦
+* ÆäËü˵Ã÷£º
+**************************************************************************/
+SINT32 mm_dvm_set_inputchannel(T_MM_CHANNEL_INPUT InChannel);
+
+
+/**************************************************************************
+* º¯ÊýÃû³Æ£º mm_dvm_set_outputchannel
+* ¹¦ÄÜÃèÊö£º ÉèÖÃÉùÒôÊä³öͨµÀ
+* ²ÎÊý˵Ã÷£º (IN)£º OutChannel: ÉùÒôÊä³öͨµÀ
+* (OUT)£ºÎÞ
+* ·µ »Ø Öµ£º MM_COM_OP_SUCCESS: ³É¹¦
+* ÆäËü˵Ã÷£º
+**************************************************************************/
+SINT32 mm_dvm_set_outputchannel(T_MM_CHANNEL_OUTPUT OutChannel);
+
+
+/**************************************************************************
+* º¯ÊýÃû³Æ£º mm_dvm_set_mute
+* ¹¦ÄÜÃèÊö£º ÉèÖþ²Òô
+* ²ÎÊý˵Ã÷£º (IN)£º bFlag: True : ÉèÖþ²Òô
+ False: È¡Ïû¾²Òô
+* (OUT)£ºÎÞ
+* ·µ »Ø Öµ£º MM_COM_OP_SUCCESS: ³É¹¦
+* ÆäËü˵Ã÷£º
+**************************************************************************/
+SINT32 mm_dvm_set_mute(BOOL bFlag);
+
+
+
+
+/**************************************************************************
+* º¯ÊýÃû³Æ£º mm_dvm_set_zoom
+* ¹¦ÄÜÃèÊö£º ÉèÖÃ»ÃæËõ·Å
+* ²ÎÊý˵Ã÷£º (IN)£º ZoomLevel: »ÃæËõ·Åˮƽ
+* (OUT)£ºÎÞ
+* ·µ »Ø Öµ£º MM_COM_OP_SUCCESS: ³É¹¦
+* ÆäËü˵Ã÷£º
+**************************************************************************/
+SINT32 mm_dvm_set_zoom(T_MM_ZOOM_LEVEL ZoomLevel);
+
+
+/**************************************************************************
+* º¯ÊýÃû³Æ£º mm_dvm_set_brightness
+* ¹¦ÄÜÃèÊö£º ÉèÖÃ»ÃæÁÁ¶È
+* ²ÎÊý˵Ã÷£º (IN) Brightness£º»ÃæÁÁ¶È
+* (OUT) ÎÞ
+* ·µ »Ø Öµ£º MM_COM_OP_SUCCESS: ³É¹¦
+* ÆäËü˵Ã÷£º
+**************************************************************************/
+SINT32 mm_dvm_set_brightness(T_MM_CamBrightness Brightness);
+
+
+/**************************************************************************
+* º¯ÊýÃû³Æ£º mm_dvm_set_contrast
+* ¹¦ÄÜÃèÊö£º ÉèÖÃ»Ãæ¶Ô±È¶È
+* ²ÎÊý˵Ã÷£º (IN) Contrast£º»Ãæ¶Ô±È¶È
+* (OUT) ÎÞ
+* ·µ »Ø Öµ£º MM_COM_OP_SUCCESS: ³É¹¦
+* ÆäËü˵Ã÷£º
+**************************************************************************/
+SINT32 mm_dvm_set_contrast(T_MM_CamContrast Contrast);
+
+
+/**************************************************************************
+* º¯ÊýÃû³Æ£º mm_dvm_set_effect
+* ¹¦ÄÜÃèÊö£º ÉèÖÃ»ÃæÐ§¹û
+* ²ÎÊý˵Ã÷£º (IN) Effect£º»ÃæÐ§¹û
+* (OUT) ÎÞ
+* ·µ »Ø Öµ£º MM_COM_OP_SUCCESS: ³É¹¦
+* ÆäËü˵Ã÷£º
+**************************************************************************/
+SINT32 mm_dvm_set_effect(T_MM_CamEffect Effect);
+
+
+/**************************************************************************
+* º¯ÊýÃû³Æ£º mm_dvm_set_whitebalance
+* ¹¦ÄÜÃèÊö£º ÉèÖÃ»ÃæÐ§¹û
+* ²ÎÊý˵Ã÷£º (IN) WhiteBalance£º°×ƽºâÖµ
+* (OUT) ÎÞ
+* ·µ »Ø Öµ£º MM_COM_OP_SUCCESS: ³É¹¦
+* ÆäËü˵Ã÷£º
+**************************************************************************/
+SINT32 mm_dvm_set_whitebalance(T_MM_WHITE_BALANCE WhiteBalance);
+
+/**************************************************************************
+* º¯ÊýÃû³Æ£º mm_dvm_camswitch
+* ¹¦ÄÜÃèÊö£º Ñ¡ÔñÖ÷¸±ÉãÏñÍ·
+* ²ÎÊý˵Ã÷£º (IN)£º Sensor: ÉãÏñÍ·ÀàÐÍ
+* (OUT)£ºÎÞ
+* ·µ »Ø Öµ£º MM_COM_OP_SUCCESS: ³É¹¦
+* ÆäËü˵Ã÷£º ±ØÐëÏȶԵ±Ç°µÄÉãÏñÍ·¹Ø±Õ£¬¶øºóÔÙÇл»
+**************************************************************************/
+SINT32 mm_dvm_camswitch(T_MM_CAM_SENSOR Sensor);
+
+#ifdef __cplusplus
+ }
+#endif
+
+#endif
+