5. G2d_m2m_down_sample

5.1. Function description:

This demo shows the G2D Memory-to-Memory Conversion Mode with down sample function.

Convert the ARGB8888 to ARGB8888 output with down sample function:

  • Configure the G2D memory-to-memory mode.

  • Configure down sample and enable the function

  • Configure the G2D foreground layer and start transfer.

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

5.2. Test result:

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

5.3. IO connection:

None