VEEK-MT2 User Manual
38
www.terasic.com
July 4, 2016
4.7
Video and Image Processing for Camera
The Video and Image Processing (VIP) for Camera Example Design demonstrates dynamic scaling and
clipping of a standard definition video stream in RGB format and picture-in-picture mixing with a
background layer. The video stream is output in high resolution (800×480) on LCD touch panel.
The example design demonstrates a framework for rapid development of video and image processing
systems using the parameterizable MegaCore® functions that are available in the Video and Image
Processing Suite. Available functions are listed in
Table 4-1
. This demonstration needs the Quartus II
license file includes the VIP suite feature.
These functions allow you to fully integrate common video functions with video interfaces, processors,
and external memory controllers. The example design uses an Altera Cyclone® IV E EP4CE115F29
featured on the VEEK-MT2.
A video source is input through the CMOS sensor on VEEK-MT2 which generates a digital output in
RGB format. A number of common video functions are performed on this input stream in the FPGA.
These functions include clipping, chroma resampling, motion adaptive deinterlacing, color space
conversion, picture-in-picture mixing, and polyphase scaling.
The input and output video interfaces on the VEEK-MT2 are configured and initialized by software
running on a Nios® II processor. Nios II software demonstrates how to control the clocked video input,
clocked video output, and mixer functions at run-time is also provided. The video system is
implemented using the QSYS system level design tool. This abstracted design tool provides an easy
path to system integration of the video processing data path with a NTSC or PAL video input, VGA
output, Nios II processor for configuration and control. The Video and Image Processing Suite
MegaCore functions have common open Avalon-ST data interfaces and Avalon Memory-Mapped
(Avalon-MM) control interfaces to facilitate connection of a chain of video functions and video system
modeling. In addition, video data is transmitted between the Video and Image Processing Suite functions
using the Avalon-ST Video protocol, which facilitates building run-time controllable systems and error
recovery.
For the objective of a better visual effect, the CMOS sensor is configured with autofocus function. The
autofocus function works at first when the demonstration starting up.
Summary of Contents for VEEK-MT2
Page 1: ...1 ...