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.
TI的工程师你们好。
我现在使用的是Devkit8500(DM3730)平台,使用DVSDK4_03,codec engine_2_26,Ubuntu1004,没用CCS。
我正在做EMCV的算法移植到DM3730的codec engine的工作,现在遇到如下问题。
Q1:
内存操作函数malloc等。原先我使用C标准库<stdio.h>下的malloc函数进行内存申请,但是用qualti检查我的算法codecs的时候,结果显示不支持这些函数。检查结果部分如下:
(Rule 10) All modules must follow the eXpressDSP naming conventions for those external declarations disclosed to the client.
Test Status Details:
Test failed. Problem: The algorithm makes the following disallowed external references:
- malloc
- free
- _abort_msg
Please check that these references are resolved via allowed functions in RTS, IMG, DSP, ACPYx libraries.
因为DSP端运行的是DSP/BIOS,故此我想使用MEM_alloc等BIOS的内存操作函数,但是在对MEM_alloc函数进行学习时发现,
status = MEM_free(segid, addr, size);
Int segid; /* memory segment identifier */
Ptr addr; /* block address pointer */
size_t size; /* block length in MADUs*/
MEM_alloc函数需要内存段的名字才可以申请到对应的内存,请问。在codecs端我应该如何做才能够在codes端申请到server端定义的内存块呢?
又或者,在codecs端,我还可以使用哪些函数来进行内存申请?
谢谢