基于RF5框架下的TMS320DM642的视频处理,其中算法的调用,
Bool DIFF_cellExecute( ICELL_Handle handle, Arg arg )
{
IDIFF_Handle diffHandle = (IDIFF_Handle)handle->algHandle;
// activate instance object
ALGRF_activate( handle->algHandle );
runDIFF(diffHandle,
(Short **)handle->inputIcc[0]->buffer,
(Uint32 **)handle->outputIcc[0]->buffer,
(DIFF_Env *)handle->cellEnv );
// deactivate instance object
ALGRF_deactivate( handle->algHandle );
return(TRUE);
}
加黑部分调用算法时,真正的算法不在本工程而在另外一个工程,
在cmd文件中连接了那个工程,是这样连接的
-l ..\..\diff_ti\lib\diff_ti.l64_DIFF_IDIFF = _DIFF_TI_IDIFF;
其中 -l ..\..\diff_ti\lib\diff_ti.l64这个库是怎样打开和怎样创建的呢
|