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.

DM8168 RDK4.0 SWOSD叠加图片透明度的处理



我现在采集的视频上叠加了一张图片 我现在想改变图片的透明度,该如何修改?我已经做了下面的赋值,不知道是不是这样子

/*这三个值取值为多少才是设置透明度的?*/

chWinPrm->colorKey[0] = 0x10; /* Y */
chWinPrm->colorKey[1] = 0x80; /* U */
chWinPrm->colorKey[2] = 0x80; /* V */

chWinPrm->winPrm[i].globalAlpha = 0x80;

chWinPrm->winPrm[i].transperencyEnable = 1;