Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 Android 应用程序需要在 Android 2.2 手机(及更高版本)上解码基于大分辨率的 JPEG 图像,目前我正在使用 BitmapFactory.decodeStream API,即 SKIA 库来解码流。
1) 据我所知,SKIA 使用软件解码,即 libJPEG 进行解码,而不使用硬件解码器。如果我错了,请纠正我。
2)有没有更快的方法来解码JPEG流(SKIA除外)?
3)“媒体框架”可以用来提供JPEG硬件解码吗?根据我的观察,它只能用于视频和音频。
skia 支持硬件加速 jpeg 解码。Stagefright 不处理 jpeg 解码。