mpi_snap.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /******************************************************************************
  2. Copyright (C), 2017, Hisilicon Tech. Co., Ltd.
  3. ******************************************************************************
  4. File Name : mpi_vi.h
  5. Version : Initial Draft
  6. Author : Hisilicon multimedia software group
  7. Created : 2017/06/16
  8. Description :
  9. History :
  10. ******************************************************************************/
  11. #ifndef __MPI_SNAP_H__
  12. #define __MPI_SNAP_H__
  13. #include "hi_comm_video.h"
  14. #include "hi_comm_snap.h"
  15. #ifdef __cplusplus
  16. #if __cplusplus
  17. extern "C"
  18. {
  19. #endif
  20. #endif /* __cplusplus */
  21. HI_S32 HI_MPI_SNAP_SetPipeAttr(VI_PIPE ViPipe, const SNAP_ATTR_S *pstSnapAttr);
  22. HI_S32 HI_MPI_SNAP_GetPipeAttr(VI_PIPE ViPipe, SNAP_ATTR_S *pstSnapAttr);
  23. HI_S32 HI_MPI_SNAP_EnablePipe(VI_PIPE ViPipe);
  24. HI_S32 HI_MPI_SNAP_DisablePipe(VI_PIPE ViPipe);
  25. HI_S32 HI_MPI_SNAP_TriggerPipe(VI_PIPE ViPipe);
  26. HI_S32 HI_MPI_SNAP_MultiTrigger(VI_STITCH_GRP StitchGrp);
  27. /* HDR */
  28. HI_S32 HI_MPI_SNAP_SetProSharpenParam(VI_PIPE ViPipe, const ISP_PRO_SHARPEN_PARAM_S *pstIspShpParam);
  29. HI_S32 HI_MPI_SNAP_GetProSharpenParam(VI_PIPE ViPipe, ISP_PRO_SHARPEN_PARAM_S *pstIspShpParam);
  30. HI_S32 HI_MPI_SNAP_SetProBNRParam(VI_PIPE ViPipe, const ISP_PRO_BNR_PARAM_S *pstNrParma);
  31. HI_S32 HI_MPI_SNAP_GetProBNRParam(VI_PIPE ViPipe, ISP_PRO_BNR_PARAM_S *pstNrParma);
  32. HI_S32 HI_MPI_SNAP_SetBNRRawDumpAttr(VI_PIPE ViPipe, const BNR_DUMP_ATTR_S* pstBnrDumpAttr);
  33. HI_S32 HI_MPI_SNAP_GetBNRRawDumpAttr(VI_PIPE ViPipe, BNR_DUMP_ATTR_S* pstBnrDumpAttr);
  34. HI_S32 HI_MPI_SNAP_GetBNRRaw(VI_PIPE ViPipe, VIDEO_FRAME_INFO_S *pstVideoFrame, HI_S32 s32MilliSec);
  35. HI_S32 HI_MPI_SNAP_ReleaseBNRRaw(VI_PIPE ViPipe, const VIDEO_FRAME_INFO_S *pstVideoFrame);
  36. #ifdef __cplusplus
  37. #if __cplusplus
  38. }
  39. #endif
  40. #endif /* __cplusplus */
  41. #endif /*__MPI_SNAP_H__ */