Altera_Forum
Honored Contributor
15 years agoExtract pixel data from video stream
Hi,
I am very new to FPGA. I am trying to configure a test system using a video input via Bitec QV card and to output pixel data to an external SPI-controlled display device. The interface to the external device requries manipulation of pixel data (16-bit RGB565) with delays between bytes sent and special handling for each new frame. I am reasonably able to create a video flow to receive input video, clip, scale, mix etc and to output this stream on the DVI out on the Bitec QV card. I have successfully modified the VIP Ref Design using Quartus 9.1SP2 on a CycloneIII Dev Kit board (3C120). However, I cannot figure out how to access the pixel data for output to my external device. I know that I need a framebuffer to hold the incoming data and to manage the different frame rates between input and output. Using the VIP Ref Design the framebuffer uses DDR2 mem. I hoped that I could use the reader component of this framebuffer then to access the direct pixel data and to control the data flow to the external device. But I cannot determine if this is even possible let alone how to do it. It would be great if someone experienced can tell me if this is possible or what modules I need to do this. I also considered using DMA to access the framebuffer memory but this does not solve the problem of how to manage the output flow rate or even where the pixel data is in memory for the current 'valid' frame. Any help would be greatly appreciated, thanks!