• 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 
19 #ifndef __SYS_DRV_H__
20 #define __SYS_DRV_H__
21 
22 #include "hi_comm_sys_adapt.h"
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif /* end of #ifdef __cplusplus */
27 
28 /* end : segment compress parameter data definition. */
29 hi_s32 sys_drv_init(hi_void);
30 hi_s32 sys_drv_exit(hi_void);
31 
32 hi_s32 sys_drv_drv_ioctrl(hi_mpp_chn *mpp_chn, hi_u32 func_id, hi_void *io_args);
33 
34 hi_void sys_drv_vi_vpss_mode_init(hi_void);
35 
36 hi_void sys_drv_set_priority(hi_vi_vpss_mode *vi_vpss_mode);
37 
38 hi_void sysconfig_drv_set_vi_vpss_mode(const hi_s32 vi_vpss_mode);
39 
40 #ifdef __cplusplus
41 }
42 #endif /* end of #ifdef __cplusplus */
43 
44 #endif /* end of #ifndef __SYS_DRV_H__ */
45