Hi all,
I have interfaced USb camera with DM365. The camera output is in MJPEG encoded format. I need to copy data from camera output buffer into Mjpeg decoder input buffer.
Its happening properly with memcpy(). But this is taking lot of CPU time.. (almost 7%-8% of total used by application).
Can I use DMA copy in this case?
I referred to 'dmai_2_20_00_15/packages/ti/sdo/dmai/linux/dm365/Framecopy_accel.c' file and configured the parameters. But no success.
Can anyone please tell me how the DMA copy exactly works? and can it be used to this kind of data copy?
Thanks a lot.
Regards,
Avneet