Can VPU in IMX8MQ support color space conversion and scaling ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Can VPU in IMX8MQ support color space conversion and scaling ?

1,482 次查看
marktsai1989
Contributor I

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

0 项奖励
回复
4 回复数

1,447 次查看
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,431 次查看
marktsai1989
Contributor I
0 项奖励
回复

1,444 次查看
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,452 次查看
marktsai1989
Contributor I

Can anybody help answer?

Thanks.

0 项奖励
回复