I'm using an IMX.8MP from MSC with 5.15-kirkstone and a kernel version version 5.15.52+g244c28a772f6, I can see from the IMXVPUAPI Documentation that the IMX.8M Hantro VPU has user space libraries. I also have read through i.MX Linux Reference Manual Section 6.5. The documentation lists a workflow for decoding a H.264 stream, but I can't find any references to the user space library. I'm not using a NXP BSP since I have a MSC board, with a custom yocto build. Is there a way to add a layer to the image and/or is there more documentation surrounding the user space libraries.
There is a git repo with VPU related user space functions https://github.com/nxp-imx/imx-vpuwrap
information about it in this nxp form post https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8MP-VPU-Tips-for-vpuwraper/ta-p/1697...
Hi there, sorry for piggybacking but I would like to clarify below.
The VPU reference manual states that " GStreamer delivers the header for VPU wrapper" and this is via the "imx-gst1.0-plugin" package. There was no mention of "imx-vpuwrap" in the manual. But both packages have the header files for the VPU wrapper (ex for Hantro: hantrodec.h and hx280enc.h.) and the library itself (ex for Hantro: libfslvpuwrap.so)
Do you know (or can someone explain) which of these packages should be used? The artifacts seem to be the same files when you compare them, but I would like to know officially which one should be used.