Does Gstreamer and NVENC support H265 for RAW8 and RAW10?

We have been using YUV data for H265 compression. Does Xavier NX hardware encoders support Gstreamer and NVENC H265 compressions for RAW8 and RAW10?
Thanks in advance.

We support YUV420 8-bit in H264/H265 encoding, YUV420 10-bit in H265 encoding. RAW8 and RAW10 formats are not supported.