Display image samples from an algorithm to an output video device
SoC Blockset / Peripherals
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.
— Color component of image
Specify a height-by-width matrix, where the dimensions are the size of the image.
Use the Pixel format parameter to specify the color
component format as either
Pixel format— Format of pixel data
Specify the input image data encoding as
YCbCr 4:2:2 triplets.
To automatically generate C code for your design, and execute on an SoC device, use the SoC Builder tool. To generate and execute C code for your SoC models, Embedded Coder® features are required. For more information on generating code for SoC designs, see Generate SoC Design.
When deployed to a supported embedded Linux® device, this block uses the V4L2 driver framework to display images to attached video display. To specify the video output to access on the embedded device, use the Peripheral Configuration tool. Similarly, to specify the event that triggers the task, use the Task Mapping tool . For more information on the V4L2 driver framework, see Video4Linux.