Can I change the decoded result using decodeToFd() to AGBR using NvBufferTransform()?

Hello,

Can I change the decoded result using decodeToFd() to AGBR using NvBufferTransform()?

Thank you.

Hi,
Yes, you may refer to 12_camera_v4l2_cuda. For using USB cameras and doing MJPEG decoding, the decoded buffers can be in either YUV422(YUYV, UYVY, …). It is converted to NvBufferColorFormat_YUV420 through NvBufferTransform().