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.

How to custom & integrate our own algorithm on DM8168 DVR RDK (V02.00.00.23)

Our application as following

2 ways D1 analog video capture -->  DSP (alg) --> ENCODE(H264) & DISPLAY  (only 1 D1 video source will be processed in DSP at the certain time)

We tried mcfw demo and it worked just fine. 

But we confused about how to develop and integrate our own alg into this demo.

2 questions:

(1) SWOSD and SCD documents mentioned only 5 frames processing per second is supported, is that possible to increase to 25fps?

(2) If we can not use SCD/SWOSD, then how to develop our alg interface under mcfw ? any example for us?

  • Anybody can get help? 

  • (1) SWOSD and SCD documents mentioned only 5 frames processing per second is supported, is that possible to increase to 25fps?

      - SWOSD runs at 25 fps. Only SCD runs at 5 fps. You can enable your algorithm to run at 25 fps. You just have to set the correct frameRate in ipcFramesOut  link in your usecase

    (2) If we can not use SCD/SWOSD, then how to develop our alg interface under mcfw ? any example for us?

     - It is best to refer to SWOSD as reference to integrate your own algorithm. Integrating your own algorithm will involve writing a mcfw wrapper file similar to osdLink_alg.c/osdLink_priv.h with the following functions implemented:

      - AlgLink_xxxAlgCreate

      - AlgLink_xxxAlgDelete

      - AlgLink_xxxAlgProcessFrame