Android fb0 截屏实现
发布日期:2021-06-30 18:53:12 浏览次数:2 分类:技术文章

本文共 650 字,大约阅读时间需要 2 分钟。

问题:我们有几个项目,在项目1和项目2上实现截屏是没有问题的,但是在项目3上实现截屏是不行的

原因:分辨率差异引起的问题,分辨率长宽一定要是32的整数倍

Dear customer, 

Sorry for the late reply due to annual leave. 
I don't think this issue relates with thedifference between MIPI DSI and LCDC. 
I think that this issue relates with stride, thatis to say, which depends on width pixel. 
Due to Tiled-based BLT enginee on MDP side, thetiled size is 32(w)x32(h). 
For 480(w)x800(h), no this issue, so that 480divided by 32 = 15 (integer). 800 divided by 32 = 25 (integer). 
For 240(w)x320(h), have this issue, because that240 divided by 32 = 7.5 (float), need add 16, that is to say, (240 + 16)divided by 32 = 8 (integer), 320 divided

转载地址:https://linus.blog.csdn.net/article/details/47291647 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:ubuntu下 安装 adb
下一篇:使用class_attribute 生sys文件系统下生成调试文件,方便使用adb调试

发表评论

最新留言

不错!
[***.144.177.141]2024年04月20日 15时43分01秒