Video and Vision Processing Suite Intel® FPGA IP User Guide

ID 683329
Date 7/08/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

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 Intel® FPGA IP 8. 1D LUT Intel® FPGA IP 9. 3D LUT Intel® FPGA IP 10. Adaptive Noise Reduction Intel® FPGA IP 11. Advanced Test Pattern Generator Intel® FPGA IP 12. AXI-Stream Broadcaster Intel® FPGA IP 13. Bits per Color Sample Adapter Intel FPGA IP 14. Black Level Correction Intel® FPGA IP 15. Black Level Statistics Intel® FPGA IP 16. Chroma Key Intel® FPGA IP 17. Chroma Resampler Intel® FPGA IP 18. Clipper Intel® FPGA IP 19. Clocked Video Input Intel® FPGA IP 20. Clocked Video to Full-Raster Converter Intel® FPGA IP 21. Clocked Video Output Intel® FPGA IP 22. Color Plane Manager Intel® FPGA IP 23. Color Space Converter Intel® FPGA IP 24. Defective Pixel Correction Intel® FPGA IP 25. Deinterlacer Intel® FPGA IP 26. Demosaic Intel® FPGA IP 27. FIR Filter Intel® FPGA IP 28. Frame Cleaner Intel® FPGA IP 29. Full-Raster to Clocked Video Converter Intel® FPGA IP 30. Full-Raster to Streaming Converter Intel® FPGA IP 31. Genlock Controller Intel® FPGA IP 32. Generic Crosspoint Intel® FPGA IP 33. Genlock Signal Router Intel® FPGA IP 34. Guard Bands Intel® FPGA IP 35. Histogram Statistics Intel® FPGA IP 36. Interlacer Intel® FPGA IP 37. Mixer Intel® FPGA IP 38. Pixels in Parallel Converter Intel® FPGA IP 39. Scaler Intel® FPGA IP 40. Stream Cleaner Intel® FPGA IP 41. Switch Intel® FPGA IP 42. Tone Mapping Operator Intel® FPGA IP 43. Test Pattern Generator Intel® FPGA IP 44. Unsharp Mask Intel® FPGA IP 45. Video and Vision Monitor Intel FPGA IP 46. Video Frame Buffer Intel® FPGA IP 47. Video Frame Reader Intel FPGA IP 48. Video Frame Writer Intel FPGA IP 49. Video Streaming FIFO Intel® FPGA IP 50. Video Timing Generator Intel® FPGA IP 51. Vignette Correction Intel® FPGA IP 52. Warp Intel® FPGA IP 53. White Balance Correction Intel® FPGA IP 54. White Balance Statistics Intel® FPGA IP 55. Design Security 56. 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.

17
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.

17
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.

17
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. 18
Zone plate Origin y-coordinate 0 to 16383 Set to configure the y-coordinate of the zone plate origin.18
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.

18
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.

18
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.

19
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.

19
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.

19
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.

19
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.

19
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.

19
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.

19
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.

19
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.

19
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.

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