Hello,
I've observed in CE examples that memcpy implemented in the codec takes approximately 280ms to perform an in.dat->out.dat copy of 8Mb. Next, I've replaced this function by a custom one as follows:
for(i = 0; i < numInBytes; i++)
*(outBufs->descs[0].buf+i) = *(inBufs->descs[0].buf+i);
and it takes almost 2400ms to perform the same copy process.
I've tried to build the codec server as a release profile but I've got no improvements. Also I've included in the codec some pragmas like LOOP_COUNT_INFO with no success.
The questions are predictable:
What could be the cause of such a difference? How the memcpy is implemented in EZDSK 5.04.00.11 and how I could achieve a similar performance than the provided memcpy? Currently I've not intention to use the DMA.
Regards,
gaston