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.

SCD algorithm modification

Hello,
  I want to replace the provided SCD algorithm with mine, may I know how to do that?
  I want to try to modify the source under "DVRRDK_02.00.00.23/dvr_rdk/mcfw/src_bios6/alg/scd/",
  but I didn't find any soure except the library like scd.ae674 under "DVRRDK_02.00.00.23/dvr_rdk/mcfw/src_bios6/alg/scd/lib".

  Any bodies know that?
 
BR,
M123

  • M123,

    SCD code is released in lib format. You can refer to the app note on SCD integration. You can find  "DM81xx_DVRRDK_SCD_AlgorithmIntegration.pdf" document in appNote folder. It gives a high level picture of the link.

    You can refer to the alg link code and integrate your own algorithm. This link provide a framework that allows you to add your own algo.

    Currently we support  two features, OSD and SCD, on DSP side.We have separate createTime structures and enable flags for these two tasks. You can add your own structures of create param and separate flag to enable your algo. Follow the code structure of either SCD or OSD to create thread and other associated tasks. These two task are performed depending upon their activation.

  • Hello,
       
    By checking SCD API user guide "SCD_TI_API_UsersGuide_v00.50.pdf", we found the definition of the API
          SCD_TI_setPrms(PTR handle, SCD_chPrm *pScdParam, U32 chanID, SCD_Status status);
    And we check the DVRRDK_02.80.00.10/dvr_rdk/mcfw/src_bios6/links_c6xdsp/alg_link/scd/scdLink_alg.c and found
          SCD_TI_setPrms(pScdAlgLinkObj->algHndl, &chanParam, chanID);
    It seems mismatch and something wrong.

  • Hi TI-friends,
        I just want to replace the algorithm with ours. And by my checking the software architecture, I only need to add
    a folder under DVRRDK_02.80.00.10/dvr_rdk/mcfw/src_bios6/alg/. I copy a new folder from
    DVRRDK_02.80.00.10/dvr_rdk/mcfw/src_bios6/alg/scd to be a base and try to modify.
    But I found "extern IVIDANALYTICS_Fxns SCD_TI;" inside scd_ti.h,

    Does any bodies know the declaration of the variable?

  • Hi TI-friends, it would be convenient for us if you can provide the source or the infrastructure. Thanks

  • Hi Ritesh:

    I want to write my own algos using dvrrdk2.80,

    I see that there is no codec engine used in the develop packages, only xdc, xdai, FC etc,

    Does it means that no codec engine used (of course include VISA API) in dvrrdk2.80?

    if so how to set the build cfg for example xdc,*.bld,makefile etc

    how can i do algos debug using CCS5.1,

    for example if i want to debug OSD algos, how to use ccs then,

    another question is no VISA API used how the communication is done between ARM and DSP?

    best regards

    xavier