Announcement: JPEG reader / image viewer

Hi,

please let me announce a CUDA based library that i wrote and an image viewer that uses that library.

CUJPEG:
http://sourceforge.net/projects/cujpeg/

This library decodes JPEG images to RGB, either on the GPU or on the CPU.
For JPEGs that contain restart intervals, also the huffman decoding is done in parallel on the GPU, which can boost performance a lot.

CUVIEW:
http://sourceforge.net/projects/cuview/

The viewer displays not only JPEGs but also other 2D and 3D images on different output devices.

Drawbacks:

  • There isn’t yet a build system, some hints on how to create dynamic libraries from CUDA sourcefiles are really appreciated.
  • Quitting the viewer takes some seconds, not sure why. Any hints are appreciated.

Please let me know your comments.

Best regards,
Torsten.

HI:
guys,I use cujpeg lib for deoceing multiframe files which is constructed by jpegs picture,but i find cujpeg_decode() spend mush time as 140ms, in my programms,code like this:

while(av_read_frame(pFormatCtx, &packet)>=0)
{
// use avcodec to parser a frame from XXX.mjpg
if(packet.stream_index==videoStream)
{

		framePtr =  (char*)packet.data;
		frameLength = packet.size;
			
		jj.mode = CUJPEG_MODE_RGBDEV;
	
		clock_t temp = clock();
		
		cujpeg_decode(&jj,(const unsigned char*)packet.data,packet.size);


		clock_t time_clock = (clock() - temp);

		printf("single single  time =%d  ms\n ",(time_clock)*1000/CLOCKS_PER_SEC);

anyone can provide advice?thanks a lot

KrojamSoft PhotoViewerPro is great to view all images within a folder . You can organize and view/edit images. View images on a calendar etc.Try it out