static BOOL imx_vpu_load(void)
{
IMX_VPU_LOG("VPU init instance counter: %lu", vpu_init_inst_counter);
if (vpu_init_inst_counter != 0)
{
++vpu_init_inst_counter;
return TRUE;
}
else
{
IMX_VPU_INFO("libimxvpuapi version %s vpulib backend", IMXVPUAPI_VERSION);
if (vpu_Init(NULL) == RETCODE_SUCCESS)
{
IMX_VPU_DEBUG("loaded VPU");
++vpu_init_inst_counter;
return TRUE;
}
else
{
IMX_VPU_ERROR("loading VPU failed"); //logs show reach to here
return FALSE;
}
}
}
logs:
imxvpuapi imxvpuapi_vpulib.c(312):imx_vpu_load: VPU init instance counter: 0
imxvpuapi imxvpuapi_vpulib.c(321):imx_vpu_load: libimxvpuapi version 0.10.3 vpulib backend
imxvpuapi imxvpuapi_vpulib.c(331):imx_vpu_load: loading VPU failed
what's possibilities to get this kind of error ? Is the library libvpu.so.X trying to access files which are limited to the calling process?