Powerful ScaledPixelBuffer class code improvements - at 10x increased scale performance due to
using the row accumulators. The row accumulators keep result of the convolution of the source image by y axis.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2364 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/win/rfb_win32/ScaledDIBSectionBuffer.cxx b/win/rfb_win32/ScaledDIBSectionBuffer.cxx
index fc63b21..f607d34 100644
--- a/win/rfb_win32/ScaledDIBSectionBuffer.cxx
+++ b/win/rfb_win32/ScaledDIBSectionBuffer.cxx
@@ -84,6 +84,7 @@
// FIXME:
// Calculate the scale weight tabs must be in the ScalePixelBuffer class
+ recreateRowAccum();
freeWeightTabs();
calculateScaledBufferSize();
scaleFilters.makeWeightTabs(scaleFilterID, src_width, scaled_width, &xWeightTabs);