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.

基于codec engine架构的dsp端动态分配内存

Other Parts Discussed in Thread: DM3730

近期继续在dm3730上进行双核开发,处理视频数据。

遇到一个问题,基于codec engine架构的dsp端如何动态分配内存。貌似无法使用malloc()动态分配内存。

(详见:http://processors.wiki.ti.com/index.php/Getting_started_with_IUNIVERSAL#Source_Code

 XDAIS algorithms never malloc() their own memory.

不知道,这个如何解决呢?

我是想在XDAS_Int32 VIDENCCOPY_TI_process(IVIDENC_Handle h, XDM_BufDesc *inBufs,

XDM_BufDesc *outBufs, IVIDENC_InArgs *inArgs, IVIDENC_OutArgs *outArgs)函数里边开辟一段内存,用于

暂存接收的图像数据。