[Digikam-devel] extragear/graphics/digikam
Marcel Wiesweg
marcel.wiesweg at gmx.de
Tue Jan 3 23:13:11 GMT 2006
SVN commit 494037 by mwiesweg:
digikam from trunk: Threaded image loading
- Fix LoadSaveThread
- Add a class DImgLoaderObserver which allows communication with the loading/saving in a different thread:
- progress info
- stopping hooks to abort the loading/saving process
- Add a class ManagedLoadSaveThread which manages the tasks in its queue and allows preloading.
To achieve this, it uses the stopping capabilities in the loaders
- Added progress info and stopping to JPEG, PNG, TIFF, PNG loaders, added progress info to raw loader.
QImage loader does not support this.
- Use new ManagedLoadSaveThread and connect progress info to histogram tab
TODO:
- add preloading to DImgInterface and thus to IE and showfoto
CCMAIL: digikam-devel at kde.org
M +16 -15 libs/dimg/dimg.cpp
M +6 -6 libs/dimg/dimg.h
M +11 -0 libs/dimg/dimgloader.cpp
M +5 -2 libs/dimg/dimgloader.h
A libs/dimg/dimgloaderobserver.h [License: GPL]
M +78 -2 libs/dimg/loaders/jpegloader.cpp
M +2 -2 libs/dimg/loaders/jpegloader.h
M +69 -8 libs/dimg/loaders/pngloader.cpp
M +2 -2 libs/dimg/loaders/pngloader.h
M +40 -16 libs/dimg/loaders/ppmloader.cpp
M +2 -2 libs/dimg/loaders/ppmloader.h
M +21 -4 libs/dimg/loaders/qimageloader.cpp
M +2 -2 libs/dimg/loaders/qimageloader.h
M +64 -28 libs/dimg/loaders/rawloader.cpp
M +4 -4 libs/dimg/loaders/rawloader.h
M +129 -6 libs/dimg/loaders/tiffloader.cpp
M +2 -2 libs/dimg/loaders/tiffloader.h
M +24 -14 libs/imageproperties/imagepropertieshistogramtab.cpp
M +3 -2 libs/imageproperties/imagepropertieshistogramtab.h
M +432 -28 libs/threadimageio/loadsavethread.cpp
M +108 -13 libs/threadimageio/loadsavethread.h
M +16 -2 libs/widgets/histogramwidget.cpp
M +3 -0 libs/widgets/histogramwidget.h
M +1 -1 utilities/imageeditor/canvas/dimginterface.cpp
More information about the Digikam-devel
mailing list