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

4–4 Chapter 4: 2D FIR Filter MegaCore Function
Parameter Settings
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
Parameter Settings
Table 4–3 and Table 4–4 list the 2D FIR Filter MegaCore function parameters.
Table 4–3. 2D FIR Filter Parameter Settings Tab, General Page
Parameter Value Description
Maximum image
width
32–2600, Default = 640 Choose the maximum image width in pixels.
Number of color
planes in sequence
1–3
The number of color planes that are sent in sequence
over one data connection. For example, a value of 3 for
R'G'B' R'G'B' R'G'B'.
Input Data Type:
Bits per pixel per
color plane
(3)
4–20, Default = 8 Choose the number of bits per pixel (per color plane).
Input Data Type:
Data type:
Unsigned, Signed
Choose whether input is unsigned or signed 2's
complement.
Input Data Type:
Guard bands
On or Off Turn on to enable a defined input range.
Input Data Type:
Max
1,048,575 to -524,288, Default = 255 Set input range maximum value.
(1)
Input Data Type:
Min
1,048,575 to -524,288, Default = 0 Set input range minimum value.
(1)
Output Data Type:
Bits per pixel per
color plane
(3)
4–20, Default = 8 Choose the number of bits per pixel (per color plane).
Output Data Type:
Data type
Unsigned, Signed
Choose whether output is unsigned or signed 2's
complement.
Output Data Type:
Guard bands
On or Off Turn on to enable a defined output range.
Output Data Type:
Max
1,048,575 to -524,288, Default = 255 Set output range maximum value.
(2)
Output Data Type:
Min
1048575 to -524288, Default = 0 Set output range minimum value.
(2)
Move binary point
right
(3)
–16 to +16, Default = 0
Specify the number of places to move the binary point.
This can be useful if you require a wider range output on
an existing coefficient set.
Remove fraction
bits by
Round values - Half up,
Round values - Half even,
Truncate values to integer
Choose the method for discarding fractional bits
resulting from the FIR calculation.
Convert from signed
to unsigned by
Saturating to minimum value at stage 4,
Replacing negative with absolute value
Choose the method for signed to unsigned conversion of
the FIR results.
Notes to Table 4–3
(1) The maximum and minimum guard bands values specify a range in which the input must always fall. The 2D FIR filter behaves unexpectedly
for values outside this range.
(2) The output is constrained to fall in the specified range of maximum and minimum guard band values.
(3) You can specify a higher precision output by increasing Bits per pixel per color plane and Move binary point right.