JPEG hardware Decode support in Android application

◇◆丶佛笑我妖孽 提交于 2019-11-30 18:07:43

问题


My Android app needs to decode large resolution based JPEG images on Android 2.2 phones(and above), currently I am using BitmapFactory.decodeStream API, i.e. SKIA library to decode the stream.

1) As per my knowledge SKIA uses software decoding, i.e. libJPEG to decode and doesnot use hardware decoders for the same. Correct me if I am wrong.

2) Is there any faster way to decode JPEG stream (other than SKIA) ?

3) Can "Media framework" be used to provide JPEG hardware decoding? As per my observation it can be only used for video and audio.


回答1:


skia supports hardware accelerated jpeg decoding. Stagefright doesnt handle jpeg decoding.



来源:https://stackoverflow.com/questions/5351041/jpeg-hardware-decode-support-in-android-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!