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

10–2 Chapter 10: Clocked Video Input MegaCore Function
Functional Description
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
The Clocked Video Input MegaCore function supports both 8 and 10-bit TRS and XYZ
words. When in 10-bit mode the bottom 2 bits of the TRS and XYZ words are ignored
to allow easy transition from an 8-bit system.
The XYZ word contains the synchronization information and the relevant bits of it's
format are listed in Table 10–1.
For the embedded synchronization format, the
vid_datavalid
signal indicates a valid
BT656 or BT1120 sample as shown in Figure 10–2. The Clocked Video Input MegaCore
function only reads the
vid_data
signal when
vid_datavalid
is 1.
The Clocked Video Input MegaCore function extracts any ancillary packets from the Y
channel during the vertical blanking. Ancillary packets are not extracted from the
horizontal blanking. The extracted packets are output via the Clocked Video Input’s
Avalon-ST output with a packet type of 13 (0xD). For information about Avalon-ST
Video ancillary data packets, refer to “Ancillary Data Packets” on page 3–10.
Separate Synchronization Format
The separate synchronization format uses separate signals to indicate the blanking,
sync, and field information. For this format, the
vid_datavalid
signal behaves
slightly differently from in embedded synchronization format.
The Clocked Video Input MegaCore function only reads
vid_data
when
vid_datavalid
is high (as in the embedded synchronization format) but it treats each
read sample as active picture data.
Table 10–1. XYZ Word Format
10-bit 8-bit Description
Unused [5:0] [3:0]
These bits are not inspected by the Clocked Video Input MegaCore
function.
H (sync) 6 4 When 1, the video is in a horizontal blanking period.
V (sync) 7 5 When 1, the video is in a vertical blanking period.
F (field) 8 6
When 1, the video is interlaced and in field 1. When 0, the video is
either progressive or interlaced and in field 0.
Unused 9 7
These bits are not inspected by the Clocked Video Input MegaCore
function.
Figure 10–2. vid_datavalid Timing
D0 D1vid_data
vid_datavalid