Video Test Sink
Receive continuous video stream data
Libraries:
SoC Blockset /
Hardware Logic Testbench
Description
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.
Ports
Input
rdData — Input video stream data
vector
Input video stream data from the data source. This value must be a vector.
Data Types: uint8
rdCtrlIn — Input control bus
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 framehEnd
— Last pixel in a horizontal line of a framevStart
— First pixel in the first (top) line of a framevEnd
— Last pixel in the last (bottom) line of a framevalid
— Indicates the input pixel data on rdData input port is valid
Data Types: pixelcontrol
Output
rdCtrlOut — Output control bus
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.
Data Types: StreamVideoS2MBusObj
Parameters
Frame size — Frame dimensions
160x120p
(default) | ...
Select the frame dimensions as one of these values:
576p SDTV (720x576p)
720p HDTV (1280x720p)
1080p HDTV (1920x1080p)
160x120p
320x240p
640x480p
800x600p
1024x768p
1280x768p
1280x1024p
1360x768p
1366x768p
1400x1050p
1600x1200p
1680x1050p
1920x1200p
The Frame size value must be same as that of the data source.
Color space — Color space
YCbCr422
(default) | RGB
| YOnly
Select the type of color space as YCbCr422
,
RGB
, or YOnly
. The Color
space value must be same as that of the data source.
Reorder input frame — Input frame reorder
off
(default) | on
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
off
(default) | on
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.
Dependencies
To enable this parameter, select the Save data in workspace parameter.
View input — Display input in MATLAB
off
(default) | on
Select this parameter to view the input video stream data in the MATLAB viewer.
Extended Capabilities
Fixed-Point Conversion
Design and simulate fixed-point systems using Fixed-Point Designer™.
Version History
Introduced in R2019a
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)