刚接触这方面的学习.
有没有人知道怎么编写一个在LCD里显示bmp图片的程序.
不知道有没有人写过?
void Show24Bmp(unsigned char * BmpBuffer)
{
unsigned char r,g,b;
unsigned int high,low;
for (i=0;i<240*320;i++)
{
r = BmpBuffer[i*3+2] & 0xF8;
g = BmpBuffer[i*3+1] & 0xFC;
b = BmpBuffer[i*3+0] & 0xF8;
high = r | (g>>5);
low = (g<<3) | (b>>3);
pLCDBuffer24 = (high<<8)|low;
}
}
S3C2410,具体可以去网上查查这方面的资料