Hi,
DM8127_IPNC_RDK3.8,请问如何去掉osd的背景色,比如显示时间,后面的黑色背景,去掉,类似透明的效果,只有字体显示在屏上?
比如是否可以OSD的某个像素值不显示?
请问是否有相关接口提供?
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.
Hi,
DM8127_IPNC_RDK3.8,请问如何去掉osd的背景色,比如显示时间,后面的黑色背景,去掉,类似透明的效果,只有字体显示在屏上?
比如是否可以OSD的某个像素值不显示?
请问是否有相关接口提供?
Harry,
你是否有参考过SWOSD文档的5.10 User Defined Transparency versus Fixed Transparency章节内容?
Chris Meng,
Thank you for your reply!
"In this mode, if pixel value of OSD bitmap window is within the range of transparency value plus/minus transparency range, the pixel becomes transparent. "
看到了,对这个transperencyVal 和transperencyRange 参数不清楚,这个值指的是什么像素值?Y or U or V?
bmpWinPrm.transperencyVal = SWOSD_OSDWHITETRANSVAL;
bmpWinPrm.transperencyRange = SWOSD_OSDWHITETRANSRANGE;
Harry,
请参考论坛讨论:https://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/330192/1259142#1259142。