WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
soc_gmmu_api.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2021-2023. All rights reserved.
3 * Description:gmmu api interface
4 */
5
6#ifndef SOC_GMMU_API_H
7#define SOC_GMMU_API_H
8
9#include "td_type.h"
10
11#ifdef __cplusplus
12#if __cplusplus
13extern "C" {
14#endif
15#endif
16
23/*-------------------------------- macro define -------------------------------------------*/
24
25#define GMMU_BUF_CNT 2
26
27/*-------------------------------- struct define ------------------------------------------*/
28
46
62
73/*-------------------------------- func declares ------------------------------------------*/
74
89
98
109
120
125#ifdef __cplusplus
126#if __cplusplus
127}
128#endif
129#endif
130
131#endif /* SOC_GMMU_API_H */
td_void uapi_gmmu_alloc(gmmu_buf_ptr gmmu_buf)
Gmmu 内存申请
td_void uapi_gmmu_free(gmmu_buf_ptr gmmu_buf)
Gmmu 内存释放
td_s32 uapi_gmmu_init(const gmmu_attr_ptr gmmu_attr)
Gmmu 内存初始化
td_void uapi_gmmu_deinit(td_void)
Gmmu 内存去初始化
struct gmmu_buf_struct * gmmu_buf_ptr
gmmu buffer属性
#define GMMU_BUF_CNT
Definition soc_gmmu_api.h:25
struct gmmu_attr_struct * gmmu_attr_ptr
gmmu内存属性
gmmu内存属性
Definition soc_gmmu_api.h:36
td_u32 height
Definition soc_gmmu_api.h:41
td_u8 bpp
Definition soc_gmmu_api.h:37
td_u8 offset
Definition soc_gmmu_api.h:43
td_u32 width
Definition soc_gmmu_api.h:39
gmmu buffer属性
Definition soc_gmmu_api.h:54
td_u32 size
Definition soc_gmmu_api.h:57
td_u32 stride
Definition soc_gmmu_api.h:55
td_u32 buffer[2]
Definition soc_gmmu_api.h:59
unsigned char td_u8
Definition td_type.h:36
void td_void
Definition td_type.h:49
unsigned int td_u32
Definition td_type.h:38
int td_s32
Definition td_type.h:44