Revision 929fc4c...

Go back to digest for 6th January 2013

Features in Office

Dmitry Kazakov committed changes in [calligra/krita-fixed-transform-kazakov] /image:

Connected the new implementation of the transformations to KisTransformWorker

Some highlights:
1) The new implementation gives much better transformation quality,
because it calculates correct offsets inside the pixel. The comparison
of the images can be found on page [0]
2) The rotation is now 2-pass instead of 3-pass it used before. There is
almost no difference in quality (I'm not sure that initially the third
pass was introduced for quality reasons). This speeds up the rotation
by 40%.
3) Some fast-path optimizations are done for the pure shear operations,
which make up to two times better performance.
4) Implemented a simple wrapper for the progress updates
(ProgressUpdateHelper)


[0] - http://krita.org/item/126-focus-on-transformations

File Changes

Modified 8 files
  • /image
  •   krita/kis_filter_weights_applicator.h
  •   krita/kis_transform_visitor.h
  •   krita/kis_transform_worker.cc
  •   krita/kis_transform_worker.h
  •   krita/processing/kis_transform_processing_visitor.cpp
  •   krita/tests/kis_filter_weights_applicator_test.cpp
  •   krita/tests/kis_transform_worker_test.cpp
  •   krita/tests/kis_transform_worker_test.h
8 files changed in total