aboutsummaryrefslogtreecommitdiff
path: root/graphics/scaler
AgeCommit message (Collapse)Author
2019-12-25SDL: Remove duplicated cursorStretch200To240() functionCameron Cawley
2019-12-17GRAPHICS: Remove unused scaler codeCameron Cawley
2019-11-17GRAPHICS: Remove downscalers only used by the Windows CE portCameron Cawley
2019-11-17GRAPHICS: Fix Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-04-01GRAPHICS: Return value in dummy functionsEric Culp
2019-04-01GRAPHICS: Respect alpha and rgba formats in interpolation and conversionEric Culp
2019-04-01GRAPHICS: Fix braces in two interpolate functionsEric Culp
2019-04-01GRAPHICS: Change another interpolation function in Edge filter.Eric Culp
A 2 to 1 interpolation was causing errors. It is fixed, renamed, and moved to the common interpolation file.
2019-04-01GRAPHICS: Change Edge filter to use shared interpolation functionsEric Culp
2019-04-01GRAPHICS: Add dummy specializations for some interpolate* functionsEric Culp
They use ColorMask values not present in 2-byte ColorMasks. Since they should never be used on 2-byte pixel data, the dummy implementations assert(0) and should be removed by any optimizing compiler since no code path can ever reach them.
2019-04-01GRAPHICS: Add 32bit versions of interpolate* functionsEric Culp
2018-10-24SURFACESDL: Respect filtering setting when performing aspect ratio correctionThierry Crozat
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