在使用DM8168 framebuffer的过程中我发现:
当配置alpha 值为0x00时是不透明的;当配置alpha值为 0xFF为 透明的
这和我以前接触的alpha刚好相反。
请问我能改变alpha为:
0x00是全透明,0xFF 是不透明的 吗?
如果可以,通过什么api去更改呢?
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.
你好;你可以参考下面配置:
/*Set Global Alpha Blending*/
unsigned char alpha = 0x80;
regp.blendtype = TI81XXFB_BLENDING_GLOBAL;
regp.blendalpha = alpha;
if (ioctl(fbFd, TIFB_SET_PARAMS, ®p) < 0) {
perror ("TIFB_SET_PARAMS.\n");
close(fbFd);
exit(1);
}你好,你是怎么使用qt和link的呢? 有采集图像然后用qt输出吗?
我这边同时使用会报错:反应在这个帖子http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39/p/144169/407415.aspx#407415。
看到这个帖子也是和我一样的问题:http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39/t/45366.aspx