• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2022 HiSilicon (Shanghai) Technologies CO., LIMITED.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef __HI_MOD_PARAM__
17 #define __HI_MOD_PARAM__
18 
19 #include "hi_type.h"
20 #include "hi_defines.h"
21 
22 typedef struct hi_vgs_module_params_s {
23     HI_U32 u32_max_vgs_job;
24     HI_U32 u32_max_vgs_task;
25     HI_U32 u32_max_vgs_node;
26     HI_U32 au32_vgs_en[VGS_IP_NUM];
27     HI_BOOL b_vgs_hdr_support;
28     HI_BOOL b_vgs_exit_in_sys;
29 } vgs_module_params_s;
30 
31 typedef struct hi_gdc_module_params_s {
32     HI_U32 u32_max_gdc_job;
33     HI_U32 u32_max_gdc_task;
34     HI_U32 u32_max_gdc_node;
35     HI_U32 au32_gdc_en[GDC_IP_NUM];
36 } gdc_module_params_s;
37 
38 typedef struct hivdec_module_params_s {
39     HI_U32 u32_vdec_max_chn_num;
40     HI_BOOL b_vdec_hfr;
41 } vdec_module_params_s;
42 
43 typedef struct hi_ive_module_params_s {
44     HI_BOOL b_save_power_en;
45     HI_U16  u16_ive_node_num;
46     HI_U16  u16_rsv;
47 } ive_module_params_s;
48 
49 typedef struct hi_svp_nnie_module_params_s {
50     HI_BOOL b_save_power_en;
51     HI_U16 u16_nnie_tsk_buf_num;
52 } svp_nnie_module_params_s;
53 
54 
55 typedef struct hi_h265e_module_params_s {
56     HI_U32 u32_feature_enable;
57 } h265e_module_params_s;
58 
59 typedef struct hi_venc_module_params_s {
60     HI_U32 u32_venc_max_chn_num;
61 } venc_module_params_s;
62 
63 typedef struct hi_vfmw_module_params_s {
64     HI_S32 s32_vfmw_max_chn_num;
65 } vfmw_module_params_s;
66 
67 typedef struct hi_acodec_module_params_s {
68     HI_U32  u32_init_delay_timems;
69 } acodec_module_params_s;
70 
71 #endif
72 
73