Closed pytho12 closed 9 months ago
For decoder, we do have NVJPEG_BACKEND_GPU_HYBRID_DEVICE
and NVJPEG_BACKEND_GPU_HYBRID_DEVICE
backends that accept input bitstreams on device memory. See this link for details. There are certain limitations
nvjpegDecodeBatched()
APInvjpegDecodeBatchedSupported()
API to determine whether your image is supported by nvjpeg.Doesn’t encoding support exist?
There is encoding support as well. The encode APIs(nvjpegEncodeYUV and nvjpegEncodeImage) accept input on device memory. It is possible to retrieve the compressed bitstream on either on device using - nvjpegEncodeRetrieveBitstreamDevice or on host using nvjpegEncodeRetrieveBitstream
closing. Feel free to reopen if you have additional questions
The input of the nvJPEG library is in the host memory and the output is in the GPU memory. Can the input be in the GPU memory and the output be in the GPU memory?