/****************************************************************************** Copyright (C), 2001-2016, Allwinner Tech. Co., Ltd. ****************************************************************************** File Name : mpi_venc_common.c Version : Initial Draft Author : Allwinner BU3-PD2 Team Created : 2016/05/23 Last Modified : Description : mpi functions implement Function List : History : ******************************************************************************/ #ifndef _MPI_VENC_PRIVATE_H_ #define _MPI_VENC_PRIVATE_H_ #include "plat_type.h" #include "plat_errno.h" #include "plat_defines.h" #include "plat_math.h" #include "mm_common.h" #include "mm_component.h" #include #ifdef __cplusplus extern "C" { #endif ERRORTYPE VENC_Construct(void); ERRORTYPE VENC_Destruct(void); MM_COMPONENTTYPE* VENC_GetChnComp(MPP_CHN_S *pMppChn); ERRORTYPE AW_MPI_VENC_SetRegions(VENC_CHN VeChn, RgnChnAttachDetailPack *pPack); ERRORTYPE AW_MPI_VENC_DeleteRegions(VENC_CHN VeChn, RgnChnAttachDetailPack *pPack); /** * update immediately on next frame */ ERRORTYPE AW_MPI_VENC_UpdateOverlayBitmap(VENC_CHN VeChn, RGN_HANDLE RgnHandle, BITMAP_S *pBitmap); ERRORTYPE AW_MPI_VENC_UpdateRegionChnAttr(VENC_CHN VeChn, RGN_HANDLE RgnHandle, const RGN_CHN_ATTR_S *pRgnChnAttr); #ifdef __cplusplus } #endif #endif /* _MPI_VENC_PRIVATE_H_ */