12. G2d_m2m_pfc

12.1. Function description:

This demo shows the G2D Memory-to-Memory with pixel format conversion Mode.

Convert the L8 to RGB888 output:

  • Configure the G2D memory-to-memory with pixel format conversion mode.

  • Configure & load the G2D foreground CLUT.

  • Configure the G2D foreground layer and start transfer.

  • After the transfer completion, compare the output data with the golden data.

12.2. Test result:

If the output result is same as the standard data calculated by software, then print pass, if not print fail.

12.3. IO connection:

None