Hi:
I want to display string in the OSD using SWOSD_WINDOW_ELEVEN. But, when the string size is lager than one line, the OSD display nothing. How can I implement this function? Can we operate the pixel through the OSD directly? what is the mean of bmpWinPrm.lineOffset ?
the BMP parameters is below:
bmpWinPrm.enable = SWOSD_RBOOLFALSE; bmpWinPrm.startX = 0; bmpWinPrm.startY = 0; bmpWinPrm.width = SWOSD_STRINGWIDTH_1232_30; bmpWinPrm.height = SWOSD_CHARHEIGHT_1232_30; bmpWinPrm.lineOffset = SWOSD_STRINGWIDTH_1232_30; bmpWinPrm.transperencyVal = SWOSD_OSDBLACKTRANSVAL; bmpWinPrm.transperencyRange = SWOSD_OSDBLACKTRANSRANGE; bmpWinPrm.transperencyEnable = SWOSD_BMPTRANSENABLE; bmpWinPrm.resizeEnable = 0; bmpWinPrm.bmpWinAddr = SWOSD_NULL; bmpWinPrm.bmpWinAddrUV = SWOSD_NULL; SWOSD_setBmpWinPrm(osdHndl, SWOSD_WINDOW_ELEVEN, &bmpWinPrm);