Video Capture
Import live video frames from Zynq-based system that has an HDMI FMC card
(since R2023a) This block has been removed. Use the Video Capture HDMI block instead. When you open a model in R2023a, Simulink® forwards this block to the new Video Capture HDMI block.
Libraries:
Vision HDL Toolbox Support Package for Xilinx Zynq-Based Hardware
Description
The Video Capture block imports video frames from a Zynq®-based board that has an HDMI FMC card into your Simulink model. The support package programs the FPGA with an image that includes data path multiplexers, video format conversions, and a video test pattern generator (TPG). You can control these data path and conversion options from the Video Capture block.
To capture video from a Zynq-based board that has a MIPI® FMC card, use the Video Capture MIPI block.
Points A
and B
in the diagram show the options for capturing video into
Simulink. The FPGA user logic section is the IP core that you generate from
your design using HDL Workflow Advisor. You can capture the input video before the FPGA user
logic, or the output video after the FPGA user logic. If you enable the bypass of the FPGA user
logic, or if you have not generated any FPGA user logic, the two capture locations show the same
data.
The video data is a pixel stream on the FPGA, but when you capture the video to Simulink, the stream is converted to frame-based video.
The reference design requires the same video resolution and color format for the entire data path. The resolution you select for the Video Capture block must match that of your camera input. The design you target to the FPGA user logic must not modify the frame size or format of the data.
Ports
Output
Parameters
Version History
Introduced in R2016a