nvImageCodec icon indicating copy to clipboard operation
nvImageCodec copied to clipboard

Can I use the GPU version of JPEG2000 via the CUDA Driver API in C++

Open xusiang opened this issue 2 months ago • 1 comments

Describe the question.

I want to use nvjpeg2000 in C++ via the Driver API. It seems that nvImageCodec also uses nvjpeg, and nvjpeg is a closed-source library implemented using the Runtime API. Can I implement nvjpeg2000 in C++ using the Driver API?

Check for duplicates

  • [x] I have searched the open bugs/issues and have found no duplicates for this bug report

xusiang avatar Nov 04 '25 04:11 xusiang

nvJPEG and nvJPEG2000 are two different libraries. nvJPEG is part of CUDA Toolkit, nvJPEG2000 can be downloaded from NVIDIA Developer page: https://developer.nvidia.com/nvjpeg2000-downloads.

Here is documentation on how to use nvJPEG2000: https://docs.nvidia.com/cuda/nvjpeg2000/quickstartguide.html or you can check how nvImageCodec is using nvJPEG2000. nvJPEG2000 is a standalone library which you can use with either Driver or Runtime CUDA API.

mkepa-nv avatar Nov 21 '25 07:11 mkepa-nv