Incorrect dewarping for fisheye frames with cudaWarpFisheye

I decoded frames from video with nvenc, and these frames were fisheye images from a 360-Render camera.
I tried to dewarp these frames with cudaWarpFisheye which are provided in jetson-inference, plase see this link, but it did not work. Whats the problem for that? I have checked in camera manual and found the focus value is 4mm.

Please help me!
dewarped frame

original frame: