User guide
Table Of Contents
- Contents
- 1. About This MegaCore Function Suite
- Release Information
- Device Family Support
- Features
- Design Example
- Performance and Resource Utilization
- 2D FIR Filter
- 2D Median Filter
- Alpha Blending Mixer
- Avalon-ST Video Monitor
- Chroma Resampler
- Clipper
- Clocked Video Input
- Clocked Video Output
- Color Plane Sequencer
- Color Space Converter
- Control Synchronizer
- Deinterlacer
- Deinterlacer II
- Frame Buffer
- Gamma Corrector
- Interlacer
- Scaler
- Scaler II
- Switch
- Test Pattern Generator
- Trace System
- 2. Getting Started with Altera IP Cores
- 3. Interfaces
- Interface Types
- Avalon-ST Video Protocol
- Avalon-MM Slave Interfaces
- Avalon-MM Master Interfaces
- Buffering of Non-Image Data Packets in Memory
- 4. 2D FIR Filter MegaCore Function
- 5. 2D Median Filter MegaCore Function
- 6. Alpha Blending MegaCore Function
- 7. Avalon-ST Video Monitor MegaCore Function
- 8. Chroma Resampler MegaCore Function
- 9. Clipper MegaCore Function
- 10. Clocked Video Input MegaCore Function
- 11. Clocked Video Output MegaCore Function
- 12. Color Plane Sequencer MegaCore Function
- 13. Color Space Converter MegaCore Function
- 14. Control Synchronizer MegaCore Function
- 15. Deinterlacer MegaCore Function
- Core Overview
- Functional Description
- Parameter Settings
- Signals
- Control Register Maps
- 16. Deinterlacer II MegaCore Function
- 17. Frame Reader MegaCore Function
- 18. Frame Buffer MegaCore Function
- 19. Gamma Corrector MegaCore Function
- 20. Interlacer MegaCore Function
- 21. Scaler MegaCore Function
- 22. Scaler II MegaCore Function
- 23. Switch MegaCore Function
- 24. Test Pattern Generator MegaCore Function
- 25. Trace System MegaCore Function
- A. Avalon-ST Video Verification IP Suite
- B. Choosing the Correct Deinterlacer
- Additional Information

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)