aboutsummaryrefslogtreecommitdiff
path: root/graphics/scaler/thumbnail_intern.cpp
AgeCommit message (Collapse)Author
2016-03-27GRAPHICS: Allow saving thumbnails of 32 bits screensBastien Bouclet
Fixes saving in Myst ME when using the OpenGL output
2014-02-18GRAPHICS: Make GPL headers consistent in themselves.Johannes Schickel
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-03GRAPHICS: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03GRAPHICS: Prefer getBasePtr over direct Surface::pixels access.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-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-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-17GRPAHICS: Do not access Surface::bytesPerPixel anymore.Johannes Schickel
2011-04-17GRAPHICS: Prefer Surface::create taking a PixelFormat over the one taking a ↵Johannes Schickel
byte depth.
2011-02-14GRAPHICS: Adapt thumbnail code to grabPalette RGBA->RGB change.Johannes Schickel
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2010-07-02Fix long standing regression (introduced with r34053) in thumbnail scaling ↵Johannes Schickel
code for Hercules graphics. svn-id: r50605
2010-07-02Rewrote the handling of thumbnail creation for KQ6 Windows in rev #50600, so ↵Filippos Karapetis
that it recreates the screen buffer like the other workarounds above it (thanks to LordHoto for pointing this out) svn-id: r50601
2010-07-02Added a special case for KQ6 hires in the thumbnail creation code, which ↵Filippos Karapetis
runs at a resolution of 640x440 svn-id: r50600
2010-04-19Document that the current Hercules mode thumbnail scaler code is pretty much ↵Johannes Schickel
aimed for SCUMM games. svn-id: r48736
2010-04-19Cleanup.Johannes Schickel
svn-id: r48735
2010-04-19Do not call OSystem::grabPalette() for 16bit modes, when the result is not ↵Andre Heider
used anyway for those modes. svn-id: r48733
2010-03-08Code formattingMax Horn
svn-id: r48188
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-09-08Fixed some (pedantic) warningsMax Horn
svn-id: r44015
2009-08-29Fix bug for non 8bpp indexed game screens in grabScreen565.Johannes Schickel
svn-id: r43796
2009-08-29changes to graphics/scaler/thumbnail_intern.cpp that escaped earlier 16-bit ↵Jody Northup
merge. svn-id: r43788
2009-06-03Revert last change, better to wait for 16bit backend support.Travis Howell
svn-id: r41131
2009-06-03Update thumbnail code to capture RGB565 screen.Travis Howell
svn-id: r41130
2009-01-27Added new interpolate16_1_1_1_1 func, got rid of interpolate32_1_1_1_1Max Horn
svn-id: r36090
2009-01-22Got rid of gBitFormat in thumbnail scaler code (and even simplified it in ↵Max Horn
the process) svn-id: r35994
2008-11-03Committed my patch #2216641 "GRAPHICS: PixelFormat introduction".Johannes Schickel
svn-id: r34875
2008-08-20Renamed graphics/scaler/thumbnail.cpp to thumbnail_intern.cpp. Fixes ↵Kari Salminen
compiling under MSVC. svn-id: r34063