mpi_region.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /******************************************************************************
  2. Copyright (C), 2016-2011, Hisilicon Tech. Co., Ltd.
  3. ******************************************************************************
  4. File Name : mpi_region.h
  5. Version : Initial Draft
  6. Author : Hisilicon multimedia software group
  7. Created : 2016/11/15
  8. Last Modified :
  9. Description : MPP Programe Interface for region moudle
  10. Function List :
  11. ******************************************************************************/
  12. #ifndef __MPI_REGION_H__
  13. #define __MPI_REGION_H__
  14. #include "hi_comm_region.h"
  15. #ifdef __cplusplus
  16. #if __cplusplus
  17. extern "C"{
  18. #endif
  19. #endif /* End of #ifdef __cplusplus */
  20. HI_S32 HI_MPI_RGN_Create(RGN_HANDLE Handle, const RGN_ATTR_S *pstRegion);
  21. HI_S32 HI_MPI_RGN_Destroy(RGN_HANDLE Handle);
  22. HI_S32 HI_MPI_RGN_GetAttr(RGN_HANDLE Handle, RGN_ATTR_S *pstRegion);
  23. HI_S32 HI_MPI_RGN_SetAttr(RGN_HANDLE Handle, const RGN_ATTR_S *pstRegion);
  24. HI_S32 HI_MPI_RGN_SetBitMap(RGN_HANDLE Handle, const BITMAP_S *pstBitmap);
  25. HI_S32 HI_MPI_RGN_AttachToChn(RGN_HANDLE Handle, const MPP_CHN_S *pstChn, const RGN_CHN_ATTR_S *pstChnAttr);
  26. HI_S32 HI_MPI_RGN_DetachFromChn(RGN_HANDLE Handle, const MPP_CHN_S *pstChn);
  27. HI_S32 HI_MPI_RGN_SetDisplayAttr(RGN_HANDLE Handle, const MPP_CHN_S *pstChn, const RGN_CHN_ATTR_S *pstChnAttr);
  28. HI_S32 HI_MPI_RGN_GetDisplayAttr(RGN_HANDLE Handle, const MPP_CHN_S *pstChn, RGN_CHN_ATTR_S *pstChnAttr);
  29. HI_S32 HI_MPI_RGN_GetCanvasInfo(RGN_HANDLE Handle, RGN_CANVAS_INFO_S *pstCanvasInfo);
  30. HI_S32 HI_MPI_RGN_UpdateCanvas(RGN_HANDLE Handle);
  31. HI_S32 HI_MPI_RGN_BatchBegin(RGN_HANDLEGROUP *pu32Group,HI_U32 u32Num,const RGN_HANDLE handle[]);
  32. HI_S32 HI_MPI_RGN_BatchEnd(RGN_HANDLEGROUP u32Group);
  33. HI_S32 HI_MPI_RGN_GetFd(HI_VOID);
  34. #ifdef __cplusplus
  35. #if __cplusplus
  36. }
  37. #endif
  38. #endif /* End of #ifdef __cplusplus */
  39. #endif /* End of #ifndef __MPI_REGION_H__ */