Partially solving issue 1788: "Crashing during processing of queue"
It also correct a bug of wrong image orientation (was wrong in the File Browser while good in the Editor tab) This patch also introduce several speed optimizations like: - switch between File Browser and Editor tab in Single Editor mode - asynchronous computation of the Batch Queue's thumbnails - quick start of RT even with a huge queue - less GUI overhead when applying a profile to multiple thumbs in the File Browser
This commit is contained in:
@@ -26,7 +26,8 @@
|
||||
class BQEntryUpdateListener {
|
||||
|
||||
public:
|
||||
virtual void updateImage (guint8* img, int w, int h) {}
|
||||
virtual ~BQEntryUpdateListener () {}
|
||||
virtual void updateImage (guint8* img, int w, int h, int origw, int origh, guint8* newOPreview) {}
|
||||
};
|
||||
|
||||
class BatchQueueEntryUpdater {
|
||||
@@ -35,6 +36,8 @@ class BatchQueueEntryUpdater {
|
||||
guint8* oimg;
|
||||
int ow, oh, newh;
|
||||
BQEntryUpdateListener* listener;
|
||||
rtengine::ProcParams* pparams;
|
||||
Thumbnail* thumbnail;
|
||||
};
|
||||
|
||||
protected:
|
||||
@@ -47,7 +50,7 @@ class BatchQueueEntryUpdater {
|
||||
public:
|
||||
BatchQueueEntryUpdater ();
|
||||
|
||||
void process (guint8* oimg, int ow, int oh, int newh, BQEntryUpdateListener* listener);
|
||||
void process (guint8* oimg, int ow, int oh, int newh, BQEntryUpdateListener* listener, rtengine::ProcParams* pparams=NULL, Thumbnail* thumbnail=NULL);
|
||||
void removeJobs (BQEntryUpdateListener* listener);
|
||||
void terminate ();
|
||||
|
||||
|
Reference in New Issue
Block a user