📄 bitmap.c
字号:
#include <config.h>#if defined(CONFIG_HI3510_LOGO)#include "bitmap.h"#include "rc.h"void HW_Bmp2Video(unsigned int mem_addr, unsigned int stride){ unsigned int i, w, h, addr; unsigned int BPP = 2; /* for 1555 */ addr = get_bmp_data_addr(bmp_uboot); w = get_bmp_width(bmp_uboot); h = get_bmp_height(bmp_uboot); printf("\naddr=0x%x\n",addr); printf("\nwidth=%d\n",w); printf("\nheight=%d\n",h); for(i=0; i<h; i++) { /* line copy */ memcpy( (void *)((unsigned int)mem_addr+i*stride), (void *)(addr+i*w*BPP), w*BPP); }}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -