13.07.2015 Views

XAPP1167

XAPP1167

XAPP1167

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Architectures for Video ProcessingcvScale(src, dst, 2.0, 0.0);This function call scales pixels in the input image src by a factor of 2 with no offset andgenerates an output image dst. The corresponding behavior in the synthesizable library isimplemented by calling the hls::Scale template function:hls::Mat src;hls::Mat dst;hls::Scale(src, dst, 2.0, 0.0);1. Notice that although hls::Scale is a template function, the template arguments need notbe specified, since they are inferred from the template arguments in the declaration of srcand dst. The hls::Scale template function does require, however, that the input andoutput images have the same template arguments. A complete list of the supportedfunctions can be found in the Vivado Design Suite User Guide: High-Level Synthesis(UG902) [4].Architecturesfor VideoProcessingVideo Processing Designs in Zynq SoCs commonly follow one of the following two genericarchitectures. In the first architecture, referred to as “direct streaming”, pixel data arrives at theinput pins of the Programmable Logic and is transmitted directly to a video processingcomponent and then directly to a video output. A direct streaming architecture is typically thesimplest and most efficient way to process video, but it requires that the video processingcomponent be able to process frame strictly in real time.X-Ref Target - Figure 2Figure 2:Direct Streaming Architecture for Video ProcessingIn the second architecture, refer to as “frame-buffer streaming”, pixel data is first stored inexternal memory before being processed and stored again in external memory. A video displaycontroller is then required to output the processed video. A frame-buffer streaming architectureallows more decoupling between the video rate and the processing speed of the videocomponent, but it requires enough memory bandwidth to read and write the video frames intoexternal memory.<strong>XAPP1167</strong> (v2.0) August 27, 2013 www.xilinx.com 4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!