HI,
I am working with DM637. I have an algorithm working on every incoming frame.Algorithm has many functions and all functions require somw arrays. So instead of passing pointer to array in each fucntion i decided to kepp everything as global. Due to this all the array needs to be set to ZERO before processing of each frame or else algorithm takes wrong values of past frames and hungs up. For setting arrays to zero i use memset() function. Problem is memset function eats up lot of processor.
For now it takes around 30 ms just to set all values to zero.Details of arrays and their sizes are
1-> 2 char arrays of size 1280x800
2->5 interger arrays of size 640x480
Kindly help me on how to minimise. Is there any other ways to do this?