Does NvMedia LDC Process support RGB?

Hardware Platform: [DRIVE AGX Xavier™ Developer Kit]
Software Version: [DRIVE Software 10]
Host Machine Version: [Ubuntu 18.04]
SDK Manager Version: [Example:]

I am trying to perform lens distortion correction following nvmimg_ldc.

If the Surface type specified in NvMediaImageCreateNew is RGB,
NVMEDIA_STATUS_BAD_PARAMETER is returned from NvMediaLDCProcess.

Q1. Does the Surface used in NvMedia LDC Process support RGB?
Q2. If RGB is supported, please tell me the appropriate Attrs.

Reference) The code that modified the sample and the log at the time of execution are attached.
Refer to the part with “// RGB Change”.
The input file is still yuv, but first I want to know if RGB is supported.

imageldc_rgb.c (27.2 KB) log.txt (3.5 KB)

Hi @N.Miya,

Sorry for late response. RGB isn’t supported by the NvMedia Lens Distortion Correction (LDC) API.