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.

Sending video frame on buffer to memory(DDR2) using EDMA transfer

Hello,

I use an example from wiki.danicidsp (Accessing pixels in a frame on DM643x) and understand this.I can access current frame like this :

void **currentframe;

while{!done && status == 0){

  /* grab a fresh video input frame */
    FVID_exchange(hGioVpfeCcdc, &frameBuffPtr);
currentframe=(void*)frameBuffPtr->frame.frameBufferPtr;

/7.......

 

}

 

I want to  send currentframe to memory using EDMA transfer.After new frame capture,dsp access frame on memory  and VPSS system send new frame to memory using EDMA .And this will go on like this.But this operations ara very complex for me.How can I implement this? Could you give me an example?

 

Best regards..

 

  • Davinci SoC VPFE has an internal DMA which takes care of writing the capturing buffers to DDR (memory), and there is no need of an EDMA transfer for this,

    When you do FVID_exchange, you can be assured of the capture buffer's presence in the DDR at &framebufferptr..

    Unless I did not understand your question,  this should help you.

     

    -MAnju

  • Thans for your help Manjunath.

    After I do FVID_exchange, I want to send video buffer to DDR using EDMA.

    Because I have to access  previous frame,when I capture new frame .Because I wil implement   motion correction algorithm on DM6437.

    So, how can I  do this application?

    Could you help me please?

     

    Best Regards...