diff options
author | george82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2007-11-04 07:35:51 +0000 |
---|---|---|
committer | george82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2007-11-04 07:35:51 +0000 |
commit | 3a1982ec933f268d68bf6840d4f30907acb92322 (patch) | |
tree | f4a3e31c71195aa846f0f8dfb7cd3c30f84f3a00 /win | |
parent | 781226697c3d3b840cc397dde763b8d91d492006 (diff) | |
download | tigervnc-3a1982ec933f268d68bf6840d4f30907acb92322.tar.gz tigervnc-3a1982ec933f268d68bf6840d4f30907acb92322.zip |
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
Diffstat (limited to 'win')
-rw-r--r-- | win/rfb_win32/ScaledDIBSectionBuffer.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win/rfb_win32/ScaledDIBSectionBuffer.cxx b/win/rfb_win32/ScaledDIBSectionBuffer.cxx index fc63b21b..f607d348 100644 --- a/win/rfb_win32/ScaledDIBSectionBuffer.cxx +++ b/win/rfb_win32/ScaledDIBSectionBuffer.cxx @@ -84,6 +84,7 @@ void ScaledDIBSectionBuffer::setSize(int src_width_, int src_height_) { // FIXME: // Calculate the scale weight tabs must be in the ScalePixelBuffer class + recreateRowAccum(); freeWeightTabs(); calculateScaledBufferSize(); scaleFilters.makeWeightTabs(scaleFilterID, src_width, scaled_width, &xWeightTabs); |