STM32L4R9-DISCO DSI example - sample image not actually RGB
I recently purchased an L4R9 Discovery board with an MB1314 round LCD.
Under STM32Cube_FW_I.4_V1.17.2 / Projects / 32L4R9Discovery / Examples / DSI / DSI_CmdMode_SingleBuffer, there is a reference to a 24bpp frame buffer. The comment cryptically states:
/* Physical frame buffer for background and foreground layers */
/* 390*390 pixels with 24bpp - 20% (with GFXMMU) */
20% is not explained. Furthermore, the sample code goes on to draw a bitmap from a header file into the buffer:
/*Draw image in GFXMMU (Chome-GRC) Virtual buffer*/
CopyInVirtualBuffer((uint32_t *)image_390x390_rgb888, (uint32_t *)LAYER_ADDRESS, 0, 0, 390, 390);
But the data in "image_390x390_rgb888" isn't actually just RGB data. If you look at the header file containing the data, it's formatted into blocks (horizontal lines?) and each line cryptically begins with an undocumented byte - at a glance, it appears to be always 0 or 1.
So my questions are:
1. What is 20% referring to?
2. What is the extra byte in the RGB data of the header file?
