Forum Discussion
There is a video and image processing SOPC Builder example design that may be a good starting point. The data path contains a chain of video processing megacore functions (deinterlacer, scaler, color space conversion, chroma resampler, mixer, frame buffer, color plane sequencer, test pattern generator) and a Nios II processor for control and configuration. The example takes in composite video (NTSC) and format converts to DVI (1024x768). It contains software control code and class APIs to make it easier to interface to the video megacore functions that have run-time control interfaces (Av-MM). It runs on the 3C120 board (video dev kit from Bitec). The median filter doesn't have a control interface, but you could just drop it into the datapath, say, connecting the input to the output of the scaler and the output to the input of the mixer. See the app note (an427.pdf) at
http://www.altera.com/support/refdesigns/sys-sol/broadcast/ref-post-processing.html?gsa_pos=1&wt.oss_r=1&wt.oss=video%20post%20processing All the connections in SOPCB are Av-ST (for data streaming point to point connections) and Av-MM (read/write address based bus transactions). The VIP Suite functions use a protocol called Av-ST Video to transmit video between them. You can use the clocked video input and clocked video output blocks (video and image processing->IO in SOPCB component list) to bridge between various video standards (BT656, VGA, DVI) and Av-ST Video to get video on and off the chip. Hope this helps.