mpi_dpu_rect.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /******************************************************************************
  2. Copyright (C), 2017-2018, Hisilicon Tech. Co., Ltd.
  3. ******************************************************************************
  4. File Name : mpi_rect.h
  5. Version : Initial Draft
  6. Author : Hisilicon multimedia software group
  7. Created : 2017/09/20
  8. Description :
  9. History :
  10. 1.Date : 2017/09/20
  11. Modification: Created file
  12. ******************************************************************************/
  13. #ifndef __MPI_RECT_H__
  14. #define __MPI_RECT_H__
  15. #ifdef __cplusplus
  16. #if __cplusplus
  17. extern "C"{
  18. #endif
  19. #endif /* __cplusplus */
  20. #include "hi_comm_dpu_rect.h"
  21. HI_S32 HI_MPI_DPU_RECT_GetLutSize(const HI_CHAR *pchFileName, HI_U32 *pu32Size);
  22. HI_S32 HI_MPI_DPU_RECT_LoadLut(const HI_CHAR *pchFileName,
  23. const DPU_RECT_MEM_INFO_S *pstLutMem, DPU_RECT_LUT_ID *pDpuRectLutId);
  24. HI_S32 HI_MPI_DPU_RECT_UnloadLut(DPU_RECT_LUT_ID DpuRectLutId);
  25. HI_S32 HI_MPI_DPU_RECT_CreateGrp(DPU_RECT_GRP DpuRectGrp, const DPU_RECT_GRP_ATTR_S *pstGrpAttr);
  26. HI_S32 HI_MPI_DPU_RECT_DestroyGrp(DPU_RECT_GRP DpuRectGrp);
  27. HI_S32 HI_MPI_DPU_RECT_SetGrpAttr(DPU_RECT_GRP DpuRectGrp, const DPU_RECT_GRP_ATTR_S *pstGrpAttr);
  28. HI_S32 HI_MPI_DPU_RECT_GetGrpAttr(DPU_RECT_GRP DpuRectGrp, DPU_RECT_GRP_ATTR_S *pstGrpAttr);
  29. HI_S32 HI_MPI_DPU_RECT_SetChnAttr(DPU_RECT_GRP DpuRectGrp, DPU_RECT_CHN DpuRectChn, const DPU_RECT_CHN_ATTR_S *pstChnAttr);
  30. HI_S32 HI_MPI_DPU_RECT_GetChnAttr(DPU_RECT_GRP DpuRectGrp, DPU_RECT_CHN DpuRectChn, DPU_RECT_CHN_ATTR_S *pstChnAttr);
  31. HI_S32 HI_MPI_DPU_RECT_EnableChn(DPU_RECT_GRP DpuRectGrp, DPU_RECT_CHN DpuRectChn);
  32. HI_S32 HI_MPI_DPU_RECT_DisableChn(DPU_RECT_GRP DpuRectGrp, DPU_RECT_CHN DpuRectChn);
  33. HI_S32 HI_MPI_DPU_RECT_StartGrp(DPU_RECT_GRP DpuRectGrp);
  34. HI_S32 HI_MPI_DPU_RECT_StopGrp(DPU_RECT_GRP DpuRectGrp);
  35. HI_S32 HI_MPI_DPU_RECT_GetFrame(DPU_RECT_GRP DpuRectGrp, VIDEO_FRAME_INFO_S *pstSrcLeftFrame,
  36. VIDEO_FRAME_INFO_S *pstSrcRightFrame,VIDEO_FRAME_INFO_S *pstDstLeftFrame,
  37. VIDEO_FRAME_INFO_S *pstDstRightFrame, HI_S32 s32MilliSec);
  38. HI_S32 HI_MPI_DPU_RECT_ReleaseFrame(DPU_RECT_GRP DpuRectGrp,const VIDEO_FRAME_INFO_S *pstSrcLeftFrame,
  39. const VIDEO_FRAME_INFO_S *pstSrcRightFrame, const VIDEO_FRAME_INFO_S *pstDstLeftFrame,
  40. const VIDEO_FRAME_INFO_S *pstDstRightFrame);
  41. HI_S32 HI_MPI_DPU_RECT_SendFrame(DPU_RECT_GRP DpuRectGrp, const VIDEO_FRAME_INFO_S *pstLeftFrame,
  42. const VIDEO_FRAME_INFO_S *pstRightFrame, HI_S32 s32MilliSec);
  43. #ifdef __cplusplus
  44. #if __cplusplus
  45. }
  46. #endif
  47. #endif /* __cplusplus */
  48. #endif /* __MPI_RECT_H__ */