Merge branch 'dev' into metadata-exiv2
- Rating (#5325) not yet implemented
This commit is contained in:
@@ -14,23 +14,28 @@
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with RawTherapee. If not, see <http://www.gnu.org/licenses/>.
|
||||
* along with RawTherapee. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef _RTENGINE_
|
||||
#define _RTENGINE_
|
||||
#pragma once
|
||||
|
||||
#include "imageformat.h"
|
||||
#include "rt_math.h"
|
||||
#include "procevents.h"
|
||||
#include <lcms2.h>
|
||||
#include <string>
|
||||
#include <glibmm.h>
|
||||
#include <array>
|
||||
#include <ctime>
|
||||
#include <string>
|
||||
|
||||
#include <glibmm.h>
|
||||
|
||||
#include <lcms2.h>
|
||||
|
||||
#include "iimage.h"
|
||||
#include "utils.h"
|
||||
#include "../rtgui/threadutils.h"
|
||||
#include "settings.h"
|
||||
#include "imageformat.h"
|
||||
#include "LUT.h"
|
||||
#include "procevents.h"
|
||||
#include "rt_math.h"
|
||||
#include "settings.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include "../rtgui/threadutils.h"
|
||||
|
||||
/**
|
||||
* @file
|
||||
* This file contains the main functionality of the RawTherapee engine.
|
||||
@@ -109,6 +114,8 @@ public:
|
||||
virtual std::string getLens() const = 0;
|
||||
/** @return the orientation of the image */
|
||||
virtual std::string getOrientation() const = 0;
|
||||
/** @return the rating of the image */
|
||||
virtual int getRating () const = 0;
|
||||
|
||||
/** @return true if the file is a PixelShift shot (Pentax and Sony bodies) */
|
||||
virtual bool getPixelShift () const = 0;
|
||||
@@ -385,6 +392,13 @@ public :
|
||||
virtual void autoContrastChanged (double autoContrast) = 0;
|
||||
};
|
||||
|
||||
class AutoRadiusListener
|
||||
{
|
||||
public :
|
||||
virtual ~AutoRadiusListener() = default;
|
||||
virtual void autoRadiusChanged (double autoRadius) = 0;
|
||||
};
|
||||
|
||||
class WaveletListener
|
||||
{
|
||||
public:
|
||||
@@ -477,6 +491,7 @@ public:
|
||||
virtual bool getAutoWB (double& temp, double& green, double equal, double tempBias) = 0;
|
||||
virtual void getCamWB (double& temp, double& green) = 0;
|
||||
virtual void getSpotWB (int x, int y, int rectSize, double& temp, double& green) = 0;
|
||||
virtual bool getFilmNegativeExponents(int xA, int yA, int xB, int yB, std::array<float, 3>& newExps) = 0;
|
||||
virtual void getAutoCrop (double ratio, int &x, int &y, int &w, int &h) = 0;
|
||||
|
||||
virtual void saveInputICCReference (const Glib::ustring& fname, bool apply_wb) = 0;
|
||||
@@ -492,6 +507,8 @@ public:
|
||||
virtual void setFrameCountListener (FrameCountListener* l) = 0;
|
||||
virtual void setBayerAutoContrastListener (AutoContrastListener* l) = 0;
|
||||
virtual void setXtransAutoContrastListener (AutoContrastListener* l) = 0;
|
||||
virtual void setpdSharpenAutoContrastListener (AutoContrastListener* l) = 0;
|
||||
virtual void setpdSharpenAutoRadiusListener (AutoRadiusListener* l) = 0;
|
||||
virtual void setAutoBWListener (AutoBWListener* l) = 0;
|
||||
virtual void setAutoWBListener (AutoWBListener* l) = 0;
|
||||
virtual void setAutoColorTonListener (AutoColorTonListener* l) = 0;
|
||||
@@ -504,7 +521,7 @@ public:
|
||||
virtual void getMonitorProfile (Glib::ustring& monitorProfile, RenderingIntent& intent) const = 0;
|
||||
virtual void setSoftProofing (bool softProof, bool gamutCheck) = 0;
|
||||
virtual void getSoftProofing (bool &softProof, bool &gamutCheck) = 0;
|
||||
virtual void setSharpMask (bool sharpMask) = 0;
|
||||
virtual ProcEvent setSharpMask (bool sharpMask) = 0;
|
||||
|
||||
virtual ~StagedImageProcessor () {}
|
||||
|
||||
@@ -590,6 +607,3 @@ void startBatchProcessing (ProcessingJob* job, BatchProcessingListener* bpl);
|
||||
|
||||
extern MyMutex* lcmsMutex;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user