User guide

Table Of Contents
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 43 and Table 44 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.