aboutsummaryrefslogtreecommitdiff
path: root/graphics/scaler
AgeCommit message (Collapse)Author
2018-04-15JANITORIAL: Fix whitespaceAdrian Frühwirth
2017-12-03ALL: Remove obsolete register keywordColin Snover
The register keyword was deprecated from the C++11 standard, <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4193.html#809>, and removed from the C++17 standard, <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4340>, so cannot exist in a well-formed C++17 program. It has never done anything in GCC <https://gcc.gnu.org/ml/gcc/2010-05/msg00113.html> and because of the way it is specified in the standard, it is “as meaningful as whitespace” <http://www.drdobbs.com/keywords-that-arent-or-comments-by-anoth/184403859>. The one remaining use of the register keyword is in the DS backend, where it is used to create a local register variable using the non-standard GCC Extended Asm feature. Closes gh-1079.
2016-03-27GRAPHICS: Allow saving thumbnails of 32 bits screensBastien Bouclet
Fixes saving in Myst ME when using the OpenGL output
2014-03-06GRAPHICS: Manually specify function alignment in ARM assembly.Johannes Schickel
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-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-09-25GRAPHICS: Slight formatting fixes in aspect.cpp.Johannes Schickel
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-03SCALER: No need to inline interpolate5Line, it just bloats stretch200To240 ↵Bertrand Augereau
for nothing
2012-06-12GRAPHICS: Replace OverlayColor with uint16 in scaler code.Johannes Schickel
Scalers are actually fixed at 2Bpp right now and not at the depth of OverlayColor.
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-11-14COMMON: Remove some double-underscore defines (reserved)Willem Jan Palenstijn
2011-08-07JANITORIAL: Remove trailing empty lines.Christoph Mallon
2011-06-14SCALERS: Fix Normal1xAspect scaler bug reported in bug #3313709CeRiAl
2011-06-10ARM: Fix normal2x scaler for width % 4 != 0Willem Jan Palenstijn
The first jump to 'thin:' didn't leave r14 (remaining width) in the right state.
2011-06-10SCALERS: Fix for compiling for ARM without using ASM scalersCeRiAl
2011-06-08GRAPHICS: Move comment to the right function.Alyssa Milburn
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-07GRAPHICS: use the new interpolate16_5_3peres
2011-05-07GRAPHICS: implement the long awaited interpolate16_5_3peres
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-03-29JANITORIAL: Remove/comment unused varsdhewg
Found by GCC 4.6's -Wunused-but-set-variable
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-11-17GRAPHICS: colour -> colorMax Horn
svn-id: r54287
2010-11-07GRAPHICS: Cleanup advmame scaler code; don't include assert.hMax Horn
svn-id: r54104
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-04-17Fix for ARM Normal2xAspect scaler that was causing crashes when the screenRobin Watts
'shakes' (such as when the head/bomb goes of at the start of sam'n'max). Was overwriting the end of the screen when asked to plot a non-multiple of 5 lines. svn-id: r48690
2010-03-09Fix missing definition of gBitFormat.Robin Watts
svn-id: r48213
2010-03-08Use a template for hq2x and hq3x instead of using #include and defines.Johannes Schickel
svn-id: r48197
2010-03-08Fix compilation.Johannes Schickel
svn-id: r48196
2010-03-08Add new aspect ratio scaler variant, based on the Normal2xAspect ARM codeMax Horn
svn-id: r48195
2010-03-08Rewrite Normal1xAspect (untested, may be broken)Max Horn
svn-id: r48194
2010-03-08Remove redundant codeMax Horn
svn-id: r48193
2010-03-08Rename PocketPCLandscapeAspect to Normal1xAspect and move it toMax Horn
graphics/scaler/aspect.cpp svn-id: r48192