JPEG hardware Decode support in Android applicatio

2019-02-15 11:16发布

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条回答
爷、活的狠高调
2楼-- · 2019-02-15 11:46

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

查看更多
登录 后发表回答