isp_version.h 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. /****************************************************************************
  2. *
  3. * The MIT License (MIT)
  4. *
  5. * Copyright (c) 2020 VeriSilicon Holdings Co., Ltd.
  6. *
  7. * Permission is hereby granted, free of charge, to any person obtaining a
  8. * copy of this software and associated documentation files (the "Software"),
  9. * to deal in the Software without restriction, including without limitation
  10. * the rights to use, copy, modify, merge, publish, distribute, sublicense,
  11. * and/or sell copies of the Software, and to permit persons to whom the
  12. * Software is furnished to do so, subject to the following conditions:
  13. *
  14. * The above copyright notice and this permission notice shall be included in
  15. * all copies or substantial portions of the Software.
  16. *
  17. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  18. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  19. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  20. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  21. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  22. * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  23. * DEALINGS IN THE SOFTWARE.
  24. *
  25. *****************************************************************************
  26. *
  27. * The GPL License (GPL)
  28. *
  29. * Copyright (c) 2020 VeriSilicon Holdings Co., Ltd.
  30. *
  31. * This program is free software; you can redistribute it and/or
  32. * modify it under the terms of the GNU General Public License
  33. * as published by the Free Software Foundation; either version 2
  34. * of the License, or (at your option) any later version.
  35. *
  36. * This program is distributed in the hope that it will be useful,
  37. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  38. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  39. * GNU General Public License for more details.
  40. *
  41. * You should have received a copy of the GNU General Public License
  42. * along with this program;
  43. *
  44. *****************************************************************************
  45. *
  46. * Note: This software is released under dual MIT and GPL licenses. A
  47. * recipient may use this file under the terms of either the MIT license or
  48. * GPL License. If you wish to use only one license not the other, you can
  49. * indicate your decision by deleting one of the above license notices in your
  50. * version of this file.
  51. *
  52. *****************************************************************************/
  53. #ifndef _ISP_VERSION_H_
  54. #define _ISP_VERSION_H_
  55. #define ISP_EE_SUPPORT 1
  56. #define ISP_2DNR_SUPPORT (1 << 1)
  57. #define ISP_3DNR_SUPPORT (1 << 2)
  58. #define ISP_WDR3_SUPPORT (1 << 3)
  59. #define ISP_MIV2_SUPPORT (1 << 4)
  60. #define ISP_AEV2_SUPPORT (1 << 5)
  61. #define ISP_COMPAND_SUPPORT (1 << 6)
  62. #define ISP_HDR_STITCH_SUPPORT (1 << 7)
  63. /*****************************************************************************/
  64. /**
  65. * @brief HDR module version type
  66. */
  67. /*****************************************************************************/
  68. #define VSI_ISP_HDR_NOTSUPPORT 0 //!< Not support HDR
  69. #define VSI_ISP_HDR_V10 1 //!< Version V10
  70. #define VSI_ISP_HDR_V11 2 //!< Version V11
  71. #define VSI_ISP_HDR_V12 3 //!< Version V12
  72. #define VSI_ISP_HDR_V13 4 //!< Version V13
  73. /////////////////////////////////////////
  74. //add Version defines
  75. /////////////////////////////////////////
  76. /* add Version defines(Mrv_all_regs.h)
  77. ISP8000L_V2002、ISP8000_V2003、
  78. ISP8000NANO_V1801、ISP8000NANO_V1802、
  79. ISP8000_V1901、ISP8000L_V1901、ISP8000L_V1902、
  80. ISP8000L_V1903、ISP8000L_V1905、ISP8000L_V2001、ISP8000L_V2006
  81. */
  82. #define MRV_IMAGE_EFFECTS_VERSION 1
  83. #define MRV_SUPER_IMPOSE_VERSION 1
  84. #define MRV_BLACK_LEVEL_VERSION 1
  85. #define MRV_AUTO_EXPOSURE_VERSION 1
  86. #define MRV_AEV2_VERSION 1
  87. #define MRV_OUTPUT_FORMATTER_VERSION 1
  88. #define MRV_GAMMA_OUT_VERSION 1
  89. #define MRV_FLASH_LIGHT_VERSION 1
  90. #define MRV_SHUTTER_VERSION 1
  91. #define MRV_MAINPATH_SCALER_VERSION 1
  92. #define MRV_SELFPATH_SCALER_VERSION 1
  93. #define MRV_MI_VERSION 1
  94. //#define MRV_JPE_VERSION 1
  95. #define MRV_SMIA_VERSION 1
  96. #define MRV_MIPI_VERSION 1
  97. #define MRV_AUTOFOCUS_VERSION 1
  98. #define MRV_LSC_VERSION 1
  99. #define MRV_IS_VERSION 1
  100. #define MRV_HISTOGRAM_VERSION 1
  101. #define MRV_FILTER_VERSION 1
  102. #define MRV_CAC_VERSION 1
  103. #define MRV_DPF_VERSION 1
  104. #define MRV_DPCC_VERSION 1
  105. #define MRV_WDR_VERSION 1
  106. #define MRV_CSM_VERSION 1
  107. #define MRV_AWB_VERSION 1
  108. #define MRV_ELAWB_VERSION 1
  109. #define MRV_GAMMA_IN_VERSION 1
  110. #define MRV_SHUTTER_CTRL_VERSION 1
  111. #define MRV_CT_VERSION 1
  112. #define MRV_COLOR_PROCESSING_VERSION 1
  113. #define MRV_VSM_VERSION 1
  114. #define MRV_CNR_VERSION 1
  115. #define MRV_WDR2_VERSION 1
  116. #define MRV_WDR3_VERSION 1
  117. #define MRV_CMPD_VERSION 1 /* compand */
  118. #define MRV_TPG_VERSION 1
  119. //#define MRV_STITCHING_VERSION 1
  120. #define MRV_EE_VERSION 1
  121. #define MRV_2DNR_VERSION 1
  122. #ifdef ISP_3DNR
  123. #define MRV_3DNR_VERSION 1
  124. #endif
  125. #ifdef ISP_GCMONO
  126. #define MRV_GCMONO_VERSION 1
  127. #endif
  128. #ifdef ISP_RGBGC
  129. #define MRV_RGBGAMMA_VERSION 1
  130. #endif
  131. #ifdef ISP_DEC
  132. #define MRV_DEC_VERSION 1
  133. #endif
  134. #ifdef ISP_DEMOSAIC2
  135. #define MRV_DEMOSAIC_VERSION 1
  136. #endif
  137. #ifdef ISP_GREENEQUILIBRATE
  138. #define MRV_GREENEQUILIBRATION_VERSION 1
  139. #endif
  140. #ifdef ISP_CA
  141. #define MRV_COLOR_ADJUST_VERSION 1
  142. #endif
  143. #ifdef ISP_SP2
  144. #define MRV_SP2_VERSION 1
  145. #endif
  146. #ifdef ISP_HDR_STITCH_V2
  147. #undef MRV_STITCHING_VERSION
  148. #define MRV_STITCHING_VERSION 2 //1--V11, 2--V12
  149. #elif defined(ISP_HDR_STITCH_V3)
  150. #undef MRV_STITCHING_VERSION
  151. #define MRV_STITCHING_VERSION 3 //1--V11, 2--V12 3--V13
  152. #elif defined(ISP_HDR_STITCH)
  153. #undef MRV_STITCHING_VERSION
  154. #define MRV_STITCHING_VERSION 1 //1--V11, 2--V12 3--V13
  155. #endif
  156. #ifdef ISP_3DNR_V2
  157. #define MRV_3DNR_VERSION 1
  158. #endif
  159. #ifdef ISP_WDR_V4
  160. #define MRV_WDR4_VERSION 1
  161. #endif
  162. #ifdef ISP_3DNR_V3
  163. #define MRV_TDNR3_VERSION 1
  164. #endif
  165. #ifdef ISP_RGBIR
  166. #define MRV_RGBIR_VERSION 1
  167. #endif
  168. #ifdef ISP_HIST64
  169. #define MRV_HISTOGRAM64_VERSION 1
  170. #endif
  171. #endif /* _ISP_VERSION_H_ */