This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

memcopy from image buffer is very slow DM8168 vc3 demo

Expert 2220 points

Hello,

For background I am working with the Netra dm8168 EZSDK 5.00 I currently have a project set up based out of the vc3 demo with a custom daughtercard that reads in 12 bit monochrome images from a CMOS imager. In my current implementation I am using OMX to grab pointers to image buffers filled by the M3. I am currently capturing 1920 x 1280 images at 45 fps. 

The problem arises when I try to process these images. When I make a copy of the the image buffer it takes 50 - 70ms using memcpy. While if I declare an arbitrary buffer of the same size and copy it, it copies in 3ms. Any idea what  would slow the copying of a video port image buffer compared to a non-video port buffer?

Thanks,

Ben