Efficient jpeg decoding to RGB on AGX Xavier

A possible solution will be like:

  1. Call decodeToFd() to get NvBuffer in YUV420
  2. Call NvBufferTransform() to get NvBuffer in RGBA
  3. Create CUDA buffer in BGR and implement CUDA code to convert NvBuffer in RGBA to the CUDA buffer in BGR

For maximum throughput of NvBufferTransform(), please execute the steps:
Nvvideoconvert issue, nvvideoconvert in DS4 is better than Ds5? - #3 by DaneLLL

1 Like