Memory Layout for Video Frames (D5M Camera + VGA)
Hi. I'm working on the implementation of an object detection algorithm using NIOS on the DE1. My next step is to get the D5M camera interfaced and be able to display the processed output on a VGA. I'm currently looking at the DE2 D5M_Video_In example and am somewhat confused about the part where a Video DMA is used to store the pixel data from stream to memory. The frame resolution used is 640x240 with a 16 bit RGB format. In the Video IP Cores for DE Series Boards document, the subsection 3.1 Memory Layout for Video Frames shows that 32 bits are reserved per pixel (even if some are unused) in both addressing formats. However the DE2 only has 512KB of SRAM and the image size used would require 600KB if it really is 32 bits per pixel. Is there a mistake in my understanding?
On a side note the algorithm requires 8 bit gray scale pixels and I would like to be able to keep the image as large as possible. I want to retrieve the pixel data and process it via NIOS. I'd appreciate any advice on the matter. Hopefully this part of the forum is more active than the UP section :). Ammar