User guide

Table Of Contents
January 2013 Altera Corporation Video and Image Processing Suite
User Guide
10. Clocked Video Input MegaCore
Function
Core Overview
The Clocked Video Input MegaCore function converts clocked video formats (such as
BT656, BT1120, and DVI) to Avalon-ST Video. You can configure the Clocked Video
Input at run time using an Avalon-MM slave interface.
Functional Description
The Clocked Video Input converts clocked video to the flow controlled Avalon-ST
Video protocol. It also provides clock crossing capabilities to allow video formats
running at different frequencies to enter the system.
The Clocked Video Input strips the incoming clocked video of horizontal and vertical
blanking, leaving only active picture data, and using this data with the horizontal and
vertical synchronization information creates the necessary Avalon-ST Video control
and active picture packets. No conversion is done to the active picture data, the color
plane information remains the same as in the clocked video format.
In addition, the Clocked Video Input provides a number of status registers that
provide feedback on the format of video entering the system (resolution, and
interlaced or progressive mode) and a status interrupt that can be used to determine
when the video format changes or is disconnected.
Video Formats
The Clocked Video Input MegaCore function accepts the following clocked video
formats:
Video with synchronization information embedded in the data (in BT656 or
BT1120 format)
Video with separate synchronization (H sync, Vsync) signals
Embedded Synchronization Format
The BT656 and BT1120 formats use time reference signal (TRS) codes in the video data
to mark the places where synchronization information is inserted in the data.
These codes are made up of values that are not present in the video portion of the data
and take the format shown in Figure 10–1.
Figure 10–1. Time Reference Signal Format
3FF XYZ00
TRS (10bit)