Altera’s VIP Suite is a collection of MegaCore functions that the user can use to facilitate the development of custom video and image processing designs. This article highlights few tasks accomplished for a project that involved usage of Altera’s Cyclone V SoC and the VIP suite. The following VIP megacore functions were used for the implementation of Video and Image processing application:
Details on the above VIP cores can be found in Altera VIP User Guide
The above application includes 1 VGA input, 2 composite inputs and 1 SDI (Serial Digital Interface for digital videos). Three outputs are provided, out of which any two are active at a time. Out of two active outputs, composite output is always active. User can switch between LCD output and VGA output.
Features
The FPGA implements the overlay functionality either pixel by pixel or picture in picture overlay using above mentioned set of VIP mega-functions. The Video switch selects one video input out of four incoming video sources. The selected video input is scaled to output VGA resolution (VGA, SVGA or XGA) and stored in on-board DDR3 using Frame buffer mega-function. The alpha blending core takes 3 layers to generate overlaid video output; a test pattern generator, selected input video and the overlaying layer stored in on-board DDR3. In the output path, a colour plane sequencer duplicates the blender output. First output of the colour plane sequencer can be sent either to a VGA-monitor or LCD monitor as per switch selection. Second output of colour plane sequencer is sent over the Composite output path. Many VIP mega-core functions are placed between the input and the output for video processing from one format to another.
The overlaying layer can be updated in the DDR3 using NIOS-II processor or the HPS dual-core ARM cortex A9 processor embedded in Cyclone V SoC. iWave has implemented the QT application where the pixel by pixel overlay functionality has been proven. The Alpha-blender mixes the incoming video and the overlay layer according to the alpha values provided. At the output, the user will get the selected video overlaid with the QT layer.
The picture in picture overlay is also possible in a similar fashion where the multiple video layers will be mixed without considering the alpha values.
Click here to watch the Video.
For further information or enquiries please write to mktg@iwavesystems.com or contact our Regional Partners.