Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Cameron Cawley
b78323897d
SDL: Fix compilation
2021-03-15 16:48:40 +02:00
Eric Culp
c915efa452
GRAPHICS: Respect alpha and rgba formats in interpolation and conversion
2021-03-15 16:48:40 +02:00
Eric Culp
e77934b73d
GRAPHICS: Change Edge filter to use shared interpolation functions
2021-03-15 16:48:40 +02:00
Eric Culp
627fbaf8a0
GRAPHICS: Return value in dummy functions
2019-04-01 00:29:23 +03:00
Eric Culp
c666ecd41d
GRAPHICS: Respect alpha and rgba formats in interpolation and conversion
2019-04-01 00:29:23 +03:00
Eric Culp
c2ddab7dd2
GRAPHICS: Fix braces in two interpolate functions
2019-04-01 00:29:23 +03:00
Eric Culp
e3357083d7
GRAPHICS: Change another interpolation function in Edge filter.
...
A 2 to 1 interpolation was causing errors. It is fixed, renamed, and
moved to the common interpolation file.
2019-04-01 00:29:23 +03:00
Eric Culp
0246ca8da0
GRAPHICS: Change Edge filter to use shared interpolation functions
2019-04-01 00:29:23 +03:00
Eric Culp
3d57c13af0
GRAPHICS: Add dummy specializations for some interpolate* functions
...
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-01 00:29:23 +03:00
Eric Culp
2215e0cb51
GRAPHICS: Add 32bit versions of interpolate* functions
2019-04-01 00:29:23 +03:00
Adrian Frühwirth
3747d852ee
JANITORIAL: Fix whitespace
2018-04-15 16:31:31 +02:00
Colin Snover
a5bc89102e
ALL: Remove obsolete register keyword
...
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.
2017-12-03 20:27:42 -06:00
Johannes Schickel
53332e8066
GRAPHICS: Make GPL headers consistent in themselves.
2014-02-18 02:39:34 +01:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
peres
2dddcbf41d
GRAPHICS: implement the long awaited interpolate16_5_3
2011-05-07 08:38:32 +09:00
Max Horn
a558e60fec
SCALERS: Get rid of MAKE_WRAPPER; make RGBtoYUV internal
...
svn-id: r48189
2010-03-08 10:30:23 +00:00
Max Horn
d239d5c2f8
SCALERS: Change 'bitformat' template params to 'colormasks';
...
get rid of some #defines
svn-id: r48187
2010-03-08 10:29:35 +00:00
Max Horn
e338205066
Added new interpolate16_1_1_1_1 func, got rid of interpolate32_1_1_1_1
...
svn-id: r36090
2009-01-27 01:46:29 +00:00
Max Horn
97153f9c3b
Removed interpolate16_2 and interpolate16_3
...
svn-id: r36088
2009-01-27 01:29:22 +00:00
Max Horn
9809709468
Speed up HQ2x/HQ3x C++ version a bit (about 20% faster with -O3 on my system)
...
svn-id: r36087
2009-01-27 01:23:04 +00:00
Max Horn
153b32391f
New code for interpolate32_1_1 overflowed in 565 mode, so reverting to the old code (with some variable name changes to match the other interpolators)
...
svn-id: r36086
2009-01-27 00:55:28 +00:00
Max Horn
2042c6d570
Slightly improved interpolate32_1_1
...
svn-id: r36075
2009-01-26 16:45:21 +00:00
Max Horn
dd586e0e20
Renamed lowBits -> kLowBitsMask and highBits -> kHighBitsMask
...
svn-id: r36049
2009-01-25 04:29:25 +00:00
Max Horn
16e7a7cd30
Turned two vars of the HQ2x/HQ3x ASM implementation into global vars, to 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-24 23:06:58 +00:00
Max Horn
d5d7175691
Speed up HQ2x/HQ3x C versions by reordering tests in diffYUV: most likeliest to be taken now is first, least likely is last
...
svn-id: r35996
2009-01-22 06:41:57 +00:00
Johannes Schickel
985c02ee7d
Committed my patch #2216641 "GRAPHICS: PixelFormat introduction".
...
svn-id: r34875
2008-11-03 13:44:59 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Lars Persson
aec70b0bb2
Implementation and declartion in intern.h differed. Changed so both is using the same datatype.
...
svn-id: r22074
2006-04-21 20:56:53 +00:00
Max Horn
b47e531425
Renamed and merge some of the pixel interpolation functions (the names still could be better)
...
svn-id: r21981
2006-04-17 18:17:02 +00:00
Max Horn
ea85e8c986
Moved ColorMasks to their own new header graphics/colormasks.h, so that both the scalers and the GUI code can access them. Also added (untested) entries for 1555, 444, 888 and 8888 modes
...
svn-id: r21966
2006-04-17 10:22:05 +00:00
Max Horn
7335d348ba
Moved common/scaler* to graphics/
...
svn-id: r20797
2006-02-20 20:29:02 +00:00