找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

[MA35D1] Qt Overlay on Video

[复制链接]
跳转到指定楼层
楼主
admin 发表于 2024-5-9 14:16:34 | 只看该作者 回帖奖励 |正序浏览 |阅读模式


[size=1.1em]
  • Application: This example code demonstrates how to write a Qt application that simultaneously plays a video at the bottom layer of the screen and overlays interactive elements on top, allowing the video playback to be controlled through these interactive components.
  • BSP Version: Linux-5.10.x
  • Hardware: NuMaker-HMI-MA35D1-S1
Compositing is a computer graphics technique that combines multiple images or layers into a single output image. It is commonly used in video and image processing, such as video and image compositing.

This example code demonstrates how to simultaneously play a video and run a Qt widget in a Qt application while displaying them on the screen. The video and Qt application are output to different frame buffers, such as Frame Buffer 0 and Frame Buffer 1, and then blended using the blending function provided by the display driver before being displayed on the screen. The MA35D1 display driver offers two types of blending functions: Color Key and Alpha Blending, and this example code uses Alpha Blending.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1502145101



分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
牛卧堂
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU