Encode 16-bit greyscale?

Is there a way to encode 16-bit greyscale pixels? I don’t see anything suitable in nvEncodeAPI.h. Would the closest be 10-bit, using NV_ENC_BUFFER_FORMAT_YUV420_10BIT?