From RM00294 i.MX VPU Application Programming Interface Linux Reference Manual:
"... Besides the VPU wrapper API (deprecated), the V4L2-based
framework on top of the user library is designed to make the integration more standardized"
So
1. what are the corresponding V4L2 features that are equivalent to the VPU APIs for mjpg encoder/decoder?
- assume it is still based on hardware (VPU) accelerated.
2. from my imx8mp yocto build, I see two more (unfamiliar) devices dev/video2/3 listed as vsi_v4l2enc/dec, are those related to the features?
3. Any specific app reference ?
Thanks,
Jim
Solved! Go to Solution.
Hello @jim777
I hope you are doing very well.
Please take a look to the chapter 7.3.3 Video encoding of i.MX Linux User's Guide.
Best regards,
Salas.
Would NXP support help?
- browse over the source code https://github.com/nxp-imx/linux-imx.git drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c
that seems to be the driver for the hardware (VPU) accelerated codec, but it listed only 'compatible' to quite a few chipset: Confused - is i.MX8MP supported ? ( the general statement from the doc quoted above seemly suggested so)
269 static const struct of_device_id mxc_jpeg_match[] = {
270 {
271 .compatible = "nxp,imx8qxp-jpgdec",
272 .data = &mxc_decode_mode,
273 },
274 {
275 .compatible = "nxp,imx8qxp-jpgenc",
276 .data = &mxc_encode_mode,
277 },
278 {
279 .compatible = "fsl,imx9-jpgdec",
280 .data = &mxc_decode_mode,
281 },
282 {
283 .compatible = "fsl,imx9-jpgenc",
284 .data = &mxc_encode_mode,
285 },
286 { },
287 };
Hello @jim777
I hope you are doing very well.
Please take a look to the chapter 7.3.3 Video encoding of i.MX Linux User's Guide.
Best regards,
Salas.