uboot中是depth:18,
APP中
if(ioctl(fbfd, FBIOGET_VSCREENINFO, &vinfo) == -1) {
perror("Error reading variable information");
return;
}
printf("%dx%d, %dbpp\n", vinfo.xres, vinfo.yres, vinfo.bits_per_pixel);
读出来是800x480, 32bpp
-----------------------------------------
在Linux中修改?
离线
LCD是16位的?不浪费?刷新时还要转来转去?
离线