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.

8168 dsp算法添加



你好:

请问更改DSP算法之后每次都要重新make sys_all 很费事,请问什么命令只编译DSP部分呢?   

 另外:使用DVRRDK中的demo将helloworldLink添加在IpcFramesInDsp-> AlgDsp->helloworldLink->IpcBitsOutDsp 之间,

hellworld的creat函数如下:

Int32 HelloWorldLink_create(HelloWorldLink_Obj * pObj,
HelloWorldLink_CreateParams * pPrm)
{
Int32 status;

Vps_printf(" %d: HELLOWORLD : Create in progress !!!\n",
Utils_getCurTimeInMsec());

memcpy(&pObj->createArgs, pPrm, sizeof(*pPrm));


status = System_linkGetInfo(pPrm->inQueParams.prevLinkId, &pObj->inTskInfo);
UTILS_assert(status == FVID2_SOK);


UTILS_assert(pPrm->inQueParams.prevLinkQueId < pObj->inTskInfo.numQue);


/*************************************************************************/
memcpy(&pObj->inQueInfo,
&pObj->inTskInfo.queInfo[pPrm->inQueParams.prevLinkQueId],
sizeof(pObj->inQueInfo));


UTILS_assert(pObj->inQueInfo.numCh <= HELLOWORLD_LINK_MAX_CH);



status = HelloWorldLink_algCreate(pObj);
UTILS_assert(status == FVID2_SOK);


if (pObj->createArgs.createOutBuf1)
HelloWorldLink_createOutObj(pObj);

Vps_printf(" %d: HELLOWORLD : Create Done !!!\n", Utils_getCurTimeInMsec());
return FVID2_SOK;
}

彩色部分报错,请问该如何处理?

另外,可以将helloworld直接代替dspalglink吗?因为我理解dspalg是集合了OSD和SCD算法的

请指教