2. G2d_m2m_blend

2.1. Function description:

This demo shows the G2D Memory-to-Memory with Blending Mode.

Convert the L4 Blending with A8 to ARGB1555 output:

  • Configure the G2D memory-to-memory with blending mode.

  • Configure & load the G2D foreground & background CLUT.

  • Configure the G2D foreground layer with L4 input format, background layer with A8 input format, and start transfer.

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

2.2. Test result:

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

2.3. IO connection:

None