Hi,
Environment we are using -> 08_00_00_12 -> https://www.ti.com/tool/download/PROCESSOR-SDK-RTOS-J721E/08.00.00.12
There was a previous thread on this -> https://e2e.ti.com/support/processors-group/processors/f/processors-forum/972208/tda4vm-tda4vm
From the viss node documentation, we can see that we can get rgb images.
vissObj->params.sensor_dcc_id = sensorObj->sensorParams.dccId; vissObj->params.fcp[0].ee_mode = 0; vissObj->params.fcp[0].mux_output0 = 0;//TIVX_VPAC_VISS_MUX0_NV12_P12;//1;//TIVX_VPAC_VISS_MUX0_NV12_P12; vissObj->params.fcp[0].mux_output1 = 0;//1; vissObj->params.fcp[0].mux_output2 = TIVX_VPAC_VISS_MUX2_RED; vissObj->params.fcp[0].mux_output3 = TIVX_VPAC_VISS_MUX3_GREEN; vissObj->params.fcp[0].mux_output4 = TIVX_VPAC_VISS_MUX4_BLUE; vissObj->params.h3a_in = 3; vissObj->params.h3a_aewb_af_mode = 0; vissObj->params.fcp[0].chroma_mode = 0; vissObj->params.bypass_nsf4 = 0; vissObj->params.enable_ctx = 1; vissObj->node = tivxVpacVissNode( graph, vissObj->config, NULL, NULL, raw_image, NULL, NULL, output_img_r, output_img_g, output_img_b, h3a_stats, NULL, NULL, NULL);
When we set this and tried to run it on the hardware, I get the following error
App Init Done! Graph create done! VISS graph done! AEWB graph done! App Create Graph Done! 6895935.671125 s: VX_ZONE_ERROR:[tivxAddKernelVpacVissValidate:694] Parameter 'output3' height should have value of -1330597712 6895935.671147 s: VX_ZONE_ERROR:[ownGraphNodeKernelValidate:531] node kernel validate failed for kernel com.ti.hwa.vpac_viss at index 0 6895935.671153 s: VX_ZONE_ERROR:[vxVerifyGraph:1930] Node kernel Validate failed 6895935.671160 s: VX_ZONE_ERROR:[vxVerifyGraph:2098] Graph verify failed App Run Graph Done! Capture delete done! VISS delete done! AEWB delete done!
Not sure if this error is from one of the bugs in viss node or if we are doing something wrong.
We also use a dcc config file. Do we have to change this file for getting rgb images instead of nv12 image?
Could we get some information on what we might be doing wrong? or do you need more info for giving us some direction on this.
Thank You
Niranjan