JPEG hardware encoder support on DRIVE Thor

Software Version
DRIVE OS 7.0.3
other

Target Operating System
Linux
QNX
other

Hardware Platform
DRIVE AGX Thor Developer Kit (940-63960-0010-000)
DRIVE AGX Thor Developer Kit (940-63960-0012-000)
other

Host Machine Version
native Ubuntu Linux 24.04 Host installed with DRIVE OS Docker Containers
other

Issue Description:

We have several questions about JPEG compression on DRIVE Thor:

  1. We found that nvJPEG 13 introduces nvjpegEncoderStateCreateWithBackend() and NVJPEG_ENC_BACKEND_HARDWARE for selecting a hardware encoder backend. Can this API use the dedicated JPEG hardware encoder on DRIVE Thor? If not, is NvMedia IJPE the only API that can access it?
  2. According to the DRIVE OS 7.2.5 NvMedia IJPE documentation, IJPE encodes YUV surfaces. Does the JPEG encoder support YUV444, RGB/RGBA, or grayscale/YUV400 input, or only YUV420?
  3. According to the NvMedia documentation, the JPEG encoder accepts only YUV420 input. However, the IJPD supports both YUV and RGBA input. Why does the decoder support more input formats than the encoder?
  4. For high-throughput camera-data collection, does NVIDIA recommend JPEG image encoding or H.264/H.265 video encoding, and why?

Dear @yungchen.sun.802 ,
NVJPG engine is accessible only from NvMedia APIs.
IJPE accepted YUV420 SP and YUV 420P input formats as mentioned in Image JPEG Encode (IJPE) — NVIDIA DriveOS 7.2.5 Linux SDK Early Access Developer Guide
For camera data collection, we have recorder tool available in DW which supports h264 encoding over MP4 container which is the recommended option.

Could you please create each issue in a separate topic to avoid cluttering of topics?