Main Content

Video Display

Display image samples from an algorithm to an output video device

  • Library:
  • SoC Blockset / Peripherals

  • Video Display block

Description

The Video Display block simulates behavior of the driver code that displays images to a video output, such as an LCD screen, on a hardware board. The output of this block must be connected to a Video Display Interface block that simulates a physical display screen on the hardware board. Place this block inside a task and connect to an algorithm to output a image each time the task executes. For more information on tasks, see Timer-Driven Task and Event-Driven Tasks.

Ports

Input

expand all

Specify a height-by-width matrix, where the dimensions are the size of the image.

Dependencies

Use the Pixel format parameter to specify the color component format as either RGB or YCbCr 4:2:2.

Data Types: uint8

Output

expand all

This port outputs data messages containing image data to a connected Video Display Interface block. For more information on messages, see Messages.

Data Types: SoCData

Parameters

expand all

Specify the input image data encoding as RGB or YCbCr 4:2:2 triplets.

Extended Capabilities

Introduced in R2021a