summaryrefslogtreecommitdiff
path: root/bsp/allwinner/libraries/sunxi-hal/hal/test/disp2/disp_mem.h
blob: 16fbefba4d4d15f079c82d4e04c472f1824aa48c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * source/ekernel/drivers/test/disp2/disp_mem/disp_mem.h
 *
 * Copyright (c) 2007-2020 Allwinnertech Co., Ltd.
 * Author: zhengxiaobin <[email protected]>
 *
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */
#ifndef _DISP_MEM_H
#define _DISP_MEM_H

#ifdef __cplusplus
extern "C" {
#endif
#include <video/sunxi_display2.h>

int disp_mem(u32 mem_id, u32 width, u32 height, u32 clear_flag, char *filename);
int disp_mem_clear(u32 mem_id);
u32 disp_mem_getadr(u32 memid);

#ifdef __cplusplus
}
#endif

#endif /*End of file*/