Real-Time Warping for Automotive Head-Up Displays with TRAVEO™ T2GInside Warping Modes — Performance — and High-Efficiency Next-Gen HUDs

Real-Time Warping for Automotive Head-Up Displays with TRAVEO™ T2GInside Warping Modes — Performance — and High-Efficiency Next-Gen HUDs


Introduction

Displays in the automotive industry face increasing demands for clarity, performance, and cost-efficiency. This article provides an overview of the CYT3DL family of TRAVEO™ T2G microcontroller units (MCU), focusing on their capabilities for automotive display applications such as instrument clusters and Head-Up Displays (HUD).

We then introduce the graphics driver designed for these MCUs, which enables efficient use of the integrated hardware graphics engines and simplifies application development. Building on this foundation, we turn to the concept of warping, a key feature for HUD systems where optical distortions must be corrected to ensure image clarity and stability.

Different warping modes - sample points, delta vectors, and delta vector increments—are discussed, highlighting their respective strengths and limitations. Finally, we share measurement results obtained on the TRAVEO evaluation board, demonstrating how the size of the warping table directly influences processing performance and system efficiency.

About the TRAVEO II board

The CYT3DL family of TRAVEO™ T2G automotive microcontrollers is designed for applications such as instrument clusters and HUDs. Built on a 40-nm process, these MCUs integrate an Arm® Cortex®-M7 (240 MHz) for primary processing and an Arm® Cortex®-M0+ (100 MHz) for peripheral and security tasks. They also feature a rich set of automotive communication interfaces including CAN FD, LIN, CXPI, and Ethernet.

A standout feature is the advanced graphics subsystem, supporting 2D/2.5D rendering, perspective warping, and HUD-specific display effects, powered by 2 MB of embedded VRAM. It enables flexible input and output options such as parallel RGB, FPD-Link, and MIPI CSI-2, with resolutions up to 2880×1080, as well as real-time video capture, composition, and warping.

The devices also feature 4 MB of flash with Read-While-Write capability, 384 KB of SRAM, multiple DMA controllers, and integrated hardware for secure, high-performance automotive graphics and computing platforms.

Graphics driver

The Graphics Driver for TRAVEO™ T2G cluster MCUs is a software layer that helps developers make efficient use of the built-in graphics hardware. It provides an abstraction of the hardware units such as:

  • the Blit Engine for pixel operations,
  • the Drawing Engine for vector graphics,
  • the Composition and Display Engines for managing layers and timing, and
  • the Capture Engine for handling video input.

The driver is structured around displays, windows, and surfaces as central objects, allowing flexible scene composition. It includes APIs for blending, warping, rendering text, and image transformations. Synchronization features ensure smooth updates using double buffering or common commit modes.

Additional features include direct video capture to display, real-time warping for HUD applications, and integration with safety display drivers. Memory management is optimized across VRAM, system RAM, and external memory. Tutorials and reference examples are provided to simplify application development.

In short, the graphics driver provides a high-level programming interface that leverages TRAVEO™ T2G’s powerful graphics subsystem to enable fast, secure (ASIL-compliant), and flexible rendering for automotive displays.

Warping

Warping on TRAVEO™ T2G microcontrollers is primarily designed for HUD systems, where optical distortion must be corrected to ensure that projected images appear stable and readable to the driver. The mechanism relies on a warping map, which remaps original pixel coordinates to corrected positions so that geometric distortions introduced by the windshield or projection angle are compensated.

In normal mode, the system fetches a precomputed coordinate buffer from flash memory, enabling real-time distortion correction during display rendering. In calibration mode, this buffer is transferred to VRAM, allowing the CPU to dynamically update grid nodes that define the distortion characteristics. A double-buffering scheme ensures visual integrity: while the warping engine reads one buffer, the CPU updates the other.

Calibration is based on distortion grid nodes that represent deformation points across the display surface. Users can adjust these points interactively, and the system generates a continuous warping map using spline interpolation. To optimize performance and memory usage, the resulting map is compressed into a delta vector increment mode coordinate buffer, significantly reducing VRAM requirements.

This approach enables on-the-fly warping, meaning the correction is applied directly in the display pipeline without requiring full frame buffers. The result is a highly efficient solution that adapts to varying driver seating positions or viewing angles, ensuring HUD projections remain correctly aligned and distortion-free under different driving conditions.

Warping Modes: Advantages and Disadvantages

The warping engine supports three operational modes for managing the coordinate buffer:

Sample Points Mode

  • Description: The buffer contains the absolute target coordinates for each pixel.
  • Advantage: Highest precision, since every pixel is mapped explicitly.
  • Disadvantage: Extremely large memory requirements, making it impractical for HUD resolutions.
Real-Time Warping for Automotive Head-Up Displays with TRAVEO™ T2G

Figure 1. Sample Points Mode

Delta Vectors Mode

  • Description: The buffer contains relative displacement vectors between neighboring pixels.
  • Advantage: Significant memory savings, as differences between adjacent pixels can be compactly encoded.
  • Disadvantage: Requires sequential processing, since each pixel’s position depends on the previous one. Random access becomes less efficient.
