How to set chromaFormatIDC and pixelBitDepthMinus8 encoder config if the input image is RGB?

Hi,

I want to use RGB images as the input of NVENC encoder, but “chromaFormatIDC” has only 1 for yuv420 and 3 for yuv444 input. Then what is the value for RGB image? Also, for the “pixelBitDepthMinus8”, the document said it should be set 0 for 8 bit per pixel and 2 for 10 bit pixel image. However, a RGB image will have 24 bits for pixel(ARGB have 32 bits).

Is there anyone know how to set those fileds?

Thanks!