Hardware Accelerated JPEG encode/decode on Jetson Xavier JP 5.1.3

Hi,
Please dump nvbufSurfaceRGBA to file and check if it contains valid RGBA data.

And for mapping to gpuMat, please check
Error generated while running the code after connecting the camera - #15 by DaveYYY

Calling the CUDA functions is required. Please add the function calls and try.