Real-Time Warping for Automotive Head-Up Displays with TRAVEO™ T2G -Delta Vectors Mode

Figure 2. Delta Vectors Mode

Delta Vector Increments Mode

  • Description: An optimized version of delta vectors, where only the incremental changes in displacement are stored (e.g., per line).
  • Advantage: Best trade-off between precision and memory usage. Data can be represented with only 8 bits (4 for X, 4 for Y), drastically reducing VRAM needs.
  • Disadvantage: Lower precision than sample points mode. Extreme distortions may introduce approximation errors.
Real-Time Warping for Automotive Head-Up Displays with TRAVEO™ T2G -Delta Vector Increments Mode

Figure 3. Delta Vector Increments Mode

Summary: Sample points mode delivers maximum precision but consumes excessive memory. Delta vectors reduce memory but require sequential processing. Delta vector increments strike the best balance and are the most practical for real-time HUD applications. Table 1 summarizes the three warping modes highlighting their advantages, disadvantages, and typical memory impact (example usage is 1920×720) in automotive HUD scenarios.

Mode AdvantageDisadvantageTypical VRAM usage
Sample Points Highest precision (per-pixel mapping)Extremely high memory use, impractical at high resolutions~Several 100 MB
Delta VectorsCompact storage, saves significant memorySequential processing required, random access less efficient~Tens of MB
Delta Vector IncrementsBest trade-off: efficient, 8-bit representation (4 bits X + 4 bits Y)Limited precision, possible errors under extreme distortion~Few MB

Table 1. Operational modes

Measured Performance on the TRAVEO board

Measurements were carried out on the TRAVEO™ T2G board under different coordinate buffer configurations, focusing on sample points mode for maximum precision. The experiments varied both the input image size (2×2 to 500×500) and the warping coordinate buffer (1000×1000 down to 100×100).

Real-Time Warping for Automotive Head-Up Displays with TRAVEO™ T2G -Performance tested

Figure 4. Performance tested

  • Table 1 summarizes the measurement results, while Figure 1 illustrates the performance trend across different buffer sizes. The results show a clear dependency between warping table size and performance.
    Large tables (e.g., 1000×1000, ~1,000,000 points) achieved ~60 fps, reflecting heavier computational and memory loads.
  • Smaller tables (e.g., 200×100) reached over 120 fps, demonstrating that reducing mapping points directly improves throughput.

When using a fixed buffer size (1000×500) with increasing input image sizes, performance stabilized around ~85 fps, showing that beyond a certain point, internal engine constraints—not table size—become the limiting factor.

Input imageOutput imageCoordinate bufferTotal Output PixelsTotal Input Pixelsbpcwarping modeperformance
2x21000x10001000x10001000000416sample points60.2
2x21000x9001000x900900000416sample points67.0
2x21000x8001000x800800000416sample points69.3
2x21000x7001000x700700000416sample points78.7
2x21000x6001000x600600000416sample points89.6
2x21000x5001000x500500000416sample points84.9
2x21000x4001000x400400000416sample points99.6
2x21000x3001000x300300000416sample points104.1
2x21000x2001000x200200000416sample points112.5
2x21000x1001000x100100000416sample points120.0
2x2900x100900x10090000416sample points120.7
2x2800x100800x10080000416sample points121.4
2x2700x100700x10070000416sample points122.4
2x2600x100600x10060000416sample points123.1
2x2500x100500x10050000416sample points123.9
2x2400x100400x10040000416sample points124.7
2x2300x100300x10030000416sample points125.6
2x2200x100200x10020000416sample points126.6
2x2100x100100x10010000416sample points127.4
100x1001000x5001000x5005000001000016sample points85.05
200x1001000x5001000x5005000002000016sample points85.15
300x1001000x5001000x5005000003000016sample points84.95
400x1001000x5001000x5005000004000016sample points85.05
500x1001000x5001000x5005000005000016sample points85.15
500x2001000x5001000x50050000010000016sample points85.05
500x3001000x5001000x50050000015000016sample points85.15
500x4001000x5001000x50050000020000016sample points85.05
500x5001000x5001000x50050000025000016sample points85.15

Table 2. The measurements

Conclusion

The tests confirm that warping performance is strongly influenced by table size and resolution. Smaller coordinate buffer sets achieve higher frame rates, while overly dense grids provide little additional benefit. This underlines the importance of balancing accuracy and performance when configuring HUD warping tables on TRAVEO™ T2G devices.

If internal flash memory is insufficient for sample point mode, alternatives include delta vector or delta vector increments modes. Another option is to use the platform’s 512 MB of HyperFlash via the SMIF interface. However, both approaches may increase CPU load and reduce performance.

  • When speed and precision are the priority: sample point mode is the best choice.
  • When memory efficiency is more critical: delta vector or delta vector increments modes are preferable.
You may also like