aboutsummaryrefslogtreecommitdiff
path: root/graphics/scaler/intern.h
AgeCommit message (Collapse)Author
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-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.
2014-02-18GRAPHICS: Make GPL headers consistent in themselves.Johannes Schickel
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-07GRAPHICS: implement the long awaited interpolate16_5_3peres
2010-03-08SCALERS: Get rid of MAKE_WRAPPER; make RGBtoYUV internalMax Horn
svn-id: r48189
2010-03-08SCALERS: Change 'bitformat' template params to 'colormasks';Max Horn
get rid of some #defines svn-id: r48187
2009-01-27Added new interpolate16_1_1_1_1 func, got rid of interpolate32_1_1_1_1Max Horn
svn-id: r36090
2009-01-27Removed interpolate16_2 and interpolate16_3Max Horn
svn-id: r36088
2009-01-27Speed up HQ2x/HQ3x C++ version a bit (about 20% faster with -O3 on my system)Max Horn
svn-id: r36087
2009-01-27New code for interpolate32_1_1 overflowed in 565 mode, so reverting to the ↵Max Horn
old code (with some variable name changes to match the other interpolators) svn-id: r36086
2009-01-26Slightly improved interpolate32_1_1Max Horn
svn-id: r36075
2009-01-25Renamed lowBits -> kLowBitsMask and highBits -> kHighBitsMaskMax Horn
svn-id: r36049
2009-01-24Turned two vars of the HQ2x/HQ3x ASM implementation into global vars, to ↵Max Horn
make it possible to adjust them for 555 vs. 565 mode (555 mode is still a bit buggy, due to the interpolation code they use) svn-id: r36046
2009-01-22Speed up HQ2x/HQ3x C versions by reordering tests in diffYUV: most likeliest ↵Max Horn
to be taken now is first, least likely is last svn-id: r35996
2008-11-03Committed my patch #2216641 "GRAPHICS: PixelFormat introduction".Johannes Schickel
svn-id: r34875
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-05-30Updated legal headers in source files, based on what Pidgin (the IM client ↵Max Horn
formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024
2006-04-21Implementation and declartion in intern.h differed. Changed so both is using ↵Lars Persson
the same datatype. svn-id: r22074
2006-04-17Renamed and merge some of the pixel interpolation functions (the names still ↵Max Horn
could be better) svn-id: r21981
2006-04-17Moved ColorMasks to their own new header graphics/colormasks.h, so that both ↵Max Horn
the scalers and the GUI code can access them. Also added (untested) entries for 1555, 444, 888 and 8888 modes svn-id: r21966
2006-02-20Moved common/scaler* to graphics/Max Horn
svn-id: r20797