Hello. We have a camera that grabs data as color separated jpeg images. Therefor for each color I have a grayscale jpeg file. I’ve been trying to get the jpeg_decode working on the Xavier. The provided NvJpegDecode failed to decode the images with both options (–decode-fd and --decode-buffer). I have applied one of the patches found on the forum https://devtalk.nvidia.com/default/topic/1043325/jetson-tx2/nvjpeg-die-on-decoding-picture/ and I can now decdoe to buffer.
jpeg_decode num_files 1 ./1.jpg ./1.raw --decode-buffer Image Resolution - 1232 x 1024 App run was successful
However the option --decode-fd still does not work.
jpeg_decode num_files 1 ./1.jpg ./1.raw --decode-fd Failed to query video capabilities: Inappropriate ioctl for device Unsupported color conversion request
I would like to have both options working, especially since decode to fd is supposed to be faster. Any help in getting it working is highly appreciated.