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.

ARM reads captured data from shared memory is too slow!


I am working on DVRRDK_02_00_00.23 code base with dm8168evm + vs card. I have sucessfully intercepted the capture video data frame that VPSS-M3 has placed into the shared memory. So that I can process the capture video frames in A8 using my own algorithm and place the processed data into another buffer. But I noticed that reading YUV  data from shared memory is much slower than accessing data from the local memory that was allocated by A8 itself. 

I basically I got the frame pointer from ipcFramesSendRecvFxn() and then use mmap() to obtain the virtual address of the frame pointer on A8. Is there any specific thing I need to be aware of when applying an algorithm directly on the captured frame data which sit in the shared memory region?

Thanks a lot,

-Perry