Does NvBufSurf::NvTransform support bayer rggb12 format conversion to RGBA?

Since nvargus deamon is not recoverable in an exception, I use jetson_multimedia_api/samples/12_v4l2_camera_cuda

My requirement is to output rgb/rgba images, the
The sensor imx390 output is bayer rggb12, so what parameter should I put in the application here(NvAllocate)?

    camparams.colorFormat = NVBUF_COLOR_FORMAT_NV12_12LE;
    if (NvBufSurf::NvAllocate(&camparams, V4L2_BUFFERS_NUM, fd))

NvTransform:dst

    camparams.colorFormat = NVBUF_COLOR_FORMAT_RGBA;

The program works but the image is displayed with a green filter:

How do I get the correct rgb image?

Hi,
This conversion is not supported. Please go through Argus stack to use ISP engine. The ISP output is in YUV420.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.