aboutsummaryrefslogtreecommitdiff
path: root/common/scaler/hq2x.cpp
AgeCommit message (Collapse)Author
2003-10-02fix 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-10-01move INTERPOLATE / Q_INTERPOLATE to intern.h; remove some jumps (pipelin ↵Max Horn
trashers I call 'em :-) from diffYUV svn-id: r10523
2003-10-01instead of using a stack array, use regular variables (marked with the ↵Max Horn
register keyword to hint the optimizer) for the color data. At least over here this helps the optimizer *A LOT* - instead of keeping w[] on the stack, on the PowerPC all values stay in registers, for a nice speed boost. Shouldn't hurt x86 either svn-id: r10522
2003-09-30added some AltiVec code. Still under development, and notice that this is my ↵Max Horn
first time writing AltiVec code, so I am sure it could be done better :-). I am working on the interpolation function now. svn-id: r10508
2003-09-29synced 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-29templatized more of the scalers; also introduced template struct ColorMasks ↵Max Horn
(shortens/simplifies other code a bit) svn-id: r10489
2003-09-29split 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