This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM368IPNC-IMX036 code to check algorithm enable/disable

Hi,

In function int DRV_imgsCalcFrameTime(Uint32 fps, Uint32 dataW, Uint32 dataH, Bool binEnable)

in the file drv_imgsCalcCfg_IMX036_3MP.c i want to conditionally set the following values

pModeCfg->vdint0        =     512;     // <--- modify this parameter and check the crop condition in all streams.
pModeCfg->vdint1        =     0;        //800;
pModeCfg->vdint2        =     IMGS_H_MAX-1;

on whether the vs/vnf/ldc are enabled in the gui or not.

This function is in the driver mode in the sensor that is called by

DRV_captureOpen.My doubt is if i can use the conditionalities for algorithm enable/disable

like gAVSERVER_UI_config in the above scenario.

Other than that is there any way to check algorithm enable/disable in the function DRV_imgsCalcFrameTime

Thanks and Regards,

Mayank