aboutsummaryrefslogtreecommitdiff
path: root/graphics/jpeg.cpp
AgeCommit message (Collapse)Author
2011-02-06GRAPHICS: Improved JPEG decoder performanceBastien Bouclet
Replaced the 2D IDCT by two 1D IDCT (rows, then columns). JPEG images now decode about twice as fast as they used to. svn-id: r55794
2011-01-31Silenced some MSVC warningsFilippos Karapetis
svn-id: r55699
2011-01-28GRAPHICS: Make JPEG::getComponent error out if component was not foundMax Horn
svn-id: r55587
2011-01-28GRAPHICS: Turn sqrt(2) and cosine values into constants ;)Max Horn
svn-id: r55586
2011-01-28GRAPHICS: Rename JPEG::_str to _streamMax Horn
We use _str to denote strings almost everywhere, so this was a bit confusing. Another alternative would be to use _s. svn-id: r55585
2011-01-18GRAPHICS: Add a getSurface() function to JPEG to automatically convert to RGBMatthew Hoops
svn-id: r55301
2010-11-19ALL: Push down deps on stream.h from .h to .cpp filesMax Horn
svn-id: r54358
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-12-31Worked around what appears to be a bad JPEG image in the Masterpiece edition ofTorbjörn Andersson
Myst. If I dump the image to file, I'm able to read it into other programs, such as The GIMP, just fine. It seems that the only thing that's missing is the End Of Image marker, and what everyone else does is to just fake one. svn-id: r46795
2009-12-24JPEG tweaks and optimization (thanks to digitall)Scott Thomas
svn-id: r46522
2009-09-01Coding best practice: Whenever possible, pass objects by reference instead ↵Max Horn
of by value. Also make variables or data table which are only used locally "static". svn-id: r43882
2009-08-21Add JPEG decoder from 16bpp branchScott Thomas
svn-id: r43596