in the multi-media sample NvJPegDecoder::decodeToBuffer() or NvJPegDecoder::decodeToFd(), am getting a pixelformat V4L2_PIX_FMT_YUV422RM. I cannot find a definition of this anywhere or how to decode it. Looking a the Nppi primitives for color-space conversion and I cannot find a corresponding function.
Also, if I use decodeToFd(), the resulting fd == -1.
I find if I use the program jetson_multimedia_api/samples/06_jpeg_decode, that decodeToFd() does work, but decodeToBuffer() does not work. For example, this works:
But if I use decodeToBuffer(), as follows:
./jpeg_decode num_files 1 /media/samsung/TimeLapseImager/src/tli/3rdParty/MImage/test/resources/jpeg/256x256_color.jpg /media/samsung/TimeLapseImager/src/tli/3rdParty/MImage/test/resources/jpeg/256x256_color.yuv --decode-buffer