Video Scaler IP Core

Flexible Video Scaling for Low Power FPGAs

The Lattice Video Scaler IP core is used to scale up or scale down the resolution of a video stream. The IP supports scaling from an arbitrary input resolution to a wide range of output resolutions as configured by the user. Its flexible architecture supports a wide variety of scaling algorithms. The highly configurable design takes advantage of the embedded RAM and DSP blocks available in Lattice FPGAs. A simple I/O handshake makes the core suitable for either streaming video or burst input video data. In-system input and output frame size update is possible on a frame basis.

The design is implemented in Verilog HDL. It can be configured, generated and implemented using the Lattice Radiant Software. It supports CertusPro™-NX, Certus™-NX, and CrossLink™-NX FPGA devices.

Supports Four Scaling Algorithms – The IP supports four scaling algorithms namely, nearest neighborhood, bilinear interpolation, bicubic interpolation, and multi-tap Lanczos filter. The Lanczos filter supports multiple taps from 4 to 12. Filter coefficients are generated at compile time when the kernel is configured.

Scaling Factors for the Horizontal and Vertical Dimensions – The Video Scaler IP core allows different scaling factors for the horizontal and vertical dimensions. It performs vertical and horizontal scaling in two steps.

Features

  • Configurable pixels per clock: 1,2, and 4
  • Configurable input/output resolution from 32 to 4096 pixel
  • Choice of AXI4-Stream or Native Video interfaces for video data
  • Multiple color spaces: RGB , YCbCr 4:4:4, and YCbCr 4:2:2
  • Optional AXI-Lite interface for dynamic update of some IP parameters

Block Diagram

Resource Utilization

Below tables show configuration and resource utilization for Nexus devices where the results are based on the Synplify Pro and Lattice Radiant software version 2022.1.

CertusPro NX (LFCPNX-100-8LFG672C)
Configuration Resource Utilization
Pixels Per Clock Bits Per Component Resolutions Scaling Method Registers LUTs EBRs DSP
1 8 720p -> 1080p Nearest 790 1330 9 -
1 8 720p -> 1080p Bilinear 1457 1819 12 12
1 8 720p -> 1080p Bicubic 1782 2621 15 12
1 16 1080p -> 720p Bicubic 2649 4699 34 24
1 16 720p -> 1080p Bicubic 2482 3590 30 24
1 8 720p -> 1080p Lanzcos 1826 2803 15 12
2 8 720p -> 1440p Lanzcos 2813 4915 27 24
2 8 1440p -> 720p Lanzcos 3103 7059 38 24
4 8 720p -> 2160p Lanzcos 5488 11942 42 48
4 8 2160p -> 720p Lanzcos 6183 17036 95 48
Certus-NX (LFD2NX-40-8MG121C)
Configuration Resource Utilization
Pixels Per Clock Bits Per Component Resolutions Scaling Method Registers LUTs EBRs DSP
1 8 720p -> 1080p Nearest 806 1332 9 -
1 8 720p -> 1080p Bilinear 1452 1840 12 12
1 8 720p -> 1080p Bicubic 1785 2628 15 12
1 16 1080p -> 720p Bicubic 2615 4607 34 24
1 16 720p -> 1080p Bicubic 2481 3589 30 24
1 8 720p -> 1080p Lanzcos 2891 1826 15 12
2 8 720p -> 1440p Lanzcos 2824 4920 27 24
2 8 1440p -> 720p Lanzcos 3121 6984 38 24
4 8 720p -> 2160p Lanzcos 5489 12006 42 48
4 8 2160p -> 720p Lanzcos Not fitting
CrossLink-NX (LIFCL-33-8USG84C)
Configuration Resource Utilization
Pixels Per Clock Bits Per Component Resolutions Scaling Method Registers LUTs EBRs DSP
1 8 720p -> 1080p Nearest 806 1332 9 -
1 8 720p -> 1080p Bilinear 1452 1840 12 12
1 8 720p -> 1080p Bicubic 1785 2628 15 12
1 16 1080p -> 720p Bicubic 2615 4607 34 24
1 16 720p -> 1080p Bicubic 2481 3589 30 24
1 8 720p -> 1080p Lanzcos 2826 2891 15 12
2 8 720p -> 1440p Lanzcos 2824 4920 27 24
2 8 1440p -> 720p Lanzcos 3121 6984 38 24
4 8 720p -> 2160p Lanzcos 5489 12006 42 48
4 8 2160p -> 720p Lanzcos Not fitting

Ordering Information

  Part Number
Device Family Multi-site Perpetual Single Seat Annual
Avant-E VIDEO-SCALER-AVE-UT VIDEO-SCALER-AVE-US
Avant-G VIDEO-SCALER-AVG-UT VIDEO-SCALER-AVG-US
Avant-X VIDEO-SCALER-AVX-UT VIDEO-SCALER-AVX-US
CertusPro-NX VIDEO-SCALER-CPNX-US VIDEO-SCALER-CPNX-UT
Certus-NX VIDEO-SCALER-CTNX-US VIDEO-SCALER-CTNX-UT
CrossLink-NX VIDEO-SCALER-CNX-US VIDEO-SCALER-CNX-UT

To download a full evaluation version of this IP, go to the IP Server in Lattice Radiant. This IP core supports Lattice’s IP hardware evaluation capability, which makes it possible to generate the IP core and operate in hardware for a limited time (approximately four hours) without requiring an IP license.

To find out how to purchase the Video Scaler IP core, please contact your local Lattice Sales Office.

Documentation

Quick Reference
TITLE NUMBER VERSION DATE FORMAT SIZE
Select All
Video Scaler IP Core - User Guide
FPGA-IPUG-02234 1.1 1/8/2024 PDF 1.5 MB

*By clicking on the "Notify Me of Changes" button, you agree to receive notifications on changes to the document(s) you selected.