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.

【求助】达芬奇DSP算法封装问题



第一次做DSP算法开发,怎么进行xDM的封装呢?
算法库我已在CCS中打包成库文件,提供出来有Init()、Decode(&DecodeData)、Free()这3个接口,我想以修改参考viddec_copy例程进行修改,把我的算法加进xDM框架。(包括算法里的数据结构体)
问题:
1. Init()、Decode(&DecodeData)、Free()这3个接口是不是各自直接放在VIDDECCOPY_TI_alloc()、VIDDECCOPY_TI_process()、VIDDECCOPY_TI_free里面就可以?
2. 数据结构体是不是要加进下面这个结构体中?
typedef struct VIDDECCOPY_TI_Obj {
    IALG_Obj    alg;            /* MUST be first field of all XDAS algs */
} VIDDECCOPY_TI_Obj;

对这方面真的很困惑,恳请专家指点迷津!

 

恳请不要发文档链接...我看了很多...真的还是没明白过来...可能就是差那么临门一脚