Input video formats supported by NVENC

I would like to know what input video formats are supported by NVENC, or I would like to know the command to get a list of input video formats are supported by it.

For example, are the following pixel formats supported for NVENC input?

  • BGR24
  • BGRA
  • YUV420p
  • YUV444p

BGRP is supported and NV30/P010/P016. NV12 is still supported, but ffmpeg removed it. This is from point of view of ffmpeg.