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.

Regarding delay in memcpy with v4l2

Other Parts Discussed in Thread: AM5728

Hi All

We are working on a custom board based on AM5728. We are using mmap to capture the frames from V4L2 and we are using 4 buffers. The problem is its taking a lot of time to make a copy of these buffers for processing.

Our frame size is 720x576 and we are receiving frames at 40ms.

while(1) {

//1. Deque the frame

//2. memcpy to local buffer. it takes 20-25ms

//3. Queue it back

}

What can we do to overcome this?

Regards

Amrit