Can VPU in IMX8MQ support color space conversion and scaling ?

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

Can VPU in IMX8MQ support color space conversion and scaling ?

1,587件の閲覧回数
marktsai1989
Contributor I

Is there any sample using VPU to do color space conversion and scaling in IMX8MQ?

0 件の賞賛
返信
4 返答(返信)

1,552件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello

Do you want to evaluate imx8mq vpu? if yes, you just connect imx8mq with hdmi, the image supports hdmi output as default, then you can use gstreamer to decode the file outpting to the hdmi, the gstreamer commands, you can refer to the document you send, I post abc three commands which use gstreamer to decode video by VPU to the display

Regards

0 件の賞賛
返信

1,536件の閲覧回数
marktsai1989
Contributor I
0 件の賞賛
返信

1,549件の閲覧回数
marktsai1989
Contributor I

Hi @Bio_TICFSL ,

gst-launch-1.0 filesrc location=videotestsrc_720x576.ts ! tsdemux ! h264parse ! imxvpudec_h264 ! ....

Currently, we are able to use imxvpudec_h264 for decoding H264, but the output is only in NV12 format. However, our AI model only accepts RGB input, so we need to perform a color space conversion. Unfortunately, at the moment, the only option available is to use the CPU for this conversion. I'm not sure if the VPU on the IMX8MQ is capable of performing color space conversion and downscaling.

0 件の賞賛
返信

1,557件の閲覧回数
marktsai1989
Contributor I

Can anybody help answer?

Thanks.

0 件の賞賛
返信