/****************************************************************************** Copyright (C), 2001-2011, Huawei Tech. Co., Ltd. ****************************************************************************** File Name : tde_type.h Version : Initial Draft Author : w54130 Created : 2007/5/21 Last Modified : Description : TDE public type Function List : History : 1.Date : 2007/5/21 Author : w54130 Modification: Created file ******************************************************************************/ #ifndef __TDE_TYPE_H__ #define __TDE_TYPE_H__ #ifdef __cplusplus #if __cplusplus extern "C"{ #endif #endif /* End of #ifdef __cplusplus */ #include "hi_tde_errcode.h" /****************************************************************************/ /* TDE2 types define */ /****************************************************************************/ /** TDE handle */ typedef HI_S32 TDE_HANDLE; /** TDE callback */ typedef HI_VOID (* TDE_FUNC_CB) (HI_VOID *pParaml, HI_VOID *pParamr); /* color format */ typedef enum hiTDE2_COLOR_FMT_E { TDE2_COLOR_FMT_RGB444 = 0, /**< RGB444 format */ TDE2_COLOR_FMT_BGR444, /**< BGR444 format */ TDE2_COLOR_FMT_RGB555, /**< RGB555 format */ TDE2_COLOR_FMT_BGR555, /**< BGR555 format */ TDE2_COLOR_FMT_RGB565, /**< RGB565 format */ TDE2_COLOR_FMT_BGR565, /**< BGR565 format */ TDE2_COLOR_FMT_RGB888, /**< RGB888 format */ TDE2_COLOR_FMT_BGR888, /**< BGR888 format */ TDE2_COLOR_FMT_ARGB4444, /**< ARGB4444 format */ TDE2_COLOR_FMT_ABGR4444, /**< ABGR4444 format */ TDE2_COLOR_FMT_RGBA4444, /**< RGBA4444 format */ TDE2_COLOR_FMT_BGRA4444, /**< BGRA4444 format */ TDE2_COLOR_FMT_ARGB1555, /**< ARGB1555 format */ TDE2_COLOR_FMT_ABGR1555, /**< ABGR1555 format */ TDE2_COLOR_FMT_RGBA1555, /**< RGBA1555 format */ TDE2_COLOR_FMT_BGRA1555, /**< BGRA1555 format */ TDE2_COLOR_FMT_ARGB8565, /**< ARGB8565 format */ TDE2_COLOR_FMT_ABGR8565, /**< ABGR8565 format */ TDE2_COLOR_FMT_RGBA8565, /**< RGBA8565 format */ TDE2_COLOR_FMT_BGRA8565, /**< BGRA8565 format */ TDE2_COLOR_FMT_ARGB8888, /**< ARGB8888 format */ TDE2_COLOR_FMT_ABGR8888, /**< ABGR8888 format */ TDE2_COLOR_FMT_RGBA8888, /**< RGBA8888 format */ TDE2_COLOR_FMT_BGRA8888, /**< BGRA8888 format */ TDE2_COLOR_FMT_RABG8888, /**