I'm working with the simple iUniversal copy codec in XDAIS 7.23.00.06 with Codec Engine 3.23.00.07 (latest one) and am finding it is slow at processing data. I am using the DSP core of the DM8168 chip.
I've modified the example so that the input buffer is totally ignored, and all that is done is the output buffer is allocated from shared memory by the application and passed to the codec where it is looped over and each byte is individually set to 1.
I'm trying to process 1080p video frames, so I'm effectively looping over 6,220,800 bytes and I'm finding that I'm only achieving about 16 frames per second. That's about 10,000,000 bytes of the input buffers being set to 1 per second. Why is the processing so slow? Please could someone give me a hint how I can optimise my loop?
By the way, I don't think "intrinsics" will help me because eventually I want to actually do some proper processing on the video pixels and not just set them to 1. The way I see it, I would like to get my basic loop running at at least 60fps and then work on an actual algorithm.
Thanks,
Ralph