This project is read-only.

Jpeg Compression/Decompression with GPU?

Aug 9, 2013 at 3:35 PM
Edited Aug 9, 2013 at 3:47 PM
Is it possible to increase the speed of the .NET jpeg encoder/decoder with Cudafy?
As GPU should be extremely fast with this stuff i think, and i would really like to improve the speed of it.

I would like to increase the speed of this:
           Bitmap bmp = new Bitmap(rc.Width, rc.Height, System.Drawing.Imaging.PixelFormat.Format32bppArgb;
            bmp.Save(ms, GetEncoderInfo(ImageFormat.Jpeg), JpegParam);
That conversion takes alot of time, it´s more than that, but just saving to a memorystream (even bmp) takes alot of time, so i would like to speed it up somehow, and i thought of GPGPU which hopefully can speed it up.

Thanks
Aug 12, 2013 at 8:38 AM
You will need to implement the Bitmap class in CUDAfy device code, so expect to do a lot of low-level programming.
Aug 12, 2013 at 11:06 AM
NVIDIA's NPP has methods to handle it on the gpu, but it's fiendishly complex and NPP isn't currently supported by CUDAfy.