Video and Vision Processing Suite IP User Guide

ID 683329
Date 3/30/2025
Public
Document Table of Contents
1. About the Video and Vision Processing Suite 2. Getting Started with the Video and Vision Processing IPs 3. Video and Vision Processing IPs Functional Description 4. Video and Vision Processing IP Interfaces 5. Video and Vision Processing IP Registers 6. Video and Vision Processing IPs Software Programming Model 7. Protocol Converter IP 8. 1D LUT IP 9. 3D LUT IP 10. Adaptive Noise Reduction IP 11. Advanced Test Pattern Generator IP 12. AXI-Stream Broadcaster IP 13. Bits per Color Sample Adapter IP 14. Black Level Correction IP 15. Black Level Statistics IP 16. Chroma Key IP 17. Chroma Resampler IP 18. Clipper IP 19. Clocked Video Input IP 20. Clocked Video to Full-Raster Converter IP 21. Clocked Video Output IP 22. Color Plane Manager IP 23. Color Space Converter IP 24. Defective Pixel Correction IP 25. Deinterlacer IP 26. Demosaic IP 27. FIR Filter IP 28. Frame Cleaner IP 29. Full-Raster to Clocked Video Converter IP 30. Full-Raster to Streaming Converter IP 31. Genlock Controller IP 32. Generic Crosspoint IP 33. Genlock Signal Router IP 34. Guard Bands IP 35. Histogram Statistics IP 36. Interlacer IP 37. Mixer IP 38. Pixels in Parallel Converter IP 39. Scaler IP 40. Stream Cleaner IP 41. Switch IP 42. Text Box IP 43. Tone Mapping Operator IP 44. Test Pattern Generator IP 45. Unsharp Mask IP 46. Video and Vision Monitor Intel FPGA IP 47. Video Frame Buffer IP 48. Video Frame Reader Intel FPGA IP 49. Video Frame Writer Intel FPGA IP 50. Video Streaming FIFO IP 51. Video Timing Generator IP 52. Vignette Correction IP 53. Warp IP 54. White Balance Correction IP 55. White Balance Statistics IP 56. Design Security 57. Document Revision History for Video and Vision Processing Suite User Guide

11.2. Advanced Test Pattern Generator IP Parameters

The IP offers run time and compile time parameters.
Table 73.  Advanced Test Pattern Generator IP Parameters
Parameter Values Description
General

Interface Configuration

Lite mode On or Off

Turn on to use the Lite variant of the Intel FPGA Streaming Video protocol.

Bits per color sample 8 to 16 Selects the number of bits per color sample
Number of pixels in parallel 1 to 8 Selects the number of pixels transmitted per clock cycle. If either YCbCr422 or YCbCr420 is selected as the Color space, then this must be 1 or even.
Color space RGB444, YCbCr444, YCbCr422, YCbCr420, Monochrome

Selects the output color space.

RGB444, YCbCr444 and YCbCr420 have 3 color channels.

YCbCr422 has 2 color channels. Monochrome has 1 color channel.

General Settings
Memory mapped control interface On or Off

Turn on for the Avalon memory-mapped control agent interface and allow run-time configuration via the register map.

Debug features On or Off

Turn on to read back from any writable registers and read-only registers.

If off, you cannot read back from any writable registers. However you can still read any read-only registers.

Separate clock for control interface On or Off Enable a separate clock for the Memory mapped control agent interface
Pipeline ready signals On or Off Enable to add extra pipeline registers to AXI4-S tready signals.

Number of test patterns

2 to 8

Select the number of test patterns.

Video Configuration
Fixed field width 1 to 16384 Only if Memory-mapped control interface is off. Select the width of the frames and fields produced at the output. If the selected Color space is YCbCr 4:2:2 or YCbCr 4:2:0, the frame width must be a multiple of 2.
Fixed field height 1 to 16384

Only if Memory-mapped control interface is off. Select the height of fields produced at the output.

If the selected Color space is YCbCr 4:2:0, the field height must be a multiple of 2.

Fixed interlace 0 to 15

Only if Memory-mapped control interface is off.

If Lite mode is off, this value populates the interlace nibble field in the output image info packets.

  • Values 0 to 7 give progressive output.
  • Values 8 to 11 give interlaced output with F0 sent first.
  • Values 12 to 15 give interlaced output with F1 sent first.

