I would like to use the class NvJPEGEncoder from the Multimedia API to compress an Opencv image.
This class has the methods:
encodeFromBuffer(…)
encodeFromFd(…)
Does anyone know how to convert a cv::Mat to the corresponding nvBuffer, apply the encoding and re-convert the result back to opencv again?
Best regards!