v4l2 equivalent codec after VPU API deprecated from i.MX8MP/i.MX9

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

v4l2 equivalent codec after VPU API deprecated from i.MX8MP/i.MX9

ソリューションへジャンプ
855件の閲覧回数
jim777
Contributor II

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

0 件の賞賛
返信
1 解決策
814件の閲覧回数
Manuel_Salas
NXP TechSupport
NXP TechSupport

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.

Manuel_Salas_0-1746468089897.png

 

Best regards,

Salas.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
825件の閲覧回数
jim777
Contributor II

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 };

 

0 件の賞賛
返信
815件の閲覧回数
Manuel_Salas
NXP TechSupport
NXP TechSupport

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.

Manuel_Salas_0-1746468089897.png

 

Best regards,

Salas.

0 件の賞賛
返信
789件の閲覧回数
jim777
Contributor II
thanks!