Pattern X

Pattern X is repeated for all patterns 0 to 7, where X is the pattern number.

Pattern X test pattern

Bars

Constant color

SDI pathological

Zone plate

Digital clock

Sets the test pattern for pattern X.

Pattern X Dimensions, Offsets, and Alpha

These parameters are only available if Memory mapped control interface is off. Otherwise, refer to the register map for control of these settings.

Pattern 0 is the base layer and uses Fixed frame width, Fixed frame height, Fixed frame interlacing instead of these parameters listed here.

Pattern width 1 to 16384 Sets the width of pattern X.
Pattern height 1 to 16384 Sets the height of pattern X.
Alpha value 0 to (2^ Bits per color sample) – 1 Sets the alpha value (transparency) used to blend pattern X with
Horizontal offset 0 to 16383 Sets the horizontal offset for pattern X.
Vertical offset 0 to 16383 Sets the vertical offset for pattern X.

Pattern X Pattern Configuration

Constant color R/Cr 0 – (2^ Bits per color sample) – 1

Sets the value that the IP uses for the R color plane if output is RGB, or Cr color plane if output is YCbCr.

18
Constant color G/Y 0 – (2^ Bits per color sample) – 1

Sets the value that the IP uses for the G color plane if output is RGB, or Y color plane if output is YCbCr.

18
Constant color B/Cb 0 – (2^ Bits per color sample) – 1

Sets the value that the IP uses for the B color plane if output is RGB, or Cb color plane if output is YCbCr.

18
Bars mode

Color

Greyscale

Black and White

Mixed

Sets which variant of the bars pattern to use. Only if pattern X is bars test pattern.
Zone plate Origin x-coordinate 0 to 16383 Set to configure the x-coordinate of the zone plate origin. 19
Zone plate Origin y-coordinate 0 to 16383 Set to configure the y-coordinate of the zone plate origin.19
Zone plate Coarse scaling factor 1 to 31

Set to configure the coarse scaling coefficient of the zone plate size. Increase this value to increase the size of the zone plate.

The value is arbitrary, but recommended starting values are 17 for HD and 19 for 4k resolutions.

19
Zone plate Fine-tune scaling factor 1 to 65535

The fine tune scaling coefficient of the zone plate size. This 16-bit fixed point number hash 8 bits fractional part (hence 256 is a value of 1.0). Increase this value to decrease the size of the zone plate.

19
Digital clock Background color (B/Cb)

0 to (2^ Bits per color sample) – 1

Set to configure the B component of the digital clock display background color if the output color space is RGB, or Cb component if YCbCr.

20
Digital clock Background color (G/Y)

0 to (2^ Bits per color sample) – 1

Set to configure the G component of the digital clock display background color if the output color space is RGB, or Y component if YCbCr.

20
Fixed digital clock background color (R/Cr)

0 to (2^ Bits per color sample) – 1

Set to configure the R component of the digital clock display background color if the output color space is RGB, or Cr component if YCbCr.

20
Digital clock font color (B/Cb) 0 to (2^ Bits per color sample) – 1

Set to configure the B component of the digital clock display font color if the output color space is RGB, or the Cb component if YCbCr.

20
Digital clock font color (G/Y) 0 – (2^ Bits per color sample) – 1

Set to configure the G component of the digital clock display font color if the output color space is RGB, or the Y component if YCbCr.

20
Digital clock font color (R/Cr) 0 – (2^ Bits per color sample) – 1

Set to configure the R component of the digital clock display font color if the output color space is RGB, or the Cr component if YCbCr.

20
Digital clock location X coordinate 0 to 16383

Set to configure the x-coordinate of the location of the top-left pixel of the digital clock display.

20
Digital clock location Y coordinate 0 to 16383

Set to configure the y-coordinate of the location of the top-left pixel of the digital clock display.

20
Digital clock scale factor 1 to 2048

Set to configure the scale factor of the digital clock display in both vertical and horizontal dimensions.

If scale factor is 1, each character is 8x8 pixels, and a total of 88x8 for the display.

20
Digital clock FPS value 1 to 60

Set to configure the FPS used to determine after how many frames a second occurs. Does not effect true outgoing video refresh rate.

20
18 Only pattern X is constant color test pattern.
19 Only if pattern X is zone plate test pattern.
20 Only if pattern X is digital clock test pattern.