How to use the latest version of nvcodec for HEVC roi encoding

I tried to use hevc_nvenc for ROI encoding on P4 and T4, but using NvEncGetEncodeCaps API to check NV_ENC_CAPS_SUPPORT_EMPHASIS_LEVEL_MAP, the results are all negative.

I am not a pro, so I am not sure about all of this.

Please tell me whether hevc_nvenc supports ROI encoding?And how to use it if supported?

Did you get anywhere with this? I am also interested in RoI support for nvv4l2h265 encoder for the Jetson. The NVIDIA Multimedia API does not seem to have support for RoI encoding for H.265.