iMX 8MP android 13 Hardware Codec Hantro VPU

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

iMX 8MP android 13 Hardware Codec Hantro VPU

跳至解决方案
2,444 次查看
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 项奖励
回复
1 解答
2,329 次查看
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 项奖励
回复
4 回复数
2,440 次查看
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 项奖励
回复
2,411 次查看
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 项奖励
回复
2,375 次查看
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 项奖励
回复
2,330 次查看
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 项奖励
回复