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

1–4 Chapter 1: About This MegaCore Function Suite
Design Example
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
During control packet processing, the MegaCore functions might stall frequently and
read/write less than once per clock cycle. During data processing, the MegaCore
functions generally process one input/output per clock cycle. There are, however,
some stalling cycles. Typically, these are for internal calculations between rows of
image data and between frames/fields.
When stalled, the MegaCore function signals that it is not ready to receive or produce
data. The time spent in the stalled state varies between MegaCore functions and their
parameterizations. In general, it is a few cycles between rows and a few more between
frames.
If data is not available at the input when required, all of the MegaCore functions stall,
and thus do not output data. With the exceptions of the Deinterlacer and Frame Buffer
in double or triple-buffering mode, none of the MegaCore functions ever overlap the
processing of consecutive frames. The first sample of frame F + 1 is not input until
after the last sample of frame F has been output.
When an
endofpacket
signal is received unexpectedly (early or late), the MegaCore
function recovers from the error and prepares itself for the next valid packet (control
or data).
1 For more information about the stalling, throughput, and error recovery of each
MegaCore function, refer to the “Stall Behavior and Error Recovery” section of the
respective MegaCore Function chapter in this user guide.
Design Example
A provided design example offers a starting point to quickly understand the Altera
video design methodology, enabling you to build full video processing systems on an
FPGA.
f For more information about this design example, refer to AN427: Video and Image
Processing Up Conversion Example Design.