Dear Champs,
My customer is using TDA3 and the Vision SDK is 3.8.0.
They want to know how they can add Left & Top margin in VIP as below picture(b).
They already implement to receive 640x480 image as below picture(a), but have no idea how they can add left/top margin like picture(b).
My customer's code for picture (a) is as below.
ChainsCommon_SingleCam_SetCapturePrms
(
&(pUcObj->CapturePrm) ,
640 ,
480 ,
688,
496,
pObj->chainsCfg->captureSrc
);
Chain_common_vision.c(ChainsCommon_SingleCam_SetCapturePrms)
if((pInprms->width != pOutprms->width) ||
(pInprms->height != pOutprms->height))
{
pOutprms->scEnable = FALSE;
}
Thanks and Best Regards,
SI.