CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Jpeg Decoder

  1. #1
    Join Date
    Aug 2011
    Posts
    19

    Jpeg Decoder

    Hi everyone,

    I am using C/C++, and I am trying to decode a jpeg image. My images are small in size (320x240), but the processor that the code has to run on is very slow.

    I found that some of my options are libjpeg and OpenCV (even though I haven't worked with any of these libraries before).

    Before I start downloading all the library files, I would need some help as far as which one would decode images faster?

    My main concern is speed. Does anyone have some idea which one would be a slightly faster decoder compared to the other one?

    If anyone knows of any other decoder library (for C/C++) that is even faster, please advise.

    I would appreciate some help.

    Thanks,
    --Rudy

  2. #2
    Join Date
    Jul 2005
    Location
    Netherlands
    Posts
    2,042

    Re: Jpeg Decoder

    Since you seem to be targeting a specific platform, I would just test the performance of different libraries on some real data with your target platform.
    Cheers, D Drmmr

    Please put [code][/code] tags around your code to preserve indentation and make it more readable.

    As long as man ascribes to himself what is merely a posibility, he will not work for the attainment of it. - P. D. Ouspensky

  3. #3
    Join Date
    Jan 2009
    Posts
    1,689

    Re: Jpeg Decoder

    libjpeg-turbo is a branch of libjpeg6 that has dramatically increased performance. It's used by Firefox, Chrome, Fedora...

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured