Reduce rawimage.h dependencies
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "rtengine.h"
|
||||
#include "imagefloat.h"
|
||||
#include "rawimage.h"
|
||||
#include "rawimagesource.h"
|
||||
#include "rawimagesource_i.h"
|
||||
#include "jaggedarray.h"
|
||||
@@ -501,6 +502,26 @@ RawImageSource::~RawImageSource ()
|
||||
}
|
||||
}
|
||||
|
||||
unsigned RawImageSource::FC(int row, int col) const
|
||||
{
|
||||
return ri->FC(row, col);
|
||||
}
|
||||
|
||||
eSensorType RawImageSource::getSensorType () const
|
||||
{
|
||||
return ri != nullptr ? ri->getSensorType() : ST_NONE;
|
||||
}
|
||||
|
||||
bool RawImageSource::isMono() const
|
||||
{
|
||||
return ri->get_colors() == 1;
|
||||
}
|
||||
|
||||
int RawImageSource::getRotateDegree() const
|
||||
{
|
||||
return ri->get_rotateDegree();
|
||||
}
|
||||
|
||||
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
void RawImageSource::transformRect (const PreviewProps &pp, int tran, int &ssx1, int &ssy1, int &width, int &height, int &fw)
|
||||
|
Reference in New Issue
Block a user