QT在PC平台上模拟出透明度叠加效果ok,但交叉编译到DM8168平台后只能看到GUI画面,透明部分背景是黑色,而不是采集后的图像,可能是什么原因,
有人用过默认HDMI输出能够看到透明度效果,但我的display播放通道是DVO2,不是默认的HDMI输出。
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.
QT在PC平台上模拟出透明度叠加效果ok,但交叉编译到DM8168平台后只能看到GUI画面,透明部分背景是黑色,而不是采集后的图像,可能是什么原因,
有人用过默认HDMI输出能够看到透明度效果,但我的display播放通道是DVO2,不是默认的HDMI输出。
参考一下这个文档
实现透明度,主要配置实现:
struct ti81xxfb_region_params regp;
u8 alpha;
if (ioctl(fd, TIFB_GET_PARAMS, ®p) < 0) {
perror("TIFB_GET_PARAMS\n");
close(fd);
exit(1);
}
/*Set Global Alpha Blending*/
regp.blendtype = TI81XXFB_BLENDING_GLOBAL;
regp.blendalpha = alpha;
if (ioctl(fd, TIFB_SET_PARAMS, ®p) < 0) {
perror ("TIFB_SET_PARAMS.\n");
close(fd);
exit(1);
}
hdmi和dvi2 都是一样的,默认配置分别为fb0 fb1,就是这样的,这个关系都是可以配置的,
在bios6/links_m3vpss/system/system_dctrl.c 中可以配置,可以修改默认配置表