1 Star 0 Fork 354

ewin66/awtk

forked from zlgopen/awtk 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
lcd_mem_bgr565.h 2.64 KB
一键复制 编辑 原始数据 按行查看 历史
lixianjing 提交于 2022-01-31 11:25 +08:00 . update comments
/**
* File: lcd_mem_bgr565.h
* Author: AWTK Develop Team
* Brief: bgr565 mem lcd.
*
* Copyright (c) 2018 - 2022 Guangzhou ZHIYUAN Electronics Co.,Ltd.
*
* 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
* license file for more details.
*
*/
/**
* history:
* ================================================================
* 2021-07-08 Generated by gen.sh(DONT MODIFY IT)
*
*/
#ifndef TK_LCD_MEM_BGR565_H
#define TK_LCD_MEM_BGR565_H
#include "lcd/lcd_mem.h"
BEGIN_C_DECLS
/**
* @class lcd_mem_bgr565_t
* @parent lcd_t
* @annotation ["fake"]
*/
/**
* @method lcd_mem_bgr565_create
*
* 创建lcd对象。
*
* @param {wh_t} w 宽度。
* @param {wh_t} h 高度。
* @param {bool_t} alloc 是否分配内存。
*
* @return {lcd_t*} 返回lcd对象。
*/
lcd_t* lcd_mem_bgr565_create(wh_t w, wh_t h, bool_t alloc);
/**
* @method lcd_mem_bgr565_create_single_fb
*
* 创建single fb lcd对象。
*
* @param {wh_t} w 宽度。
* @param {wh_t} h 高度。
* @param {uint8_t*} fbuff 帧率缓冲区。
*
* @return {lcd_t*} 返回lcd对象。
*/
lcd_t* lcd_mem_bgr565_create_single_fb(wh_t w, wh_t h, uint8_t* fbuff);
/**
* @method lcd_mem_bgr565_create_double_fb
*
* 创建double fb lcd对象。
*
* @param {wh_t} w 宽度。
* @param {wh_t} h 高度。
* @param {uint8_t*} online_fb 在线帧率缓冲区。
* @param {uint8_t*} offline_fb 离线帧率缓冲区。
*
* @return {lcd_t*} 返回lcd对象。
*/
lcd_t* lcd_mem_bgr565_create_double_fb(wh_t w, wh_t h, uint8_t* online_fb, uint8_t* offline_fb);
/**
* @method lcd_mem_bgr565_create_three_fb
*
* 创建three fb lcd对象。
*
* @param {wh_t} w 宽度。
* @param {wh_t} h 高度。
* @param {uint8_t*} online_fb 在线帧率缓冲区。
* @param {uint8_t*} offline_fb 离线帧率缓冲区。
* @param {uint8_t*} next_fb 待显示的帧率缓冲区。
*
* @return {lcd_t*} 返回lcd对象。
*/
lcd_t* lcd_mem_bgr565_create_three_fb(wh_t w, wh_t h, uint8_t* online_fb, uint8_t* offline_fb,
uint8_t* next_fb);
/**
* @method lcd_mem_bgr565_init
*
* 创建lcd对象。
*
* @param {lcd_mem_t*} lcd 对象。
* @param {wh_t} w 宽度。
* @param {wh_t} h 高度。
* @param {bool_t} alloc 是否分配内存。
*
* @return {lcd_t*} 返回lcd对象。
*/
lcd_t* lcd_mem_bgr565_init(lcd_mem_t* lcd, wh_t w, wh_t h, bool_t alloc);
END_C_DECLS
#endif /*TK_LCD_MEM_BGR565_H*/
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/EWIN66/awtk.git
git@gitee.com:EWIN66/awtk.git
EWIN66
awtk
awtk
master

搜索帮助

371d5123 14472233 46e8bd33 14472233