Android fb0 截屏实现
問題:我們有幾個項目,在項目1和項目2上實現(xiàn)截屏是沒有問題的,但是在項目3上實現(xiàn)截屏是不行的
原因:分辨率差異引起的問題,分辨率長寬一定要是32的整數(shù)倍
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 
總結(jié)
以上是生活随笔為你收集整理的Android fb0 截屏实现的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
 
                            
                        