Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.6
[√] DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other
Target Operating System
[√] Linux
QNX
other
Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
[√] other
SDK Manager Version
1.9.2.10884
[√] other
Host Machine Version
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
I am using nvsipl to capture images from a camera. Since the camera has its own ISP, I am getting YUYV format images directly from the ICP.
The issue now is that NvMedia API requires images in YUV420 format, and I want to convert the YUYV format image to YUV420. I plan to use the NvMediaCompose() function in NvMedia2D to perform the conversion, but I am getting an error when I call NvMedia2DSetSrcNvSciBufObj().
Can you help me identify the problem or provide some sample code for this format conversion?
The error message I am getting when calling the API is as follows:"
**Apr 19 09:38:32 tegra-ubuntu DULE: Module_id 22 Severity 6 : NvMediaICPCreateEx 72 **
**Apr 19 09:38:32 tegra-ubuntu DULE: Module_id 22 Severity 6 : T23x VI version 0x000023 **
**Apr 19 09:38:32 tegra-ubuntu DULE: Module_id 48 Severity 2 : failed to set source buffer, conversion to surface container failed **
**Apr 19 09:38:32 tegra-ubuntu DULE: Module_id 48 Severity 2 : failed to set NvMedia2D source buffer, error 1 **
**Apr 19 09:38:32 tegra-ubuntu DULE: Module_id 48 Severity 2 : failed to set source buffer, conversion to surface container failed **
**Apr 19 09:38:32 tegra-ubuntu DULE: Module_id 48 Severity 2 : failed to set source buffer, conversion to surface container failed **
**Apr 19 09:38:32 tegra-ubuntu DULE: Module_id 48 Severity 2 : failed to set NvMedia2D source buffer, error 1 **
**Apr 19 09:38:32 tegra-ubuntu DULE: Module_id 48 Severity 2 : failed to set source buffer, conversion to surface container failed **
**Apr 19 09:38:32 tegra-ubuntu DULE: Module_id 48 Severity 2 : failed to set NvMedia2D source buffer, error 1 **
**Apr 19 09:38:32 tegra-ubuntu DULE: Module_id 48 Severity 2 : failed to set source buffer, conversion to surface container failed **
**Apr 19 09:38:32 tegra-ubuntu DULE: Module_id 48 Severity 2 : failed to set NvMedia2D source buffer, error 1 **
**Apr 19 09:38:32 tegra-ubuntu DULE: Module_id 48 Severity 2 : failed to set NvMedia2D source buffer, error 1 **
Apr 19 09:38:32 tegra-ubuntu DULE: Module_id 48 Severity 2 : failed to get NvMedia2D compose parameters 9