1 /*
2  * source/ekernel/drivers/test/disp2/disp_mem/disp_mem.h
3  *
4  * Copyright (c) 2007-2020 Allwinnertech Co., Ltd.
5  * Author: zhengxiaobin <zhengxiaobin@allwinnertech.com>
6  *
7  *
8  * This software is licensed under the terms of the GNU General Public
9  * License version 2, as published by the Free Software Foundation, and
10  * may be copied, distributed, and modified under those terms.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  */
18 #ifndef _DISP_MEM_H
19 #define _DISP_MEM_H
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 #include <video/sunxi_display2.h>
25 
26 int disp_mem(u32 mem_id, u32 width, u32 height, u32 clear_flag, char *filename);
27 int disp_mem_clear(u32 mem_id);
28 u32 disp_mem_getadr(u32 memid);
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 
34 #endif /*End of file*/
35