Hi,
I am trying to encode the video as examples of DMAI application. It works but the performance is not good.
By printing the time stamp, I found the memcpy costs too much time (~40ms):
Int8 *ptr = Buffer_getUserPtr(hBuf);
memcpy(ptr, g_video_frame_data, 640 * 480 * 2); // this action costs ~40ms
...
Is it possible to reduce this time? I want to record with 30fps, so I hope it can be decreased to <10ms.
Thanks.
Jason Xu