Video Test Source
Generate continuous video stream data
SoC Blockset / Hardware Logic Testbench
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.
wrCtrlIn — Input control bus
Control bus from the data consumer signaling that data consumer is ready to accept video stream data. This control bus comprises a ready signal.
wrData — Output video stream data
Output video stream data to the data consumer. This value is returned as a vector.
wrCtrlOut — Output control bus
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
Frame size — Frame dimensions
160x120p (default) | ...
Select the frame dimensions as one of these values:
480p SDTV (720x480p)
576p SDTV (720x576p)
720p HDTV (1280x720p)
1080p HDTV (1920x1080p)
Video source — Select video source type
Video file (default) |
Color bar |
Select the type of video source as
Input file name — Select input video file
handshake_left.avi (default) | any supported video file format
Select the input video file by clicking the Browse button and navigating to the video file location.
To enable this parameter, set the Video source parameter to
Color space — Color space
YCbCr422 (default) |
Select the type of color space as
Reorder output frame — Output frame reordering
off (default) |
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.
Frame sample time — Frame sample time
1/60 (default) | positive scalar
Specify the frame sample time as a positive scalar. The denominator in default value
1/60 denotes the number of frames per second.
Design and simulate fixed-point systems using Fixed-Point Designer™.
Introduced in R2019a