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

Chapter 22: Scaler II MegaCore Function 22–5
Parameter Settings
January 2013 User Guide
Algorithm Settings
Scaling algorithm
Nearest Neighbor,
Bilinear, Bicubic,
Polyphase, or
Edge Adaptive
Choose the scaling algorithm. For more information about these
options, refer to , “Nearest Neighbor Algorithm” on page 21–1,
“Bilinear Algorithm” on page 21–2, “Polyphase and Bicubic
Algorithms” on page 21–3, and “Edge-Adaptive Scaling
Algorithm” on page 22–2.
Enable post scaling
sharpen
On or Off Turn on to include a post-scaling edge-adaptive sharpening filter.
Always downscale or
pass-through
On or Off
Turn on if you want the output frame height to be less than or
equal to the input frame height, which reduces the size of the line
buffer by one line.
If the input height becomes less than the specified output height
for any reason, the output video is undefined but it must still have
the correct dimensions and the core must not crash.
Share horizontal and
vertical coefficients
On or Off
Turn on to force the bicubic and polyphase algorithms to share the
same horizontal and vertical scaling coefficient data.
Vertical filter taps 4–64, Default = 8
Choose the number of vertical filter taps for the bicubic and
polyphase algorithms.
Vertical filter phases 1–256, Default = 16
Choose the number of vertical filter phases for the bicubic and
polyphase algorithms.
Horizontal filter taps 4–64, Default = 8
Choose the number of horizontal filter taps for the bicubic and
polyphase algorithms.
Horizontal filter phases 1–256, Default = 16
Choose the number of horizontal filter phases for the bicubic and
polyphase algorithms.
Default edge threshold
0 to 2
bits per symbol
–1,
Default = 7
Choose the default value for the edge-adaptive scaling mode. This
value will be the fixed edge threshold value if you do not turn on
Enable run-time control of input/output frame size and edge/blur
thresholds.
Default upper blur limit
0 to 2
bits per symbol
–1,
Default = 15
Choose the default value for the blurred-edge upper threshold in
edge-adaptive sharpening. This value will be the fixed threshold
value if you do not turn on Enable run-time control of
input/output frame size and edge/blur thresholds.
Default lower blur limit
0 to 2
bits per symbol
–1,
Default = 0
Choose the default value for the blurred-edge lower threshold in
edge-adaptive sharpening. This value will be the fixed threshold
value if you do not turn on Enable run-time control of
input/output frame size and edge/blur thresholds.
Precision Settings
Vertical coefficients
signed
On or Off
Turn on to force the algorithm to use signed vertical coefficient
data.
Vertical coefficient integer
bits
0–32, Default = 1 Choose the number of integer bits for each vertical coefficient.
Vertical coefficient
fraction bits
1–32, Default = 7 Choose the number of fraction bits for each vertical coefficient.
Horizontal coefficients
signed
On or Off
Turn on to force the algorithm to use signed horizontal coefficient
data.
Table 22–2. Scaler II Parameter Settings Tab
Parameter Value Description