[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_dv.h b/cp/ps/plat/inc/msp/zte_dv.h
new file mode 100644
index 0000000..0f08bb5
--- /dev/null
+++ b/cp/ps/plat/inc/msp/zte_dv.h
@@ -0,0 +1,91 @@
+/*****************************************************************************
+ * °æ±¾ËùÓÐ (C)2008ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾
+ * Ä£¿éÃû £º
+ * ʵÏÖ¹¦ÄÜ £º
+ * ×÷Õß £º
+ * °æ±¾ £º
+ * Íê³ÉÈÕÆÚ £º
+ * ÆäËü˵Ã÷ £ºMSPÉãÏñ¶ÔÍâ½Ó¿ÚÍ·Îļþ
+ * ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
+ * ---------------------------------------------------------------------
+ * 2008/08/01 V1.0 XXXX XXXX
+************************************************************************/
+#ifndef ZTE_DV_H
+#define ZTE_DV_H
+
+/**************************************************************************
+ * Í·Îļþ°üº¬ *
+ **************************************************************************/
+#include "zte_display.h"
+/**************************************************************************
+ * ºê *
+ **************************************************************************/
+
+
+/**************************************************************************
+ * Êý¾ÝÀàÐÍ *
+ **************************************************************************/
+typedef enum
+{
+ VIDEO_MIC = 1,
+ VIDEO_HEADSET
+}VIDEO_CODEC_PATH;
+
+typedef enum
+{
+ FILE_3GP,
+ FILE_MP4
+}VIDEO_FILE_TYPE;
+
+typedef enum
+{
+ DV_TYPE,
+ VIDEO_TYPE,
+ STREAM_TYPE,
+ VT_TYPE
+}DV_APP_TYPE;
+
+typedef struct
+{
+ CHAR *savefile_path;
+ VIDEO_CODEC_PATH codec_path;
+ RECT_T rec_rect;
+ MIRROR_PARAM_T mirror;
+ MAN_ROTATE_TYPE rotate;
+ QUALITY_MODE_E quality;
+ UINT32 maxStreamSize;
+ BOOL audioenable;
+ EFFECT_TYPE_E effect;
+ VIDEO_FILE_TYPE filetype;
+}DV_RECORD_START_PARAM_T;
+
+/**************************************************************************
+ * º¯ÊýÔÐÍ *
+ **************************************************************************/
+DCAMERA_RETURN_VALUE_E DV_Open(DCAMERA_SENSOR_E param);
+
+DCAMERA_RETURN_VALUE_E DV_Close(void);
+
+DCAMERA_RETURN_VALUE_E DV_StartRecord(DV_RECORD_START_PARAM_T *param);
+
+DCAMERA_RETURN_VALUE_E DV_StopRecord(void);
+
+DCAMERA_RETURN_VALUE_E DV_PauseRecord(void);
+
+DCAMERA_RETURN_VALUE_E DV_ResumeRecord(void);
+
+DCAMERA_RETURN_VALUE_E DV_SetRotate(MAN_ROTATE_TYPE param);
+
+DCAMERA_RETURN_VALUE_E DV_SetZoom(ZOOM_LEVEL_E param);
+
+DCAMERA_RETURN_VALUE_E DV_SetBright(BRITENESS_E level);
+
+DCAMERA_RETURN_VALUE_E DV_SetContrast(CONTRAST_E level);
+
+DCAMERA_RETURN_VALUE_E DV_SetEffect(EFFECT_TYPE_E effect);
+
+DCAMERA_RETURN_VALUE_E DV_GetFileSize(UINT32 *length);
+
+DCAMERA_RETURN_VALUE_E DV_GetCurTime(UINT32 *uitime);
+
+#endif