digiKam
Digikam::DRawDecoding Class Reference

Public Member Functions

 DRawDecoding ()
 
 DRawDecoding (const DRawDecoderSettings &prm)
 
bool operator== (const DRawDecoding &other) const
 
void optimizeTimeLoading ()
 
bool postProcessingSettingsIsDirty () const
 
void resetPostProcessingSettings ()
 
void writeToFilterAction (FilterAction &action, const QString &prefix=QString()) const
 
 ~DRawDecoding ()
 

Static Public Member Functions

static void decodingSettingsFromXml (const QDomElement &elm, DRawDecoderSettings &prm)
 
static void decodingSettingsToXml (const DRawDecoderSettings &prm, QDomElement &elm)
 
static DRawDecoding fromFilterAction (const FilterAction &action, const QString &prefix=QString())
 

Public Attributes

BCGContainer bcg
 Post Processing settings -------------------------------------------------—. More...
 
CurvesContainer curvesAdjust
 
DRawDecoderSettings rawPrm
 
WBContainer wb
 

Constructor & Destructor Documentation

◆ DRawDecoding() [1/2]

Digikam::DRawDecoding::DRawDecoding ( )

Standard constructor with default settings

References resetPostProcessingSettings().

◆ DRawDecoding() [2/2]

Digikam::DRawDecoding::DRawDecoding ( const DRawDecoderSettings prm)
explicit

Copy constructor. Creates a copy of a DRawDecoderSettings object.

References resetPostProcessingSettings().

◆ ~DRawDecoding()

Digikam::DRawDecoding::~DRawDecoding ( )

Standard destructor

Member Function Documentation

◆ decodingSettingsFromXml()

void Digikam::DRawDecoding::decodingSettingsFromXml ( const QDomElement &  elm,
DRawDecoderSettings prm 
)
static

◆ decodingSettingsToXml()

void Digikam::DRawDecoding::decodingSettingsToXml ( const DRawDecoderSettings prm,
QDomElement &  elm 
)
static

Used by BQM to read/store Queue Raw decoding settings from/to configuration file

References Digikam::DRawDecoderSettings::autoBrightness, Digikam::DRawDecoderSettings::blackPoint, Digikam::DRawDecoderSettings::brightness, Digikam::DRawDecoderSettings::customWhiteBalance, Digikam::DRawDecoderSettings::customWhiteBalanceGreen, Digikam::DRawDecoderSettings::dcbEnhanceFl, Digikam::DRawDecoderSettings::dcbIterations, Digikam::DRawDecoderSettings::deadPixelMap, Digikam::DRawDecoderSettings::DontStretchPixels, Digikam::DRawDecoderSettings::enableBlackPoint, Digikam::DRawDecoderSettings::enableWhitePoint, Digikam::DRawDecoderSettings::expoCorrection, Digikam::DRawDecoderSettings::expoCorrectionHighlight, Digikam::DRawDecoderSettings::expoCorrectionShift, Digikam::DRawDecoderSettings::fixColorsHighlights, Digikam::DRawDecoderSettings::halfSizeColorImage, Digikam::DRawDecoderSettings::inputColorSpace, Digikam::DRawDecoderSettings::inputProfile, Digikam::DRawDecoderSettings::medianFilterPasses, Digikam::DRawDecoderSettings::NRThreshold, Digikam::DRawDecoderSettings::NRType, Digikam::DRawDecoderSettings::outputColorSpace, Digikam::DRawDecoderSettings::outputProfile, Digikam::DRawDecoderSettings::RAWQuality, Digikam::DRawDecoderSettings::RGBInterpolate4Colors, Digikam::DRawDecoderSettings::sixteenBitsImage, Digikam::DRawDecoderSettings::unclipColors, Digikam::DRawDecoderSettings::whiteBalance, Digikam::DRawDecoderSettings::whiteBalanceArea, and Digikam::DRawDecoderSettings::whitePoint.

Referenced by Digikam::WorkflowManager::save().

◆ fromFilterAction()

DRawDecoding Digikam::DRawDecoding::fromFilterAction ( const FilterAction action,
const QString &  prefix = QString() 
)
static

◆ operator==()

bool Digikam::DRawDecoding::operator== ( const DRawDecoding other) const

Equality operator.

References bcg, curvesAdjust, rawPrm, and wb.

◆ optimizeTimeLoading()

void Digikam::DRawDecoding::optimizeTimeLoading ( )

Method to use a settings to optimize time loading, for example to compute image histogram

References Digikam::DRawDecoderSettings::optimizeTimeLoading(), rawPrm, and resetPostProcessingSettings().

Referenced by Digikam::PreviewLoadThread::createLoadingDescription(), and Digikam::LoadingDescription::equalsOrBetterThan().

◆ postProcessingSettingsIsDirty()

bool Digikam::DRawDecoding::postProcessingSettingsIsDirty ( ) const

Method to check is a post-processing setting have been changed

References bcg, curvesAdjust, Digikam::CurvesContainer::isEmpty(), and wb.

Referenced by DigikamRAWDImgPlugin::DImgRAWLoader::postProcess().

◆ resetPostProcessingSettings()

void Digikam::DRawDecoding::resetPostProcessingSettings ( )

Method to reset to default values all Raw processing settings.

References bcg, curvesAdjust, and wb.

Referenced by DRawDecoding(), optimizeTimeLoading(), and DigikamRawImportNativePlugin::RawPreview::setDecodingSettings().

◆ writeToFilterAction()

Member Data Documentation

◆ bcg

BCGContainer Digikam::DRawDecoding::bcg

◆ curvesAdjust

◆ rawPrm

◆ wb


The documentation for this class was generated from the following files: