mpi_dpu_match.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /******************************************************************************
  2. Copyright (C), 2017-2018, Hisilicon Tech. Co., Ltd.
  3. ******************************************************************************
  4. File Name : mpi_match.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_MATCH_H__
  14. #define __MPI_MATCH_H__
  15. #ifdef __cplusplus
  16. #if __cplusplus
  17. extern "C"{
  18. #endif
  19. #endif /* __cplusplus */
  20. #include "hi_comm_dpu_match.h"
  21. HI_S32 HI_MPI_DPU_MATCH_GetAssistBufSize(HI_U16 u16DispNum, HI_U32 u32DstHeight, HI_U32 *pu32Size);
  22. HI_S32 HI_MPI_DPU_MATCH_CreateGrp(DPU_MATCH_GRP DpuMatchGrp, const DPU_MATCH_GRP_ATTR_S *pstGrpAttr);
  23. HI_S32 HI_MPI_DPU_MATCH_DestroyGrp(DPU_MATCH_GRP DpuMatchGrp);
  24. HI_S32 HI_MPI_DPU_MATCH_SetGrpAttr(DPU_MATCH_GRP DpuMatchGrp,const DPU_MATCH_GRP_ATTR_S *pstGrpAttr);
  25. HI_S32 HI_MPI_DPU_MATCH_GetGrpAttr(DPU_MATCH_GRP DpuMatchGrp, DPU_MATCH_GRP_ATTR_S *pstGrpAttr);
  26. HI_S32 HI_MPI_DPU_MATCH_StartGrp(DPU_MATCH_GRP DpuMatchGrp);
  27. HI_S32 HI_MPI_DPU_MATCH_StopGrp(DPU_MATCH_GRP DpuMatchGrp);
  28. HI_S32 HI_MPI_DPU_MATCH_SetChnAttr(DPU_MATCH_GRP DpuMatchGrp, DPU_MATCH_CHN DpuMatchChn,const DPU_MATCH_CHN_ATTR_S *pstChnAttr);
  29. HI_S32 HI_MPI_DPU_MATCH_GetChnAttr(DPU_MATCH_GRP DpuMatchGrp, DPU_MATCH_CHN DpuMatchChn, DPU_MATCH_CHN_ATTR_S *pstChnAttr);
  30. HI_S32 HI_MPI_DPU_MATCH_EnableChn(DPU_MATCH_GRP DpuMatchGrp, DPU_MATCH_CHN DpuMatchChn);
  31. HI_S32 HI_MPI_DPU_MATCH_DisableChn(DPU_MATCH_GRP DpuMatchGrp, DPU_MATCH_CHN DpuMatchChn);
  32. HI_S32 HI_MPI_DPU_MATCH_GetFrame(DPU_MATCH_GRP DpuMatchGrp, VIDEO_FRAME_INFO_S *pstSrcLeftFrame,
  33. VIDEO_FRAME_INFO_S *pstSrcRightFrame, VIDEO_FRAME_INFO_S *pstDstFrame, HI_S32 s32MilliSec);
  34. HI_S32 HI_MPI_DPU_MATCH_ReleaseFrame(DPU_MATCH_GRP DpuMatchGrp,const VIDEO_FRAME_INFO_S *pstSrcLeftFrame,
  35. const VIDEO_FRAME_INFO_S *pstSrcRightFrame,const VIDEO_FRAME_INFO_S *pstDstFrame);
  36. HI_S32 HI_MPI_DPU_MATCH_SendFrame(DPU_MATCH_GRP DpuMatchGrp,const VIDEO_FRAME_INFO_S *pstLeftFrame,
  37. const VIDEO_FRAME_INFO_S *pstRightFrame, HI_S32 s32MilliSec);
  38. #ifdef __cplusplus
  39. #if __cplusplus
  40. }
  41. #endif
  42. #endif /* __cplusplus */
  43. #endif /* __MPI_MATCH_H__ */