Skip to main content
Design DocumentNxp

NXP i.MX Graphics User's Guide

Comprehensive guide to graphics APIs and driver support for NXP i.MX processors, covering G2D API features such as hardware-accelerated 2D blitting, rotation, and scaling.

View design document

Overview

This user guide provides technical details on graphics APIs and driver support for NXP i.MX application processors, including the i.MX 6, i.MX 7, and i.MX 8 series. It specifically focuses on the G2D (2D Graphics) API, which offers a hardware-independent interface for 2D Bit blit (BLT) functions. Key features described include RGB and YUV color format conversions, alpha blending using Porter-Duff rules, high-performance memory copying, up-scaling/down-scaling, and rotation (90/180/270 degrees). The document details structures like g2d_surface and g2d_buf, provides API function descriptions for device management (open/close/blit), and outlines GPU scalability for OpenCL and OpenVX support across the i.MX product family.

Use Cases

  • Developing graphics-intensive applications for i.MX-based embedded systems.
  • Implementing hardware-accelerated 2D image processing, including scaling and rotation.
  • Configuring graphics drivers and APIs for Linux and Android environments on i.MX hardware.
  • Optimizing video performance using G2D hardware acceleration on i.MX 6, 7, and 8 series processors.

Topics

i.MX
NXP
Graphics API
G2D API
GPU
Bit blit
Hardware Acceleration
OpenCL
OpenVX
Linux
Android
i.MX 6Quad

Referenced Parts

i.MX 6DualPlus

NXP

This API only works on the i.MX 6DualPlus/QuadPlus platform.

i.MX 6Quad

NXP

On i.MX 6 boards, only 6Quad and 6QuadPlus support OpenCL.

i.MX 6QuadPlus

NXP

On i.MX 6 boards, only 6Quad and 6QuadPlus support OpenCL.

i.MX 7ULP

NXP

Y(*) means feature available on i.MX 6Quad Plus, i.MX 7ULP and i.MX 8 family devices.

i.MX 8QuadMax

NXP

i.MX 8QuadMax supports OpenVX, which will be introduced in next chapter.

NXP i.MX Graphics User's Guide | Design Resources