Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-08-10 | Relaxed the assertion for the 3x scaler a bit. Since it uses pointers to | Torbjörn Andersson | |
uint16, it should be enough that dstPtr is even; it doesn't have to be a multiple of four. The old assertion failed for me when I used the 3x scaler without aspect ratio correction. svn-id: r14536 | |||
2004-08-08 | Slightly optimiized Normal2x | Max Horn | |
svn-id: r14519 | |||
2004-08-07 | centers the scaled bitmap and fix the scaling of borders for ASM version) | Gregory Montoir | |
svn-id: r14505 | |||
2004-08-07 | Base our advmame scalers on the official Scale2x source - this way we can ↵ | Max Horn | |
easily update to new version and benefit from their optimizations (e.g. MMX support) svn-id: r14502 | |||
2004-06-27 | irrelevant tweak, but I am a const-junkie :-) | Max Horn | |
svn-id: r14089 | |||
2004-05-21 | fixed mingw compilation | Paweł Kołodziejski | |
svn-id: r13846 | |||
2004-05-21 | Added assembly versions of HQ2x and HQ3x scalers. | Eugene Sandulenko | |
svn-id: r13844 | |||
2004-04-12 | Updated to match scale2x 2.0 | Max Horn | |
svn-id: r13563 | |||
2004-02-27 | cleanup | Max Horn | |
svn-id: r13069 | |||
2004-01-06 | updated copyright notice | Max Horn | |
svn-id: r12176 | |||
2003-11-08 | cleanup whitespaces | Paweł Kołodziejski | |
svn-id: r11219 | |||
2003-11-06 | cut down dependencies a bit (so that I don't have to recompile hq2x/hq3x ↵ | Max Horn | |
whenever common/scaler.h is changed :-) svn-id: r11168 | |||
2003-10-24 | Fixed typo and added FIXME comment for the DotMatrix scaler. | Torbjörn Andersson | |
svn-id: r10956 | |||
2003-10-02 | fix scaler compilation for MSVC6. However, the produced code stll seems to ↵ | Max Horn | |
be incorrect... Jamieson, maybe the MSVC6_COMPAT should be re-added then after all? svn-id: r10552 | |||
2003-09-29 | synced hq2x with upstream changes; some performance tweaks to hq2x/hq3x (I ↵ | Max Horn | |
think for bigger speed improvement we'd have to use ASM (with C++ fallback of course)... svn-id: r10494 | |||
2003-09-29 | templatized more of the scalers; also introduced template struct ColorMasks ↵ | Max Horn | |
(shortens/simplifies other code a bit) svn-id: r10489 | |||
2003-09-29 | split out scalers into separate source files in common/scaler; some ↵ | Max Horn | |
optimizations (in particular, the hq2x/hq3x scalers now are compiled into two versions, one for 555 and one for 565 mode) svn-id: r10488 | |||
2003-09-27 | get rid of explicit redMask/blueMask and use redBlueMask instead (this will ↵ | Max Horn | |
be useful should we choose to templatize the scalers for 555/565 mode optimizations) svn-id: r10451 | |||
2003-09-27 | cheak doxygen comments | Max Horn | |
svn-id: r10448 | |||
2003-09-27 | Fixed template function compile quirks under MSVC6. | Jamieson Christian | |
Apparently MSVC6 does not like overloading of template functions when the template arguments vary between versions of the overloaded function. I replaced interpolate16 with functions that have two different names, so MSVC6 won't see them as being the same function with [it insists] the same number of template arguments. svn-id: r10446 | |||
2003-09-27 | added hq2x scaler (no, I am not going to add hq4x anytime soon. It would be ↵ | Max Horn | |
another 4-5000 lines of code, and scaler.cpp already takes far too long to compile. Maybe we should seperate the scalers into several files in common/scaler/ ?) svn-id: r10438 | |||
2003-09-27 | added a FIXME (regarding optimization) to INTERPOLATE; added new template ↵ | Max Horn | |
function interpolate16 which is used by hq3x (advantage of the old trick which abused Q_INTERPOLATE: smaller & better optimized code; very easy to adapt the function for other uses, like for hq2x/hq3x. Drawback: scaler.cpp takes even longer to compile now :-) svn-id: r10433 | |||
2003-09-22 | use our own ABS instead of the math.h abs(); some tweaks | Max Horn | |
svn-id: r10363 | |||
2003-09-21 | fixed InitLUTs for 555 mode; some tweaks | Max Horn | |
svn-id: r10354 | |||
2003-09-21 | Applied ScummVM formatting conventions | Torbjörn Andersson | |
svn-id: r10349 | |||
2003-09-21 | added HQ3x filter | Max Horn | |
svn-id: r10346 | |||
2003-08-16 | Fixed aspect ratio scaler | Jochen Hoenicke | |
svn-id: r9723 | |||
2003-08-01 | #include cleanup (explicityl specify the location for headers from common/, ↵ | Max Horn | |
so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level) svn-id: r9359 | |||
2003-07-21 | Rest of patch #774556 (small optimization for aspect ratio correction) | Max Horn | |
svn-id: r9103 | |||
2003-07-19 | added TODOs; made switching between asepct modes a bit nice; made scale a ↵ | Max Horn | |
template parameter to help compile optimizations svn-id: r9074 | |||
2003-07-02 | don't default to the slowest aspect ratio correcter; rather use the medium ↵ | Max Horn | |
one (good quality with acceptable speed) svn-id: r8715 | |||
2003-06-22 | fix the inaccurate version of interpolate5Line to work correctly for odd widths | Max Horn | |
svn-id: r8628 | |||
2003-06-22 | undoing this optimization: despite my initial sureness about this being ↵ | Max Horn | |
correct - I was wrong :-) just plug in 0xFFFFFFFF to see it (roughly spoken, we can loose the uppermost bits if we shift after the addition instead of before it) svn-id: r8627 | |||
2003-06-22 | fixed warning | Paweł Kołodziejski | |
svn-id: r8623 | |||
2003-06-22 | Fixed the last (?) glitches around the mouse cursor [*] in aspect-ratio | Torbjörn Andersson | |
correction mode by making sure that dirty rects always start on a line that won't have its colours changed by the stretching function. This was probably only noticeable when using the 1x scaler. [*] Actually, the glitches weren't specific to the mouse cursor, but it was useful for triggering them. svn-id: r8621 | |||
2003-06-22 | Rearranged logic in SuperEagle | Bertrand Augereau | |
svn-id: r8620 | |||
2003-06-22 | Fix some graphics glitches that would sometimes be visible around the mouse | Torbjörn Andersson | |
cursor in aspect-ratio correction mode. svn-id: r8618 | |||
2003-06-22 | cleanup | Max Horn | |
svn-id: r8616 | |||
2003-06-22 | fixed warnings | Paweł Kołodziejski | |
svn-id: r8613 | |||
2003-06-22 | no need to keep these regression tests: the changes are mathematically and ↵ | Max Horn | |
operationally (read: taking into account side effects and special cases in computer arithmetics) equivalent to the old code svn-id: r8606 | |||
2003-06-22 | Patch #757827: Aspect-ratio correction | Max Horn | |
svn-id: r8605 | |||
2003-06-22 | Reduced the number of shifts in highly used functions in Super2xSaI and ↵ | Bertrand Augereau | |
SuperEagle svn-id: r8604 | |||
2003-06-12 | indention | Max Horn | |
svn-id: r8447 | |||
2003-06-11 | Fixed MSVC warning | Jamieson Christian | |
svn-id: r8431 | |||
2003-06-10 | cleanup | Max Horn | |
svn-id: r8429 | |||
2003-05-25 | as Bertrand points out, using && introduces unnecessary branching, so & is ↵ | Max Horn | |
better svn-id: r7979 | |||
2003-05-25 | cleanup / added some more const qualifiers | Max Horn | |
svn-id: r7975 | |||
2003-05-25 | optimized GetResult, based on code by Bertrand Augereau | Max Horn | |
svn-id: r7974 | |||
2003-05-25 | removed obsolete code | Max Horn | |
svn-id: r7973 | |||
2003-05-25 | changed scaler proc signature so that srcPtr is const (this can help ↵ | Max Horn | |
optimizer by simplifying aliasing detection; thanks to Bertrand Augereau for pointing this out) svn-id: r7939 |