Privacy mask is working fine on DM365 , but when i tried to use it with OSD , it does not work properly, by the way OSD is working smoothly.
After debugging , i got one point :
Privacy mask is getting affected from SWOSD_MakeOsdwinstring function, which is necessary for OSD string.
Below is the configuration, i have done for privacy mask.It is working fine with these config ,without OSD code snippet.
bmpWinPrm.enable = SWOSD_RBOOLFALSE;
bmpWinPrm.format = SWOSD_FORMATYUV420p;
bmpWinPrm.startX = 0;
bmpWinPrm.startY = 0;
bmpWinPrm.transperencyVal = SWOSD_OSDWHITETRANSVAL;
bmpWinPrm.transperencyRange = SWOSD_OSDBLACKTRANSRANGE;
bmpWinPrm.transperencyEnable = SWOSD_BMPTRANSENABLE;
bmpWinPrm.resizeEnable = 0;
bmpWinPrm.bmpWinAddr = iconBuff_Y;
bmpWinPrm.bmpWinAddrUV = iconBuff_UV;
Do we need to do any change in these configs to make privacy mask working with OSD