hi3531的hifb显示1080p60Hz
发布日期:2021-07-01 01:03:57 浏览次数:2 分类:技术文章

本文共 738 字,大约阅读时间需要 2 分钟。

#include 
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
//mmap#include "hifb.h"#include "sample_comm.h"#define IMAGE_WIDTH 1920#define IMAGE_HEIGHT 1080#define IMAGE_SIZE (1920*1080*3)#define IMAGE_NUM 14#define IMAGE_PATH "./res/%d.bits"struct fb_bitfield a16 = {15, 1, 0}, a32 = {24, 8, 0}; struct fb_bitfield r16 = {10, 5, 0}, r32 = {16, 8, 0}; struct fb_bitfield g16 = {5, 5, 0}, g32 = {8, 8, 0}; struct fb_bitfield b16 = {0, 5, 0}, b32 = {0, 8, 0};HIFB_ALPHA_S stAlpha;HIFB_COLORKEY_S stColorKey;FILE *fp1,*fp2,*fp3;char bmp_buf[1920*1080*3*4];int main(){int fd;int i;struct fb_fix_screeninfo fix;struct fb_var_screeni

转载地址:https://mao0514.blog.csdn.net/article/details/21782603 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:一种在BIOS中嵌入应用程序的方法及实现
下一篇:hi3531调用sil9024的驱动

发表评论

最新留言

表示我来过!
[***.240.166.169]2024年04月25日 09时52分04秒