iMX 8MP android 13 Hardware Codec Hantro VPU

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

iMX 8MP android 13 Hardware Codec Hantro VPU

Jump to solution
2,419 Views
sibrain-himanshu
Contributor II

We are trying to enable Hardware encoder and decoder on aosp 13 iMX 8MP SOC.

We observed that vsidaemonis required for hantro vpu to work. There are entries related to it in device folder, too.

But we are not able to find source of vsidaemon anywhere in android build.

We have tried to build it alone using "m vsidaemon" command but encountered error.

sibrainhimanshu_0-1750424828891.png

It is already added as a product package in device.mk.

sibrainhimanshu_1-1750424893897.png

 

Can you share link for source of vsidaemon service for android build.

 

IMX8MPLUS 

0 Kudos
Reply
1 Solution
2,304 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

This are the Hantro libraries that we use on the BSP, you just need to use the .bin to unpack all the libraries, it is as simple as doing the following:

$ chmod +x <downloaded pakcage>.bin
$ ./<downloaded package>.bin

Once you run it it will require to accept EULA for the libraries and the folder will be created.

Best regards/Saludos,
Aldo.

View solution in original post

0 Kudos
Reply
4 Replies
2,415 Views
sibrain-himanshu
Contributor II

In simple words we want code for hantro v4l2 daemon.

I forgot to mention that we have done all required changes at kernel level.

0 Kudos
Reply
2,386 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I don't know which android 13 version are you working with, but for Android 13.0.0_2.0.0 (L6.1.22_2.0.0 BSP) you may download the package from here:

i.MX VPU Hantro libraries for i.MX 8M Quad, 8M Mini, and 8M Plus
$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-vpu-hantro-1.29.0.bin
 

i.MX VPU Hantro vc8000e Encoder libraries for i.MX 8M Plus
$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-vpu-hantro-vc-1.9.0.bin

Best regards/Saludos,
Aldo.

0 Kudos
Reply
2,350 Views
sibrain-himanshu
Contributor II

Hi @AldoG 

Thanks for reply!

Both of the links contain .bin files. 

We don't know how to use those files and what's their purpose.

As we have already mentioned in older our question, We are finding source for vsidaemon service to control hantro vpu codec.

0 Kudos
Reply
2,305 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

This are the Hantro libraries that we use on the BSP, you just need to use the .bin to unpack all the libraries, it is as simple as doing the following:

$ chmod +x <downloaded pakcage>.bin
$ ./<downloaded package>.bin

Once you run it it will require to accept EULA for the libraries and the folder will be created.

Best regards/Saludos,
Aldo.

0 Kudos
Reply