screenshot in Android - 3
In the continued development, I found a error or a bug in screenshot application, and the detail is when I play some video on the android device, the screenshot will read a black hole rather than the video's image.
Why?
This occurs since many display controllers don't provide access to the hardware composed output, it goes directly to the display and never hits a memory buffer I can read from. So the screenshot code generally only read from the UI buffer and the overlay contents are missing. Not all hardware works this way, but many do.
My screenshot codes just take a copy of the frame. buffer, however, surfaces in an overlay ( often the case with video playback ) doesn't exist in the frame. buffer. So I can't get the video's mirror in my screenshot application.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25432352/viewspace-732634/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- screenshot in Android - 4Android
- Collabration Web Application Screenshot(English Language) Free download now!WebAPP
- 如何使用 gnome-screenshot 截圖命令來擷取螢幕、視窗或指定區
- Android小技巧(3)Android
- Android知識點3Android
- Android模糊影象教程(3)Android
- Learn Android Studio 3 .pdfAndroid
- Android 新貴 kotlin (3)AndroidKotlin
- Android學習筆記(3)Android筆記
- Android gallery 3D效果Android3D
- android基礎夯實3Android
- Android常用佈局元件----重新認識Android(3)Android元件
- Android儲存(3)– 裝置配置Android
- 好用漂亮的Android 表格框架3Android框架
- Android轉場動畫深度解析(3)Android動畫
- 說說Android的廣播(3)Android
- Android文字時鐘 — Part3Android
- Android開發貼士集合(3)Android
- 3: Android Developer Site映象網站AndroidDeveloper網站
- Unity3d Android SDK接入解析(一)Unity3d 與 Android之間的互相呼叫Unity3DAndroid
- 17-3 react native Android打包React NativeAndroid
- Android Things Developer Preview 3釋出AndroidDeveloperView
- unity3d與android互動Unity3DAndroid
- Android P Beta 3 現已釋出!Android
- Android Wear計時器開發(3)Android
- Android Developer:1/3 的 Android 手機已經用上 2.2 FroyoAndroidDeveloper
- Android視訊開發進階(part3-Android的Media API)AndroidAPI
- Android Q Beta 3 亮相 Google I/O'19AndroidGo
- Flutter版本玩Android(3)——文章詳情頁FlutterAndroid
- android nfc tag3 除錯日記Android除錯
- Android EventBus3.x的使用詳解AndroidS3
- android sqlite3 not found 解決總結AndroidSQLite
- Android API相容,其他API,UI適配(3)AndroidAPIUI
- Android Web3j OOM解決AndroidWebOOM
- Android知識點複習3(BroadcastReceiver)AndroidAST
- 《Android經驗分享》週刊第3期Android
- Android Studio3 0填坑指南Android
- Android單元測試(3):JUnit 的使用Android