stflib_mod_config.h 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. /**
  2. ******************************************************************************
  3. * @file stflib_mod_config.h
  4. * @author StarFive Isp Team
  5. * @version V1.0
  6. * @date 12/14/2019
  7. * @brief
  8. ******************************************************************************
  9. * @copy
  10. *
  11. * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
  12. * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
  13. * TIME. AS A RESULT, STARFIVE SHALL NOT BE HELD LIABLE FOR ANY
  14. * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
  15. * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
  16. * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
  17. *
  18. * Copyright (C) 2019 - 2022 StarFive Technology Co., Ltd.
  19. ******************************************************************************/
  20. #ifndef __STFLIB_MOD_CONFIG_H__
  21. #define __STFLIB_MOD_CONFIG_H__
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. #include "stf_include.h"
  26. #include "ci/ci_api_structs.h"
  27. #include "ISPC/stflib_isp_base.h"
  28. /* Each modules configuration library structure */
  29. /* Each modules configuration library variables */
  30. /* Each modules configuration library interface */
  31. //-----------------------------------------------------------------------------
  32. extern
  33. STF_RESULT STFLIB_SUD_Config(
  34. STF_U8 u8IspIdx
  35. );
  36. extern
  37. STF_RESULT STFLIB_CBAR_Config(
  38. STF_U8 u8IspIdx
  39. );
  40. extern
  41. STF_RESULT STFLIB_DC_Config(
  42. STF_U8 u8IspIdx
  43. );
  44. extern
  45. STF_RESULT STFLIB_DEC_Config(
  46. STF_U8 u8IspIdx
  47. );
  48. extern
  49. STF_RESULT STFLIB_OBC_Config(
  50. STF_U8 u8IspIdx
  51. );
  52. extern
  53. STF_RESULT STFLIB_DBC_Config(
  54. STF_U8 u8IspIdx
  55. );
  56. extern
  57. STF_RESULT STFLIB_CTC_Config(
  58. STF_U8 u8IspIdx
  59. );
  60. extern
  61. STF_RESULT STFLIB_LCBQ_Config(
  62. STF_U8 u8IspIdx
  63. );
  64. extern
  65. STF_RESULT STFLIB_OECF_Config(
  66. STF_U8 u8IspIdx
  67. );
  68. extern
  69. STF_RESULT STFLIB_OECFHM_Config(
  70. STF_U8 u8IspIdx
  71. );
  72. extern
  73. STF_RESULT STFLIB_LCCF_CONFIG(
  74. STF_U8 u8IspIdx
  75. );
  76. extern
  77. STF_RESULT STFLIB_AWB_Config(
  78. STF_U8 u8IspIdx
  79. );
  80. extern
  81. STF_RESULT STFLIB_CFA_Config(
  82. STF_U8 u8IspIdx
  83. );
  84. extern
  85. STF_RESULT STFLIB_CAR_Config(
  86. STF_U8 u8IspIdx
  87. );
  88. extern
  89. STF_RESULT STFLIB_CCM_Config(
  90. STF_U8 u8IspIdx
  91. );
  92. extern
  93. STF_RESULT STFLIB_GMARGB_Config(
  94. STF_U8 u8IspIdx
  95. );
  96. extern
  97. STF_RESULT STFLIB_R2Y_Config(
  98. STF_U8 u8IspIdx
  99. );
  100. extern
  101. STF_RESULT STFLIB_YCRV_Config(
  102. STF_U8 u8IspIdx
  103. );
  104. extern
  105. STF_RESULT STFLIB_SHRP_Config(
  106. STF_U8 u8IspIdx
  107. );
  108. extern
  109. STF_RESULT STFLIB_DNYUV_Config(
  110. STF_U8 u8IspIdx
  111. );
  112. extern
  113. STF_RESULT STFLIB_SAT_Config(
  114. STF_U8 u8IspIdx
  115. );
  116. extern
  117. STF_RESULT STFLIB_OBA_Config(
  118. STF_U8 u8IspIdx
  119. );
  120. extern
  121. STF_RESULT STFLIB_SC_Config(
  122. ST_MEMS_INFO *pstMemsInfo
  123. );
  124. extern
  125. STF_RESULT STFLIB_YHIST_Config(
  126. ST_MEMS_INFO *pstMemsInfo
  127. );
  128. extern
  129. STF_RESULT STFLIB_DUMP_Config(
  130. ST_MEMS_INFO *pstMemsInfo
  131. );
  132. extern
  133. STF_RESULT STFLIB_OUT_Config(
  134. ST_MEMS_INFO *pstMemsInfo
  135. );
  136. extern
  137. STF_RESULT STFLIB_TIL_Config(
  138. ST_MEMS_INFO *pstMemsInfo
  139. );
  140. //-----------------------------------------------------------------------------
  141. extern
  142. STF_RESULT STFLIB_ISP_CSI_Config(
  143. STF_U8 u8IspIdx,
  144. ST_SIZE stSize
  145. );
  146. //-----------------------------------------------------------------------------
  147. extern
  148. STF_RESULT STFLIB_Mod_Config(
  149. ST_MEMS_INFO *pstMemsInfo
  150. );
  151. //-----------------------------------------------------------------------------
  152. #ifdef __cplusplus
  153. }
  154. #endif
  155. #endif //__STFLIB_MOD_CONFIG_H__