How to do JPEG decompression using CUDA 3.2 RC

The new release CUDA 3.2RC has JPEG decompression with CUDA. Does any one know how to use it?

There is an application sample - cudaDecodeGL, but there is no code for JPEG decompression with it.

I even cannot find the reference documentation for the API functions described in NVIDIA_CUDA_VideoDecoder.pdf.

It would be great if someone can provide information about how to decompress JPEG on CUDA.

I think cudaDecodeGL has nothing to do with JPEG decoding. I have found this:

http://sourceforge.net/projects/cudajpegdecoder/

As I am working in some video/image post-processing with CUDA it could be usefull for you as it is for me.

I hope so…

I think cudaDecodeGL has nothing to do with JPEG decoding. I have found this:

http://sourceforge.net/projects/cudajpegdecoder/

As I am working in some video/image post-processing with CUDA it could be usefull for you as it is for me.

I hope so…

I think cudaDecodeGL has nothing to do with JPEG decoding. I have found this:

http://sourceforge.net/projects/cudajpegdecoder/

As I am working in some video/image post-processing with CUDA it could be usefull for you as it is for me.

I hope so…

In the cuda 3.2 include directory there is a commented header file called cuviddec.h. Maybe it has some jpeg decoding functions.

In the cuda 3.2 include directory there is a commented header file called cuviddec.h. Maybe it has some jpeg decoding functions.

In the cuda 3.2 include directory there is a commented header file called cuviddec.h. Maybe it has some jpeg decoding functions.

cuviddec.h only implements video decoding from H.264, MPEG and others to NV12 frame format.

cuviddec.h only implements video decoding from H.264, MPEG and others to NV12 frame format.

Thanks, everybody.

The document NVIDIA_CUDA_VideoDecoder.pdf clearly says ‘Support for decoding JPEG using CUDA cores’.

How to get NVIDIA supporting people to answer this question?

Matt.

Thanks, everybody.

The document NVIDIA_CUDA_VideoDecoder.pdf clearly says ‘Support for decoding JPEG using CUDA cores’.

How to get NVIDIA supporting people to answer this question?

Matt.

Where did you see that? I am very interested in it too but I could not find it in this document:

http://developer.download.nvidia.com/compu…doc/nvcuvid.pdf

Where did you see that? I am very interested in it too but I could not find it in this document:

http://developer.download.nvidia.com/compu…doc/nvcuvid.pdf

That is the wrong document, describing an earlier, windows only library that was dropped around CUDA 2.0. The 3.2 release candidate includes an new library for video decoding video, and the documentation says there is JPEG decompression support in the windows version library. But to the original poster, if you are wanting decode JIF or JFIF still images with the library, I will take an educated guess that you are out of luck - the JPEG mentioned is probably M-JPEG (ie. motion JPEG video streams).

That is the wrong document, describing an earlier, windows only library that was dropped around CUDA 2.0. The 3.2 release candidate includes an new library for video decoding video, and the documentation says there is JPEG decompression support in the windows version library. But to the original poster, if you are wanting decode JIF or JFIF still images with the library, I will take an educated guess that you are out of luck - the JPEG mentioned is probably M-JPEG (ie. motion JPEG video streams).

If you have CUDA3.2RC installed, the document, NVIDIA_CUDA_VideoDecoder.pdf, is located in

…\NVIDIA GPU Computing Toolkit\CUDA\v3.2\doc\

If you have CUDA3.2RC installed, the document, NVIDIA_CUDA_VideoDecoder.pdf, is located in

…\NVIDIA GPU Computing Toolkit\CUDA\v3.2\doc\