Hi,
I need to copy the Decoder output data to the buffer which is allocated in shareregion 1 using Memory_alloc(). I do as follows:
1. get the virtual addr from physical addr using OSA_mapMem()
2. use memcpy to copy data from virtual addr to shareregion buffer.
I copy 640x480 bytes each time, and it needs more than 5ms to do so. But if I copy the same number of data from the buffers both in A8 side or both in shareregion or A8->shareregion or shareregion->A8, it just needs 0.5ms or so. I could not understand why the run time varies so much.
Could someone know that?
Thanks in advance! Appreciate for your reply!