mpi_gdc.h 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. /******************************************************************************
  2. Copyright (C), 2016, Hisilicon Tech. Co., Ltd.
  3. ******************************************************************************
  4. File Name : mpi_gdc.h
  5. Version : Initial Draft
  6. Author : Hisilicon multimedia software group
  7. Created : 2016/07/15
  8. Last Modified :
  9. Description :
  10. Function List :
  11. ******************************************************************************/
  12. #ifndef __MPI_GDC_H__
  13. #define __MPI_GDC_H__
  14. #include "hi_common.h"
  15. #include "hi_comm_video.h"
  16. #include "hi_comm_gdc.h"
  17. #ifdef __cplusplus
  18. #if __cplusplus
  19. extern "C" {
  20. #endif
  21. #endif /* __cplusplus */
  22. /*****************************************************************************
  23. Prototype : HI_MPI_GDC_BeginJob
  24. Description : Begin a gdc job,then add task into the job,gdc will finish all the task in the job.
  25. Input : GDC_HANDLE *phHandle
  26. Output : None
  27. Return Value :
  28. Calls :
  29. Called By :
  30. </$>
  31. History :
  32. 1.Date : 2016/10/07
  33. Author :
  34. Modification : Created function
  35. <$/>
  36. *****************************************************************************/
  37. HI_S32 HI_MPI_GDC_BeginJob(GDC_HANDLE* phHandle);
  38. /*****************************************************************************
  39. Prototype : HI_MPI_GDC_EndJob
  40. Description : End a job,all tasks in the job will be submmitted to gdc
  41. Input : GDC_HANDLE hHandle
  42. Output : None
  43. Return Value :
  44. Calls :
  45. Called By :
  46. </$>
  47. History :
  48. 1.Date : 2016/10/07
  49. Author :
  50. Modification : Created function
  51. <$/>
  52. *****************************************************************************/
  53. HI_S32 HI_MPI_GDC_EndJob(GDC_HANDLE hHandle);
  54. /*****************************************************************************
  55. Prototype : HI_MPI_GDC_CancelJob
  56. Description : Cancel a job ,then all tasks in the job will not be submmitted to gdc
  57. Input : GDC_HANDLE hHandle
  58. Output : None
  59. Return Value :
  60. Calls :
  61. Called By :
  62. </$>
  63. History :
  64. 1.Date : 2016/10/07
  65. Author :
  66. Modification : Created function
  67. <$/>
  68. *****************************************************************************/
  69. HI_S32 HI_MPI_GDC_CancelJob(GDC_HANDLE hHandle);
  70. /*****************************************************************************
  71. Prototype : HI_MPI_GDC_AddCorrectionTask
  72. Description : Add a task to a gdc job
  73. Input : GDC_HANDLE hHandle
  74. GDC_TASK_ATTR_S *pstTask
  75. FISHEYE_ATTR_S *pstGdcAttr
  76. Output : None
  77. Return Value :
  78. Calls :
  79. Called By :
  80. </$>
  81. History :
  82. 1.Date : 2016/10/07
  83. Author :
  84. Modification : Created function
  85. <$/>
  86. *****************************************************************************/
  87. HI_S32 HI_MPI_GDC_AddCorrectionTask(GDC_HANDLE hHandle, const GDC_TASK_ATTR_S* pstTask, const FISHEYE_ATTR_S* pstFisheyeAttr);
  88. /*****************************************************************************
  89. Prototype : HI_MPI_GDC_SetConfig
  90. Description : Set Config
  91. Input : GDC_HANDLE hHandle
  92. FISHEYE_JOB_CONFIG_S *stJobConfig
  93. Output : None
  94. Return Value :
  95. Calls :
  96. Called By :
  97. </$>
  98. History :
  99. 1.Date : 2016/09/13
  100. Author :
  101. Modification : Created function
  102. <$/>
  103. *****************************************************************************/
  104. HI_S32 HI_MPI_GDC_SetConfig(GDC_HANDLE hHandle, const FISHEYE_JOB_CONFIG_S* pstJobConfig);
  105. /*****************************************************************************
  106. Prototype : HI_MPI_GDC_AddPMFTask
  107. Description : Set Config
  108. Input : GDC_HANDLE hHandle
  109. GDC_TASK_ATTR_S* pstTask
  110. GDC_PMF_ATTR_S* pstGdcPmfAttrr
  111. Output : None
  112. Return Value :
  113. Calls :
  114. Called By :
  115. </$>
  116. History :
  117. 1.Date : 2018/05/02
  118. Author :
  119. Modification : Created function
  120. <$/>
  121. *****************************************************************************/
  122. HI_S32 HI_MPI_GDC_AddPMFTask(GDC_HANDLE hHandle, const GDC_TASK_ATTR_S* pstTask, const GDC_PMF_ATTR_S* pstGdcPmfAttrr);
  123. #ifdef __cplusplus
  124. #if __cplusplus
  125. }
  126. #endif
  127. #endif /* __cplusplus */
  128. #endif /* __MPI_GDC_H__ */