About BitmapFactory.decode File in Android4.4.3 BSP for i.MX6-SABRE

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About BitmapFactory.decode File in Android4.4.3 BSP for i.MX6-SABRE

701 Views
yuuki
Senior Contributor II

Dear all,

We use the Android4.4.3(NXP's BSP) on MX6Q-SABRE-SDB board.

We want to decode JPAG file by using Android's API.

- BitmapFactory.decode File

Does this API use hardware Video Codec(VPU)?

If it does not use VPU, Could you tell me how to use VPU by this API?

Best Regards,

Yuuki

Labels (2)
0 Kudos
4 Replies

492 Views
joanxie
NXP TechSupport
NXP TechSupport

decoding jpeg uses software decoding in current android bsp, not vpu.

you can referr to the release note to check if software support this or not.

0 Kudos

492 Views
yuuki
Senior Contributor II

Dear Guanqiong Xie-san,

Thank you for your support.

Could you tell me how to decode JPEG by hardware?

I understand that JPEG decode of VPU supports only Baseline profile.

Is my understanding is correct?

Best Regards,

Yuuki

0 Kudos

492 Views
joanxie
NXP TechSupport
NXP TechSupport

current bsp uses software decoding, if you need to use VPU, you need create your own application to call the vpu.

yes, supports baseline.

0 Kudos

492 Views
yuuki
Senior Contributor II

Dear Guanqiong Xie-san,

Thank you for your support.

> you need create your own application to call the vpu.
=>
For JPEG Decode, what kind of function should we call for?

Best Regards,
Yuuki

0 Kudos