Video Test Source
Generate continuous video stream data
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
wrCtrlIn — Input control bus
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.
Data Types: StreamVideoS2MBusObj
Output
wrData — Output video stream data
vector
Output video stream data to the data consumer. This value is returned as a vector.
Data Types: uint8
wrCtrlOut — Output control bus
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 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 output pixel data on the wrData output port is valid
Data Types: pixelcontrol
Parameters
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)
160x120p
320x240p
640x480p
800x600p
1024x768p
1280x768p
1280x1024p
1360x768p
1366x768p
1400x1050p
1600x1200p
1680x1050p
1920x1200p
Video source — Select video source type
Video file
(default) | Color bar
| Ramp
Select the type of video source as Video file
, Color
bar
, or Ramp
.
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.
Dependencies
To enable this parameter, set the Video source parameter to
Video file
.
Color space — Color space
YCbCr422
(default) | RGB
| YOnly
Select the type of color space as YCbCr422
,
RGB
, or YOnly
.
Reorder output frame — Output frame reordering
off
(default) | on
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.
Extended Capabilities
Fixed-Point Conversion
Design and simulate fixed-point systems using Fixed-Point Designer™.
Version History
Introduced in R2019a
See Also
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
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)