Nvmimg_jpgenc supported yuv format and performace issue

Please provide the following info (check/uncheck the boxes after clicking “+ Create Topic”):
Software Version
[×] DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
[×] Linux
QNX
other

Hardware Platform
[×] NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
1.5.0.7774
other

Host Machine Version
[×] native Ubuntu 18.04
other

Ref DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX, we can see nvmimg_jpgenc can retrieve *.yuv file as input file.
We have some question below:

  1. What is this supposed *.yuv file format. Assuming it is YUV420. If our original input is YUV422, what is recommended proposal?
  2. We use ./nvmimg_jpgenc to do 1920*1080 YUV420 encoding. The performance result is blow.
$./nvmimg_jpgenc -f Camera_1920x1080_YUV420.yuv -fr 1920x1080 -of Camera_1920x1080_YUV420.jpg -q 75

Total Encoding time for 1 frames: 4.478 ms
Encoding time per frame 4.1430 ms 
Get bits time per frame 0.3350 ms 

Can you do similar testing on your side?