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.

TDA4VM: tiovxTIDLLoadKernels issue

Part Number: TDA4VM

Dear TI, 

Could you help to explain how tivxTIDLNode called libtidl_algo library ?

I checked the  kernel callback function, but there is no clue about called the libtidl_algo function...

Could you kindly help to  explain the work flow?

The version of my vision apps is "07-01-00"

void tivxTIDLLoadKernels(vx_context context)
{
if ((0U == gIsTIDLKernelsLoad) && (NULL != context))
{
void tivxSetSelfCpuId(vx_enum cpu_id);

#ifdef x86_64
/* These three lines only work on PC emulation mode ...
* this will need to be updated when moving to target */
tivxSetSelfCpuId(TIVX_CPU_ID_DSP_C7_1);

tivxRegisterTIDLTargetKernels();

tivxSetSelfCpuId((vx_enum)TIVX_CPU_ID_DSP1);
#endif

gIsTIDLKernelsLoad = 1U;
}
}

Thank you

  • The TIDL library is called by the tivxTIDLNode under tiovx/kernels_j7/tidl/dsp/vx_tidl_target.c file. Since TIDL uses iVision APIs the TIDL node also calls iVision wrappers to call control and process function. Please check this function tivxKernelTIDLCreate() and tivxKernelTIDLProcess() for more details.