The following demo load picture from sd card and show the picture on display. I run the demo in A72, it works well.
But if I transplant and runs it in mcu2_1, the program always stucks in vxProcessGraph. I add some logs in the function vxProcessGraph(), and find the programs stops at the following code.
status = tivxEventWait(graph->all_graph_completed_event, graph->timeout_val);
please helo to analysis the problem. The demo code is as following:
vx_image input_img = 0;
char input_file_name[APP_MAX_FILE_PATH];
snprintf(input_file_name,APP_MAX_FILE_PATH, "/opt/vision_apps/test_data/psdkra/tidl_demo_images/0000000103.yuv");
input_img = vxCreateImage(obj->context, 1280, 720, VX_DF_IMAGE_U8);
status = app_load_vximage_from_file(input_img, input_file_name, APP_FILE_FORMAT_YUV);
if(status == VX_SUCCESS)
{
status = app_init_display2( obj->context, &obj->displayObj , "display2Obj");
}
if(status == VX_SUCCESS)
{
status = app_create_graph_display2(obj->graph,
&obj->displayObj,
input_img);
}
if(status == VX_SUCCESS)
{
status = vxVerifyGraph(obj->graph);
}
if(status == VX_SUCCESS)
{
status = vxProcessGraph(obj->graph);
}