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.

CPU workload issue with dvsdk 4.02.00.06 on DM368 because of memcpy

Hi all,

Hi I have integrated external USB camera with my video phone application on DM368. The USB camera gives output in MJPEG encoded format but I want to send data over the network in H.264 encoded format.

So first I am decoding the MJPEG data in raw data format and again encoding it in H.264 format and then sending it over the network.
I observed that CPU % usage for this Tx path is around 40%-45% which is very high.

As I checked module wise i found that "Encoder+Send to network" is taking around 25%-30% CPU time. As I dug even deeper I found that "memcpy" alone is taking 7%-10% of CPU time.

I checked the same on DM6446 processor. It is working absolutely fine there.

What can this problem be related to?

I am using dvsdk 4.02.00.06 on DM368 board.

Thanks and Regards,
Avneet