Main Content

Video Test Source

Generate continuous video stream data

  • Video Test Source block

Libraries:
SoC Blockset / Hardware Logic Testbench

Description

The Video Test Source block generates continuous video stream data to advanced extensible interface AXI4-based video stream data interface blocks. You can use this block as a test source block for simulating AXI4-based video stream data applications.

The block accepts a control bus and outputs video stream data along with a control bus.

Ports

Input

expand all

Control bus from the data consumer signaling that data consumer is ready to accept video stream data. This control bus comprises a ready signal.

Data Types: StreamVideoS2MBusObj

Output

expand all

Output video stream data to the data consumer. This value is returned as a vector.

Data Types: uint8

Control bus to the data consumer, returned as a bus. This control bus comprises these control signals:

  • hStart — First pixel in a horizontal line of a frame

  • hEnd — Last pixel in a horizontal line of a frame

  • vStart — First pixel in the first (top) line of a frame

  • vEnd — Last pixel in the last (bottom) line of a frame

  • valid — Indicates the output pixel data on the wrData output port is valid

Data Types: pixelcontrol

Parameters

expand all

Select the frame dimensions as one of these values:

  • 480p SDTV (720x480p)

  • 576p SDTV (720x576p)

  • 720p HDTV (1280x720p)

  • 1080p HDTV (1920x1080p)

  • 160x120p

  • 320x240p

  • 640x480p

  • 800x600p

  • 1024x768p

  • 1280x768p

  • 1280x1024p

  • 1360x768p

  • 1366x768p

  • 1400x1050p

  • 1600x1200p

  • 1680x1050p

  • 1920x1200p

Select the type of video source as Video file, Color bar, or Ramp.

Select the input video file by clicking the Browse button and navigating to the video file location.

Dependencies

To enable this parameter, set the Video source parameter to Video file.

Select the type of color space as YCbCr422, RGB, or YOnly.

Select this option to reorder output pixels to column-major order. Streaming pixel format order is from left to right across each line, then down to the next line, or row-major. However, some matrix operations use column-major order, that is, from top to bottom and then right to the next column.

Specify the frame sample time as a positive scalar. The denominator in default value 1/60 denotes the number of frames per second.

Extended Capabilities

Fixed-Point Conversion
Design and simulate fixed-point systems using Fixed-Point Designer™.

Version History

Introduced in R2019a