Can VPU in IMX8MQ support color space conversion and scaling ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can VPU in IMX8MQ support color space conversion and scaling ?

1,479 Views
marktsai1989
Contributor I

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

0 Kudos
Reply
4 Replies

1,444 Views
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 Kudos
Reply

1,428 Views
marktsai1989
Contributor I
0 Kudos
Reply

1,441 Views
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 Kudos
Reply

1,449 Views
marktsai1989
Contributor I

Can anybody help answer?

Thanks.

0 Kudos
Reply