Issue of using NV_ENC_BUFFER_FORMAT_YUV444 as input buffer format.

Hi,

I first decompose the input image into YUV format and arrange it into “YYYYUUUUUVVVV”, then rearrange the image as the input of the encoder (also set the input format as NV_ENC_BUFFER_FORMAT_YUV444), and then encode the input data.

But, in the CreatEncoder function NVENC_API_CALL (m_nvenc nvEncInitializeEncoder (m_hEncoder, & m_initializeParams));Prompt NVENCException!

Tracking errors found that if chromaFormatIDC is set to 1, there is no exception, and chromaFormatIDC=3 in YUV444 generates an exception.

Does anyone know how to fix this mistake?

Thank you very much!