Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RK3528 DRM 支持 OSD吗? #704

Open
circlefangzm opened this issue Nov 1, 2024 · 2 comments
Open

RK3528 DRM 支持 OSD吗? #704

circlefangzm opened this issue Nov 1, 2024 · 2 comments

Comments

@circlefangzm
Copy link

使用yuv格式的plane,解码后通过PRIME给DRM,想叠加一个OSD的overlay之类的字符显示。
网上没查到相关资料,大神能给点思路或例子吗,谢谢

@circlefangzm
Copy link
Author

circlefangzm commented Nov 1, 2024

如果只是一个dumb内存,映射到用户空间,网上有很多例子,基本就是把显示的字符串像素化。但是视频解码后的yuv通过prime给到drm,怎么叠加显示字符,不知道怎么弄。RGA那里有个imosd的字幕,不知道方案是否可行,但是没找到怎么用的。

@HermanChen
Copy link
Collaborator

用 RGA 来叠加,通用性会好

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants