aboutsummaryrefslogtreecommitdiff
path: root/graphics
AgeCommit message (Collapse)Author
2013-08-08GRAPHICS: Fix incorrect parameter order for getBasePtr.Torbjörn Andersson
This caused createThumbnail() to crash, e.g. when saving in the Kyrandia engine. Probably other engines as well.
2013-08-07Merge pull request #365 from lordhoto/protected-pixelsJohannes Schickel
Make Graphics::Surface::pixels protected.
2013-08-06GRAPHICS: Make Surface::pixels protected.Johannes Schickel
2013-08-04GRAPHICS: Fix typo.Johannes Schickel
2013-08-03GRAPHICS: Add two new methods to change 'pixels' of a Surface.Johannes Schickel
One method is a simpler setter for 'pixels'. The other one can be used to setup a Surface with custom data.
2013-08-03GRAPHICS: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03GRAPHICS: Add an easy way to query 'pixels' of Surface.Johannes Schickel
This introduced getPixels which is a shortcut for getBasePtr(0, 0).
2013-08-03GRAPHICS: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-08-03GRAPHICS: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-08-02GRAPHICS: Allow to query a Surface describing a subarea in Surface.Johannes Schickel
2013-08-02GRAPHICS: Slight formatting fixes in thumbnail_intern.cpp.Johannes Schickel
2013-08-02GRAPHICS: Silence conversion warnings by using an explicit cast.Johannes Schickel
2013-08-01GRAPHICS: Make Surface::copyFrom work for any src pitch.Johannes Schickel
Formerly we assumed that the newly created surface has the same pitch as the source surface. This is a assumption that might be invalid (for example in case of the Surface returned by OSystem::lockScreen.)
2013-07-13GRAPHICS: Allow arbitrary input sizes for thumbnail scaling.Johannes Schickel
Instead of a fixed 1/2 or 1/4 scaling we do a two step scaling now: 1) Scale image to width < 160*2 && height < [100,120]*2 with 1/4 or 1/2 nearest-neighbor. 2) Use a bilinear scaler to scale aspect preserving to 160x[100,120] This fixes bug #3614568 "GRAPHICS: Odd thumbnail sizes crash".
2013-07-12GRAPHICS: Be more robust with broken/unsupported thumbnail headers.Johannes Schickel
This fixes future issues like bug #3614654: "ALL: ScummVM 1.5.0 can't read newer saved games". There are a few behavior changes introduced with this commit: - checkThumbnailHeader will now also report the presence of unsupported/broken (but skippable) headers. - skipThumbnail will also try to skip the data for broken/unsupported thumbnail data. - loadThumbnail will skip over broken/unsupported thumbnail data but still return 0 in this case.
2013-07-04Merge pull request #331 from sev-/gsoc2012-eventsrecorderEugene Sandulenko
GSoC2012: Event Recorder (reworked)
2013-06-30GRAPHICS: Cleanup the YUV to RGB usage documentationMatthew Hoops
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2013-04-16GRAPHICS: Fix quantization table id checkMatthew Hoops
2013-02-01GRAPHICS: Let JPEGs pixelformat state 0 alpha bits.Einar Johan Trøan Sømåen
2013-01-26JANITORIAL: Enforce "} // End of namespace" with a single space after }.Johannes Schickel
2013-01-26GRAPHICS: Modify the JFIF version warningMatthew Hoops
v1.02 images should only differ with the thumbnail from v1.01, and should be handled correctly by our decoder.
2013-01-26Merge pull request #256 from lordhoto/thumbnail-pixelformatJohannes Schickel
GRAPHICS: Serialize PixelFormat for thumbnails and allow 4Bpp surfaces.
2013-01-24JANITORIAL: Fix ){ -> ) {Einar Johan Trøan Sømåen
2013-01-24GRAPHICS: Fix leak in PNG-decoder.Einar Johan Trøan Sømåen
2013-01-06GRAPHICS: Delete iff.cpp and iff.h since all ILBM and PBM decoding is ↵Tomas Jakobsson
handled by IFFDecoder now
2013-01-06GRAPHICS: New IFFDecoder that decodes ILBM and PBM imagesTomas Jakobsson
2012-12-26GRAPHICS: Add ability to override outputPitch to ILBM decoder.D G Turner
This allows loading an image into a buffer of a larger width. Thanks to Tomaz^ for this patch.
2012-12-26GRAPHICS: Allow ILBM bitmap loading for images with 6 planes.D G Turner
Thanks to Tomaz^ for this.
2012-12-26GRAPHICS: Add support for ILBM files containing uncompressed data.D G Turner
Thanks to Tomaz^ for this patch.
2012-10-23GRAPHICS: Mark decoders used by Wintermute as such.Einar Johan Trøan Sømåen
2012-10-21GRAPHICS: Rename NEON_ASPECT_CORRECTOR to USE_ARM_NEON_ASPECT_CORRECTORDavid-John Willis
* This better matches other ARM codepaths. * Also remove #ifdef OPENPANDORA as moved to configure.
2012-10-16GRAPHICS: Make failing to find the PICT header return false from loadStreamMatthew Hoops
2012-10-09GRAPHICS: Fix compilation of conversion.cpp on motomagx.Johannes Schickel
Using plain "inline" instead of "FORCEINLINE" allows the compiler to continue even when it fails to inline crossBlitLogic/crossBlitLogic3BppSource. The impact of other systems now not inlining the functions anymore is hopefully small enough to not cause any problems.
2012-10-08Merge pull request #257 from lordhoto/graphics-conversionJohannes Schickel
Extend crossBlit for abitrary (in-place) conversions and add a in-place conversion to Surface
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-25GRAPHICS: Slight formatting fixes in aspect.cpp.Johannes Schickel
2012-09-20Merge pull request #275 from clone2727/pegasusclone2727
Pegasus engine (The Journeyman Project: Pegasus Prime)
2012-09-19GRAPHICS: Update YUV410 conversion docsMatthew Hoops
2012-09-18GRAPHICS: Implement different luminance rangesMatthew Hoops
Bink and Theora are now much improved
2012-09-17GRAPHICS: Rework YUV->RGB code a bitMatthew Hoops
2012-09-17SCALER: Neon code for aspect correction for OpenPandoraBertrand Augereau
It gains 35% on the first function of the profiling on Indy IV It is now nearly memory-bound (~10%) so it might not be needed to schedule the code better than this
2012-09-17GRAPHICS: Fix BMP palette color count with bpp != 8Matthew Hoops
2012-09-16Merge pull request #278 from bluegr/pcxdecoderFilippos Karapetis
GRAPHICS: Add a PCX decoder
2012-09-15GRAPHICS: Reinsert attributeBits as a comment to the TGA-decoderEinar Johan Trøan Sømåen
2012-09-15GRAPHICS: Force alphaBits to 8 for 32bpp TGAs for nowEinar Johan Trøan Sømåen
2012-09-12Merge remote branch 'upstream/master' into pegasusMatthew Hoops
Conflicts: AUTHORS
2012-09-13GRAPHICS: Add a common PCX image decoderFilippos Karapetis
2012-09-09GRAPHICS: Fix ImageDecoder inconsistency with getPalette()Matthew Hoops
Per LordHoto's suggestion
2012-09-06PNG: call png_set_interlace_handling() before calling png_read_update_info()Filippos Karapetis
This matches the documentation, information from the PNG bug tracker and the behavior of example decoders off the net. It fixes warnings thrown from the PNG decoder