aboutsummaryrefslogtreecommitdiff
path: root/common/scaler/hq3x.cpp
AgeCommit message (Collapse)Author
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2003-12-05rewrote hq2x/hq3x code so that we can compile both the altivec and plain C ↵Max Horn
version; on OSX, this will only use the altivec code if altivec is actually present svn-id: r11504
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-01sync with hq2x (in particular, use my Altivec code here, tooMax Horn
svn-id: r10529
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-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