Receive continuous video stream data
SoC Blockset / Hardware Logic Testbench
The Video Test Sink block receives continuous video stream data from advanced extensible interface AXI4-based video stream data interface blocks. You can use this block as a test sink block for simulating AXI4-based video stream data applications.
The block accepts video stream data along with a control bus and outputs a control bus.
rdData— Input video stream data
Input video stream data from the data source. This value must be a vector.
rdCtrlIn— Input control bus
Input control bus from the data source, specified as a bus. This control bus comprises these 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 input pixel data on rdData input port is valid
rdCtrlOut— Output control bus
Output control bus to the data source signaling that the block is ready to accept video stream data. This control bus comprises a ready signal.
Frame size— Frame dimensions
160x120p(default) | ...
Select the frame dimensions as one of these values:
576p SDTV (720x576p)
720p HDTV (1280x720p)
1080p HDTV (1920x1080p)
The Frame size value must be same as that of the data source.
Color space— Color space
Select the type of color space as
YOnly. The Color
space value must be same as that of the data source.
Reorder input frame— Input frame reorder
Select this option to reorder input pixels. 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. Depending on how your design has manipulated the pixels, you may need to reorder them for correct display.
Save data in workspace— Save data in workspace
Select this parameter to save the input video stream data to the MATLAB® workspace.
Variable name— Workspace variable name
simOut(default) | any MATLAB-supported variable name
Specify the workspace to which input video stream data is saved. This parameter can be any MATLAB-supported variable name.
To enable this parameter, select the Save data in workspace parameter.
View input— Display input in MATLAB
Select this parameter to view the input video stream data in the MATLAB viewer.