Hi all,
I'm working on PCIe-EDMA driver to transfer decoded video data to a DSP through pci-e. My target processors would be DM8148 and TI DSP. I have been using EZSDK 5.03.01.15 version. My question is if or not it is possible to transfer decoded data(1600x1600 pixel) using EDMA3 because, as far as I know, only contiguous memory space will be accepted on EDMA3. I believe that it could be possible modifying TestApp_WriteOutputData function in decode_test.c, as long as pBufferHeader->pBuffer has linear memory space - contiguou space. Basically, it is almost impossible to use memcpy because the output buffer from M3 processor is not cached area - out of linux memory space. So it is really really slow. To make long story short, the data flow looks like below.
encoded data ------> OMX decoder -------> output buffer ------> PCI-e transfer ---------> DSP
1600x1600 contiguous space ?
On my understanding, I am only able to use pre-allocated image buffer from HDVICP2 or M3 processor and the buffer is a kind of black-box for me. Am I correct ? If it is, I'm right so far, can I use the buffer for EDMA3 ?
Best Regards,
SK