digiKam
|
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 |
Digikam::DRawDecoding::DRawDecoding | ( | ) |
Standard constructor with default settings
References resetPostProcessingSettings().
|
explicit |
Copy constructor. Creates a copy of a DRawDecoderSettings object.
References resetPostProcessingSettings().
Digikam::DRawDecoding::~DRawDecoding | ( | ) |
Standard destructor
|
static |
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::load().
|
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().
|
static |
bool Digikam::DRawDecoding::operator== | ( | const DRawDecoding & | other | ) | const |
Equality operator.
References bcg, curvesAdjust, rawPrm, and wb.
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().
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().
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().
void Digikam::DRawDecoding::writeToFilterAction | ( | FilterAction & | action, |
const QString & | prefix = QString() |
||
) | const |
References bcg, curvesAdjust, Digikam::BCGContainer::isDefault(), Digikam::WBContainer::isDefault(), Digikam::CurvesContainer::isEmpty(), prefix, rawPrm, wb, Digikam::BCGContainer::writeToFilterAction(), Digikam::CurvesContainer::writeToFilterAction(), and Digikam::WBContainer::writeToFilterAction().
Referenced by Digikam::RawProcessingFilter::filterAction().
BCGContainer Digikam::DRawDecoding::bcg |
Post Processing settings -------------------------------------------------—.
BCG correction values.
Referenced by Digikam::RawProcessingFilter::filterImage(), fromFilterAction(), operator==(), postProcessingSettingsIsDirty(), resetPostProcessingSettings(), DigikamRawImportNativePlugin::RawSettingsBox::settings(), and writeToFilterAction().
CurvesContainer Digikam::DRawDecoding::curvesAdjust |
DRawDecoderSettings Digikam::DRawDecoding::rawPrm |
All Raw decoding settings provided by RawEngine.
Referenced by Digikam::EditorWindow::applyIOSettings(), Digikam::LoadingDescription::cacheKey(), Digikam::PreviewLoadThread::createLoadingDescription(), DigikamRAWDImgPlugin::DImgRAWLoader::DImgRAWLoader(), fromFilterAction(), Digikam::LoadingDescription::isReducedVersion(), Digikam::LoadingDescription::lookupCacheKeys(), operator==(), optimizeTimeLoading(), and writeToFilterAction().
WBContainer Digikam::DRawDecoding::wb |
White Balance correction values.
Referenced by Digikam::RawProcessingFilter::filterImage(), fromFilterAction(), operator==(), postProcessingSettingsIsDirty(), resetPostProcessingSettings(), DigikamRawImportNativePlugin::RawSettingsBox::settings(), and writeToFilterAction().