IMX6 calling vpu_Init API failed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX6 calling vpu_Init API failed

1,220 次查看
cosyhe
Contributor I
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? 
 
0 项奖励
回复
0 回复数