aboutsummaryrefslogtreecommitdiff
path: root/graphics/scaler.cpp
AgeCommit message (Collapse)Author
2009-03-20Oops forgot one line in last commit, now the file should compile cleanly ↵Johannes Schickel
with mingw64. svn-id: r39555
2009-03-20Fix compilation on mingw64.Johannes Schickel
svn-id: r39554
2009-02-14add assert(g_system) for backends that call InitScalers() from their OSystem ↵Joost Peters
ctor (at which point g_system is still NULL) svn-id: r36332
2009-02-13Changed DotMatrix to use pixelformat instead of bitformat/colormasksMax Horn
svn-id: r36310
2009-02-13cleanupMax Horn
svn-id: r36289
2009-01-27Added new interpolate16_1_1_1_1 func, got rid of interpolate32_1_1_1_1Max Horn
svn-id: r36090
2009-01-26Removed use of LUT16to32 in HQx asm versions, replacing some MMX code with ↵Max Horn
'plain' x86 code. Advantage: got rid of a 256kb table (reduces cache load, so over here the code is about as fast as before; in particular, since the affected interpolators are not used that often, it seems). Moreover, the new code is more accurate than the old ASM code, which actually differed from what our C++ HQx did (sacrificing precision for speed, i.e., cheating ;-) svn-id: r36078
2009-01-25Fixed compilationFilippos Karapetis
svn-id: r36054
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-23Made InitLUT use a PixelFormat instead of a ColorMaskMax Horn
svn-id: r36008
2009-01-22Got rid of several occurrences of gBitFormatMax Horn
svn-id: r35995
2008-12-22Fixed indentation and removed whitespaces at the end of lineJordi Vilalta Prat
svn-id: r35481
2008-11-29FormattingFilippos Karapetis
svn-id: r35173
2008-11-29Remove warnings from NDS build.Robin Watts
svn-id: r35172
2008-11-03Committed my patch #2216641 "GRAPHICS: PixelFormat introduction".Johannes Schickel
svn-id: r34875
2008-03-27Patch #1926787: small memory leak and cleanupMax Horn
svn-id: r31261
2008-03-26Properly fix DestroyScalersMax Horn
svn-id: r31257
2008-03-26Commented out two frees() in DestroyScalers(), introduced with commit #31244 ↵Filippos Karapetis
and added a FIXME - these cause crashes with 640x480 games, when using an HQ2x scaler svn-id: r31247
2008-03-26Modified Patch #1925352: Memory leak fixesMax Horn
svn-id: r31244
2008-03-23Patch #1923547: enable nasm usage on OS/2Jordi Vilalta Prat
svn-id: r31226
2008-01-27Removed trailing spaces.Jordi Vilalta Prat
svn-id: r30664
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-17Renamed and merge some of the pixel interpolation functions (the names still ↵Max Horn
could be better) svn-id: r21981
2006-04-17Allocate LUT/YUV tables on the heapMax Horn
svn-id: r21971
2006-04-17Modify InitLUT to make use of ColorMasks, making it easier to add support ↵Max Horn
for other color modes eventually. This also fixes the computation of LUT16to32 which so far always assumed 565 mode. svn-id: r21970
2006-04-17cleanupMax Horn
svn-id: r21964
2006-03-15* 'make bundle' now copies the default theme files into the bundle.Oystein Eftevaag
* Common::File will now look inside the application bundle on MacOS X for a file if it can't find it anywhere else (so it'll find default-theme.ini and .zip) * Cleaned up some #ifs. svn-id: r21308
2006-03-14Adds support for building on Intel Macs, using a modifiedOystein Eftevaag
version of patch 1448395 by Aubin and some of my own changes. Notably: * Two elements of a struct in backends/midi/quicktime.cpp needed to be forced to BE. * NASM set to build Mach-O binaries * configure now checks for Altivec support on Darwin hosts, instead of assuming it. Altivec support can also be disabled (not 100% sure if t his is actually needed, but might be handy for crosscompiling). * The aliasing of the symbols contained in the .asm files done on Windows were also needed on MacOS. Note that while the asm code is properly compiled and linked in, HQ2/3x support will still not work properly on Intel macs if NASM is enabled. svn-id: r21280
2006-02-20Moved common/scaler* to graphics/Max Horn
svn-id: r20797