Hello,
I have begun seeing an issue when doing D1 H.264 (H264ENC 2.01.013) encoding with Codec Engine (2.25.02.11) simultaneously with a custom vidanalytics algorithm I wrote. I do not see the problem when I disable DMA in my algorithm, but the performance is miserable (it gets less than half the required framerate). The problem manifests as a hang in the first H.264 process call. When I use CCS to halt it while hung, it seems to be stuck in H264VENC_TI_QDMA_wait().
Both algorithms are in different scratch groups. I am using 1D1D ACPY3 DMA transfers in my algorithm as a replacement for memcpy. I am using only 1 DMA channel.
Does anyone have any ideas on how I can debug & fix this problem?
I have attached a verbose log file with FC tracing enabled.
I have also attached the codec.cfg and server.cfg file I'm using for my codec server.
Thank you,
Dennis Estenson