How to use NvMedia2D to convert YUV422 to YUV420 Planar

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
[v] DRIVE OS 6.0.3 SDK

Target Operating System
[v] Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
[v] DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
1.9.10816
[v] other

Host Machine Version
[v] native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

Hi ,

I am using NvMedia/nvmimg_2d in OS 6.0.3.0 sdk to convert yuv422(yuyv) to yuv420 planar with NvMedia2DCompose() function, however, the output file is wrong.
The attachment is my sample_yuv422_to_yuv420.cfg file and rainbow_176x144_yuyv.yuv input yuv file.

rainbow_176x144_yuyv.yuv (49.5 KB)
sample_yuv422_to_yuv420.cfg (1.5 KB)

Could you give me some advice to fix the problem?

May I know which DRVE Orin reference platform you used? P3710? Or P3663?

DRVE Orin reference platform is P3663

Dear @jianganyong,
This forum is intended to support only for DRIVE AGX Orin Devkits. P3663 is not supported via forum. Could you please check with your NVIDIA representative for support?