All,
The ACPY3_Wait interface takes a long time to come out if my application captures the video for two different video ports and does analytics on each video channel in synchronous fashion. The problem goes away if I don't perform analytics or I provide the dummy video to both analytics channels.
To me, it looks like the DMA conflict between the video driver and analytics algo. Though, the analytics requests the dma resources through DMAN3 interface and the codec engine framework satisfies the analytics DMA requirement of 2 channel for each analytics channel.
I have tried following configurations in .cfg file but it doesn't resolve the issue.
-------------- 1--------------
DMAN3.paRamBaseIndex = 78;
DMAN3.numQdmaChannels = 4;
DMAN3.qdmaPaRamBase = 0x02A04000;
DMAN3.qdmaChannels = [0,1,2,3];
DMAN3.numPaRamEntries = 48;
DMAN3.numPaRamGroup[0] = 16;
DMAN3.numTccGroup[0] = 16;
DMAN3.tccAllocationMaskL = 0;
DMAN3.tccAllocationMaskH = 0xffffffff;
--------------------------------------------
-------------- 2--------------
DMAN3.paRamBaseIndex = 256;
DMAN3.numQdmaChannels = 8;
DMAN3.qdmaPaRamBase = 0x02A04000;
DMAN3.qdmaChannels = [0,1,2,3,4,5,6,7];
DMAN3.numPaRamEntries = 48;
DMAN3.numPaRamGroup[0] = 48;
DMAN3.numTccGroup[0] = 8;
DMAN3.tccAllocationMaskL = 0;
DMAN3.tccAllocationMaskH = 0xffffffff;
--------------------------------------------
Any idea whats going on here?
Thanks in advance for any help on this issue.
Regards,
ARM