Tool/software:
Hello,
I need to pass the output of srv to the pre-processing node, I transform the output of srv to NV12 format through vxColorConvertNode, the data flow is as follows.
capture(yuv422) -> ldc(NV12) -> srv(RGBX) -> color_convert_node(NV12) -> DisplayNode.
Is it normal for the screen to show that the C61 is loaded up to 93%?
I added the following code. SDK: 08_04
if(status == VX_SUCCESS) { status = app_create_graph_color_convert(obj, obj->srvObj.output_img); APP_PRINTF("color convert graph done!\n"); } vx_status app_create_graph_color_convert(AppObj *obj, vx_image conv_in_image) { vx_status status = VX_SUCCESS; obj->convert_out = vxCreateImage(obj->context, DISPLAY_WIDTH, DISPLAY_HEIGHT, VX_DF_IMAGE_NV12); status = vxGetStatus((vx_reference)obj->convert_out); if ((vx_true_e == tivxIsTargetEnabled(TIVX_TARGET_DSP1)) && status == VX_SUCCESS) { obj->color_convert_node = vxColorConvertNode(obj->graph, conv_in_image, obj->convert_out); if (vxGetStatus((vx_reference)obj->color_convert_node) == VX_SUCCESS) { vxSetNodeTarget(obj->color_convert_node, VX_TARGET_STRING, TIVX_TARGET_DSP1); vxSetReferenceName((vx_reference)obj->color_convert_node, "color_convert_node"); // vx_bool replicate[] = { vx_true_e, vx_true_e }; // vxReplicateNode(obj->graph, obj->color_convert_node, replicate, 2); } } return status; }
Thanks.