Hello,
I have 2 questions about C6748.
1. Images are broken when I access the image array using pointers or memcpy
Above image is what i want to print out.
And to reduce the time, I used memcpy.
- This is my code : memcpy(VedioMem[0], TitleImage, 640 * 480 * 2);
- And TitleImage array :
unsigned short int TitleImage[] = {
640, 480,
0xCDB1, 0xD5D2, 0xD5F2, 0xD5F2, 0xD5B1, 0xD5D2, 0xD5F2, 0xD5D2,
0xCDB1, 0xCDD2, 0xD5D2, 0xD5D2, 0xD5D2, 0xD5D2, 0xD5B2, 0xD5B2,
...(color info)...
...
...
}
But image is broken like this.
What is the problem?
2. When I use grlib, I can get unbroken image. But, "DpyPixelDraw" or "GrDrawPixel" is too late to express 640 * 480 pixels.(3xxx milliseconds)
If you have another way to print make shorter, please let me know. Thank you.