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.

DM8148 on A8 side , How should i do can improve effective?

Hi :

  This is my usecase on DM8148.

  I'm want to do Image recognition on A8 side .

Capture (YUV422I) HD/FHD 

     |

 CAP_DUP_LINK_IDX

     |

     DEI

     |

  VIP-SC YUV420 

     |

  FRAME OUT(VPSS) 

     |   

  Frames In A8        

Now ,I can get frame on A8 side , and i copy frame to other buffer.

Please refer to the steps

1.using mmap that create a virtaddr.

2.do memcpy(other_buffer , virtaddr , (1920*1080)<<2);

3.I measured time , memcpy used 350~400ms.  <i can't believe , it's too long>

Question:

1.Why memcpy used a long time?

2.How should i do can improve effective?