Video and Image Processing Suite User Guide

ID 683416
Date 4/04/2022
Public
Document Table of Contents

8.7. 2D FIR Filter Parameter Settings

Table 31.  2D FIR II Parameter Settings
Parameter Value Description
Number of color planes 1, 2, 3, 4 Select the number of color planes per pixel.
Color planes transmitted in parallel On or Off Select whether to send the color planes in parallel or in sequence (serially).
Number of pixels in parallel 1, 2, 4, 8 Select the number of pixels transmitted per clock cycle.
4:2:2 video data On or Off Turn on if the input data is 4:2:2 formatted, otherwise the data is assumed to be 4:4:4 formatted.
Note: The IP core does not support odd heights or widths in 4:2:2 mode.
Maximum frame width 32-8192, Default = 1920 Specify the maximum frame width allowed by the IP core.
Maximum frame height 32-8192, Default = 1080 Specify the maximum frame height allowed by the IP core.
Input bits per pixel per color plane 4-20, Default = 8 Select the number of bits per color plane per pixel at the input.
Enable input guard bands On or Off Turn on to limit the range for each input color plane.
Lower input guard bands 0– 2(input bits per symbol)-1

Default = 0

Set the lower range limit to each input color plane. Values beneath this will be clipped to this limit.
Upper input guard bands 0– 2(input bits per symbol)-1

Default = 255

Set the upper range limit to each input color plane. Values above this will be clipped to this limit.
Output bits per pixel per color plane 4–20, Default = 8 Select the number of bits per color plane per pixel at the output.
Enable output guard bands On or Off Turn on to limit the range for each output color plane.
Lower output guard bands 0– 2(input bits per symbol)-1

Default = 0

Set the lower range limit to each output color plane. Values beneath this will be clipped to this limit.
Upper output guard bands 0– 2(input bits per symbol)-1

Default = 255

Set the upper range limit to each output color plane. Values above this will be clipped to this limit.
Filtering algorithm
  • STANDARD_FIR
  • EDGE_ADAPTIVE_SHARPEN
Select the preferred FIR mode.
Enable edge data mirroring On or Off Turn on to enable full mirroring of data at frame/field edges. If you do not turn on this feature, the edge pixel will be duplicated to fill all filter taps that stray beyond the edge of the frame/field.
Vertical filter taps 1–16, Default = 8 Select the number of vertical filter taps.
Horizontal filter taps 1–16, Default = 8 Select the number of horizontal filter taps.
Vertically symmetric coefficients On or Off Turn on to specify vertically symmetric coefficients.
Horizontally symmetric coefficients On or Off Turn on to specify horizontally symmetric coefficients.
Diagonally symmetric coefficients On or Off Turn on to specify diagonally symmetric coefficients.
Blur search range 1–3, Default = 1 Select the number of pixels over which a blurred edge may be detected. This option is available only if you select EDGE_ADAPTIVE_SHARPEN. If you enable Run-time control, you may override this value using the Avalon-MM control slave interface at run time.
Rounding method
  • TRUNCATE
  • ROUND_HALF_UP
  • ROUND_HALF_EVEN
Select how fraction bits are treated during rounding.
  • TRUNCATE simply removes the unnecessary fraction bits.
  • ROUND_HALF_UP rounds to the nearest integer value, with 0.5 always being rounded up.
  • ROUND_HALF_EVEN rounds 0.5 to the nearest even integer value.
Use signed coefficients On or Off Turn on to use signed coefficient values.
Coefficient integer bits 0–16, Default = 1 Select the number of integer bits for each coefficient value.
Coefficient fraction bits 0–24, Default = 7 Select the number of fraction bits for each coefficient value.
Move binary point right –16 to +16, Default = 0 Specify the number of places to move the binary point to the right prior to rounding and saturation. A negative value indicates a shift to the left.
Run-time control On or Off Turn on to enable coefficient values to be updated at run-time through the Avalon-MM control slave interface.
Note: When you turn on this parameter, the Go bit gets deasserted by default. When you turn off this parameter, the Go is asserted by default.
Fixed coefficients file (Unused if run-time updates of coefficients is enabled.) User specified file (including full path to locate the file) If you do not enable run-time control, you must specify a CSV containing a list of the fixed coefficient values.
Default upper blur limit (per color plane) 0– 2(input bits per symbol)-1

Default = 0

Sets the default upper blur threshold for blurred edge detection.

This option is available only if you select EDGE_ADAPTIVE_SHARPEN. If you enable Run-time control, you may override this value using the Avalon-MM control slave interface at run time.

Default lower blur limit (per color plane) 0– 2(input bits per symbol)-1

Default = 0

Sets the default lower blur threshold for blurred edge detection.

This option is available only if you select EDGE_ADAPTIVE_SHARPEN. If you enable Run-time control, you may override this value using the Avalon-MM control slave interface at run time.

Reduced control register readback On or Off If you turn on this parameter, the values written to register 3 and upwards cannot be read back through the control slave interface. This option reduces ALM usage.

If you do not turn on this parameter, the values of all the registers in the control slave interface can be read back after they are written.

How user packets are handled
  • No user packets allowed
  • Discard all user packets received
  • Pass all user packets through to the output
  • If your design does not require the 2D FIR II IP core to propagate user packets, then you may select Discard all user packets received to reduce ALM usage.
  • If your design guarantees there will never be any user packets in the input data stream, then you can further reduce ALM usage by selecting No user packets allowed. In this case, the 2D FIR II IP core may lock if it encounters a user packet.
Add extra pipelining registers On or Off Turn on to add extra pipeline stage registers to the data path.
You must to turn on this option to achieve:
  • Frequency of 150 MHz for Cyclone V devices
  • Frequencies above 250 MHz for Arria V, Stratix V, or Intel® Arria® 10 devices
Video no blanking On or Off Turn on if the input video does not contain vertical blanking at its point of conversion to the Avalon-ST video protocol.