This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

VDMA usage in HDVICP2

Hi,

We are trying VDMA to use in iCont side for transfer of data from DDR to DDR for input frame data copy. We are able to make sucessfully transfer for QCIF framesize, but not able to transfer for (1280x720). we are able to copy only (1280x104 = 130KB) of data only. Hence we want to know is there any limitation of size transfer in 2-D VDMA in icont side.

Please let me know any inputs why this DMA may fail, as we have taken care of alignment and memory properly allocated.

Is it feasible for frame data copy using VDMA or we should use EDMA on M3 side??

Waiting for important suggestions, as this information requires urgently.

Regards

Deepak

 

  • There is no restriction on amount of data transfer. 
    Hope you're taking care of below points for VDMA 2D DDR to DDR transfer - 
    1. In one transfer, you can transfer at max 255 lines
    2. So for 1280x720, you have to prepare 3 descriptors for Luma - 2 with no. of lines = 255 and 3rd one with remaining lines. And one for chroma with no. of lines = 360 (assuming 420SP, 720/2)
    3. You should allocate sufficient memory for each descriptor i.e (256bits x 3) for Luma (256bits x 1) for Chroma (for 1280x720)