• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2021 HiSilicon (Shanghai) Technologies CO., LIMITED.
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation; either version 2
7  * of the License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17  */
18 #ifndef __AUTOCONF_H__
19 #define __AUTOCONF_H__
20 
21 #define AUTOCONF_TIMESTAMP "2021-04-03 13:57:17 UTC"
22 
23 /*
24  * General Setup
25  */
26 #define CONFIG_HI3516CV500 1
27 #define CONFIG_HI_CHIP_TYPE 0x3516C500
28 #define CONFIG_HI_ARCH "hi3516cv500"
29 #define CONFIG_HI_SUBARCH "hi3516cv500"
30 #define CONFIG_HI_SUBCHIP_TYPE 0x3516C500
31 #define CONFIG_HI_SUBARCH "hi3516cv500"
32 #define CONFIG_HI_SUBCHIP_TYPE 0x3516C500
33 #define CONFIG_SUBCHIP_HI3516CV500 1
34 #define CONFIG_HI_SUBARCH "hi3516cv500"
35 #define CONFIG_HI_SUBCHIP_TYPE 0x3516C500
36 #define CONFIG_SMP 1
37 #define CONFIG_ARM_ARCH_TYPE "smp"
38 #define CONFIG_A7 1
39 #define CONFIG_CPU_TYPE "a7"
40 #define CONFIG_VERSION_ASIC 1
41 #define CONFIG_HI_FPGA "n"
42 #define CONFIG_LINUX_OS 1
43 #define CONFIG_OS_TYPE "linux"
44 #define CONFIG_USER_SPACE 1
45 #define CONFIG_DRIVER_SPACE_TYPE "user_space"
46 #define CONFIG_LINUX_4_19_y 1
47 #define CONFIG_KERNEL_VERSION "linux-4.19.y"
48 #define CONFIG_KERNEL_ARM_HIMIX410_LINUX 1
49 #define CONFIG_HI_CROSS "arm-himix410-linux-"
50 #define CONFIG_LIBC_TYPE "glibc"
51 #define CONFIG_KERNEL_BIT "KERNEL_BIT_32"
52 #define CONFIG_USER_LLVM 1
53 #define CONFIG_HI_CROSS_LIB "arm-linux-gnueabi-"
54 #define CONFIG_USER_BIT "USER_BIT_32"
55 #define CONFIG_RELEASE_TYPE_RELEASE 1
56 #define CONFIG_HI_RLS_MODE "HI_RELEASE"
57 #define CONFIG_CUSTOMER_VERSION_COMMON 1
58 #define CONFIG_CUSTOMER_VERSION "COMMON"
59 #define CONFIG_VERSION_NUMBER "1.0.0.1.10"
60 
61 /*
62  * Media Modules Setup
63  */
64 
65 /*
66  * media base config
67  */
68 
69 /*
70  * media sys config
71  */
72 #define CONFIG_HI_SYS_SUPPORT 1
73 #define CONFIG_HI_SYS_SCALE_COEF_SUPPORT 1
74 
75 /*
76  * media vi config
77  */
78 #define CONFIG_HI_VI_SUPPORT 1
79 #define CONFIG_HI_VI_BT656 1
80 #define CONFIG_HI_VI_MIPI 1
81 #define CONFIG_HI_VI_LDCV1_SUPPORT 1
82 #define CONFIG_HI_VI_LDCV2_SUPPORT 1
83 #define CONFIG_HI_VI_SENDYUV_SUPPORT 1
84 #define CONFIG_HI_VI_3DNRX_SUPPORT 1
85 #define CONFIG_HI_VI_USERPIC_SUPPORT 1
86 #define CONFIG_HI_VI_COVEREX_OVERLAYEX_SUPPORT 1
87 #define CONFIG_HI_VI_LUMA_SUPPORT 1
88 #define CONFIG_HI_VI_FPN_SUPPORT 1
89 #define CONFIG_HI_VI_EXTCHN_SUPPORT 1
90 #define CONFIG_HI_SNAP_SUPPORT 1
91 
92 /*
93  * media isp config
94  */
95 #define CONFIG_HI_ISP_SUPPORT 1
96 #define CONFIG_HI_ISP_AF_SUPPORT 1
97 #define CONFIG_HI_ISP_CR_SUPPORT 1
98 #define CONFIG_HI_ISP_PREGAMMA_SUPPORT 1
99 #define CONFIG_HI_ISP_GCAC_SUPPORT 1
100 #define CONFIG_HI_ISP_CA_SUPPORT 1
101 #define CONFIG_HI_ISP_EDGEMARK_SUPPORT 1
102 #define CONFIG_HI_ISP_HLC_SUPPORT 1
103 #define CONFIG_HI_ISP_SPECAWB_SUPPORT 1
104 #define CONFIG_HI_ISP_DPC_STATIC_TABLE_SUPPORT 1
105 
106 /*
107  * media dis config
108  */
109 #define CONFIG_HI_DIS_SUPPORT 1
110 
111 /*
112  * media vpss config
113  */
114 #define CONFIG_HI_VPSS_SUPPORT 1
115 #define CONFIG_HI_VPSS_3DNR_SUPPORT 1
116 #define CONFIG_HI_VPSS_LUMA_STAT_SUPPORT 1
117 #define CONFIG_HI_VPSS_COVER_SUPPORT 1
118 #define CONFIG_HI_VPSS_MOSAIC_SUPPORT 1
119 #define CONFIG_HI_VPSS_BUF_SHARE_SUPPORT 1
120 #define CONFIG_HI_VPSS_SPREAD_SUPPORT 1
121 
122 /*
123  * media avs config
124  */
125 
126 /*
127  * media gdc config
128  */
129 #define CONFIG_HI_GDC_SUPPORT 1
130 #define CONFIG_HI_GDC_LOWDELAY_SUPPORT 1
131 #define CONFIG_HI_GDC_FISHEYE_SUPPORT 1
132 #define CONFIG_HI_GDC_NNIE_SHARE_RAM 1
133 
134 /*
135  * media vgs config
136  */
137 #define CONFIG_HI_VGS_SUPPORT 1
138 #define CONFIG_HI_VGS_LUMA_STAT_SUPPORT 1
139 
140 /*
141  * media chnl config
142  */
143 #define CONFIG_HI_CHNL_SUPPORT 1
144 
145 /*
146  * media venc config
147  */
148 #define CONFIG_HI_VENC_SUPPORT 1
149 #define CONFIG_HI_H265E_SUPPORT 1
150 #define CONFIG_HI_H265E_USERDATA_SUPPORT 1
151 #define CONFIG_HI_H265E_INTRA_REFRESH_SUPPORT 1
152 #define CONFIG_HI_H264E_SUPPORT 1
153 #define CONFIG_HI_H264E_SVC_SUPPORT 1
154 #define CONFIG_HI_H264E_USERDATA_SUPPORT 1
155 #define CONFIG_HI_H264E_INTRA_REFRESH_SUPPORT 1
156 #define CONFIG_HI_JPEGE_SUPPORT 1
157 #define CONFIG_HI_MJPEGE_SUPPORT 1
158 #define CONFIG_HI_JPEGE_DCF_SUPPORT 1
159 #define CONFIG_HI_JPEGE_USERDATA_SUPPORT 1
160 #define CONFIG_HI_VENC_LOWDELAY_SUPPORT 1
161 #define CONFIG_HI_VENC_VPSSAUTO_SUPPORT 1
162 #define CONFIG_HI_VENC_FRAMEBUF_RECYCLE_SUPPORT 1
163 #define CONFIG_HI_VENC_MPF_VGS_SUPPORT 1
164 #define CONFIG_HI_VENC_VGS_SUPPORT 1
165 #define CONFIG_HI_VENC_SVC_SUPPORT 1
166 #define CONFIG_HI_VENC_SVC_USER_SEND_REGION 1
167 #define CONFIG_HI_VENC_SMARTP_SUPPORT 1
168 #define CONFIG_HI_VENC_DUALP_SUPPORT 1
169 #define CONFIG_HI_VENC_RCNREF_SHARE_SUPPORT 1
170 #define CONFIG_HI_VENC_DEBREATH_SUPPORT 1
171 #define CONFIG_HI_VENC_SKIPREF_SUPPORT 1
172 #define CONFIG_HI_VENC_SCENE0_SUPPORT 1
173 #define CONFIG_HI_VENC_SCENE1_SUPPORT 1
174 #define CONFIG_HI_VENC_SCENE2_SUPPORT 1
175 #define CONFIG_HI_RC_AVBR_SUPPORT 1
176 #define CONFIG_HI_RC_QPMAP_SUPPORT 1
177 #define CONFIG_HI_RC_QVBR_SUPPORT 1
178 #define CONFIG_HI_RC_CVBR_SUPPORT 1
179 
180 /*
181  * media vdec config
182  */
183 #define CONFIG_HI_VDEC_SUPPORT 1
184 #define CONFIG_HI_H265D_SUPPORT 1
185 #define CONFIG_HI_H264D_SUPPORT 1
186 #define CONFIG_VDEC_IP "VDEC_IP_VEDU"
187 #define CONFIG_HI_JPEGD_SUPPORT 1
188 #define CONFIG_HI_JPEGD_PROGRESSIVE 1
189 #define CONFIG_VDEC_USERDATA_SUPPORT 1
190 
191 /*
192  * media vo config
193  */
194 #define CONFIG_HI_VO_SUPPORT 1
195 #define CONFIG_HI_VO_FB_SEPARATE 1
196 #define CONFIG_HI_VO_COVER_OSD_SUPPORT 1
197 #define CONFIG_HI_VO_VGS 1
198 #define CONFIG_HI_VO_GRAPH 1
199 
200 /*
201  * media region config
202  */
203 #define CONFIG_HI_REGION_SUPPORT 1
204 #define CONFIG_HI_RGN_VGS_QUICKCOPY_SUPPORT 1
205 
206 /*
207  * media audio config
208  */
209 #define CONFIG_HI_AUDIO_SUPPORT 1
210 #define CONFIG_HI_ACODEC_SUPPORT 1
211 #define CONFIG_HI_ACODEC_VERSION "V660"
212 #define CONFIG_HI_ACODEC_MAX_GAIN 50
213 #define CONFIG_HI_ACODEC_MIN_GAIN 0
214 #define CONFIG_HI_ACODEC_GAIN_STEP 2
215 #define CONFIG_HI_ACODEC_FAST_POWER_SUPPORT 1
216 #define CONFIG_HI_DOWNVQE_SUPPORT 1
217 #define CONFIG_HI_TALKVQE_SUPPORT 1
218 #define CONFIG_HI_RECORDVQE_SUPPORT 1
219 #define CONFIG_HI_TALKVQEV2_SUPPORT 1
220 #define CONFIG_HI_TALKVQEV2_WNR_SUPPORT 1
221 #define CONFIG_HI_AUDIO_H7_NEW_VOICE_SUPPORT 1
222 #define CONFIG_HI_AUDIO_H7_NEW_VQE_SUPPORT 1
223 
224 /*
225  * media hdr config
226  */
227 
228 /*
229  * media mcf config
230  */
231 
232 /*
233  * Device Driver Setup
234  */
235 
236 /*
237  * drv config
238  */
239 #define CONFIG_DRV 1
240 #define CONFIG_EXTDRV 1
241 #define CONFIG_INTERDRV 1
242 #define CONFIG_CIPHER 1
243 #define CONFIG_HIUSER 1
244 #define CONFIG_MIPI_TX 1
245 #define CONFIG_MIPI_RX 1
246 #define CONFIG_HI_IR 1
247 #define CONFIG_HI_WDG 1
248 #define CONFIG_HI_SYSCFG 1
249 #define CONFIG_HI_IRQ 1
250 #define CONFIG_HI_PROC 1
251 
252 /*
253  * Component Setup
254  */
255 
256 /*
257  * Component hdmi Config
258  */
259 #define CONFIG_HI_HDMI_SUPPORT 1
260 
261 /*
262  * Component hifb Config
263  */
264 #define CONFIG_HI_HIFB_SUPPORT 1
265 
266 /*
267  * Component svp Config
268  */
269 #define CONFIG_HI_SVP_SUPPORT 1
270 #define CONFIG_HI_SVP_CNN 1
271 #define CONFIG_HI_SVP_RUNTIME 1
272 #define CONFIG_HI_SVP_IVE 1
273 #define CONFIG_HI_SVP_IVE_CSC 1
274 #define CONFIG_HI_SVP_IVE_FILTER_AND_CSC 1
275 #define CONFIG_HI_SVP_IVE_NCC 1
276 #define CONFIG_HI_SVP_IVE_LBP 1
277 #define CONFIG_HI_SVP_IVE_NORM_GRAD 1
278 #define CONFIG_HI_SVP_IVE_ST_CANDI_CORNER 1
279 #define CONFIG_HI_SVP_IVE_RESIZE 1
280 #define CONFIG_HI_SVP_IVE_PERSP_TRANS 1
281 #define CONFIG_HI_SVP_IVE_KCF 1
282 #define CONFIG_HI_SVP_IVE_HOG 1
283 #define CONFIG_HI_SVP_MD 1
284 
285 /*
286  * Component photo Config
287  */
288 
289 /*
290  * Component tde Config
291  */
292 #define CONFIG_HI_TDE_SUPPORT 1
293 
294 /*
295  * Component pciv Config
296  */
297 
298 /*
299  * Component avs lut Config
300  */
301 
302 /*
303  * Component pos_query Config
304  */
305 
306 /*
307  * Component tzasc Config
308  */
309 
310 /*
311  * Component motionfusion config
312  */
313 
314 /*
315  * Component pm Config
316  */
317 
318 /*
319  * Component gpu Config
320  */
321 
322 /*
323  * HISYSLINK Setup
324  */
325 
326 /*
327  * hisyslink config
328  */
329 
330 /*
331  * Debug Config
332  */
333 #define CONFIG_HI_GDB_NO 1
334 #define CONFIG_HI_GDB "n"
335 #define CONFIG_HI_PROC_SHOW_SUPPORT 1
336 #define CONFIG_HI_LOG_TRACE_SUPPORT 1
337 #define CONFIG_HI_LOG_TRACE_ALL 1
338 #define CONFIG_HI_LOG_TRACE_LEVEL 7
339 
340 /*
341  * Test Config
342  */
343 
344 #endif /* __AUTOCONF_H__ */
345 
346