1 Star 0 Fork 1

zhaohe/linux-rga

forked from shijing/linux-rga 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
RgaApi.cpp 949 Bytes
一键复制 编辑 原始数据 按行查看 历史
Hertz Wang 提交于 2018-10-25 20:30 . enable c_RkRgaColorFill
#include "RgaApi.h"
#ifdef __cplusplus
extern "C"{
#endif
#include "RockchipRga.h"
RockchipRga rkRga;
int c_RkRgaInit()
{
int ret;
ret = rkRga.RkRgaInit();
return ret;
}
int c_RkRgaGetAllocBuffer(bo_t *bo_info, int width, int height, int bpp)
{
rkRga.RkRgaGetAllocBuffer(bo_info, width, height, bpp);
return 0;
}
int c_RkRgaGetMmap(bo_t *bo_info)
{
rkRga.RkRgaGetMmap(bo_info);
return 0;
}
int c_RkRgaUnmap(bo_t *bo_info)
{
rkRga.RkRgaUnmap(bo_info);
return 0;
}
int c_RkRgaFree(bo_t *bo_info)
{
rkRga.RkRgaFree(bo_info);
return 0;
}
int c_RkRgaGetBufferFd(bo_t *bo_info, int *fd)
{
rkRga.RkRgaGetBufferFd(bo_info, fd);
return 0;
}
int c_RkRgaBlit(rga_info_t *src, rga_info_t *dst, rga_info_t *src1)
{
int ret;
ret = rkRga.RkRgaBlit(src, dst, NULL);
return ret ;
}
int c_RkRgaColorFill(rga_info_t *dst)
{
return rkRga.RkRgaCollorFill(dst);
}
#ifdef __cplusplus
}
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhaohe1216/linux-rga.git
git@gitee.com:zhaohe1216/linux-rga.git
zhaohe1216
linux-rga
linux-rga
master

搜索帮助