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

16–2 Chapter 16: Deinterlacer II MegaCore Function
Functional Description
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
Functional Description
The features and functionality of the Deinterlacer II MegaCore function are largely
similar to those of the Deinterlacer MegaCore Function. The Deinterlacer II does not
support bob and weave methods but it can convert interlaced video to progressive
video using two high quality motion-adaptive methods. The standard
motion-adaptive algorithm is largely similar to the Deinterlacer MegaCore function
motion-adaptive implementation. The high quality motion-adaptive algorithm uses a
kernel of pixels and significantly enhances the edge-adaptive reconstruction to
improve image quality.
The Deinterlacer II also uses a different frame buffering method. The Deinterlacer II
stores the input video fields in the external memory and concurrently uses these input
video fields to construct deinterlaced frames.
Figure 16–2 shows a top-level block diagram of the Deinterlacer II frame buffering.
This buffering method provides the following features:
■ The Deinterlacer II has a latency of only a few of lines, compared to the
Deinterlacer that has a latency of a field.
■ The Deinterlacer II requires less memory bandwidth. In normal operating mode,
the Deinterlacer II writes incoming input fields into the memory and only fetches
the three preceding fields to build the progressive output frame. The simple
motion-adaptive algorithm in the Deinterlacer requires four fields to build the
progressive output frame. Additionally, the Deinterlacer II does not use external
memory when propagating progressive frames.
■ The Deinterlacer II does not provide double and triple-buffering, and does not
support the user-defined frame rate conversion feature offered in the Deinterlacer.
Figure 16–2. Deinterlacer II Block Diagram
Note to Figure 16–2:
(1) There can be one or two Avalon-MM masters connected to the Memory Reader.
Deinterlacing
Algorithm
Memory
Reader
Memory
Writer
Arbitration Logic
DDR2
SDRAM
Avalon-ST Input
(din)
Avalon-ST Output
(dout)
Avalon-MM Master
(write_master)
Avalon-MM Master
(read_master)