digiKam
Loading...
Searching...
No Matches
Digikam::DNGWriter::Private Class Reference

#include <dngwriter_p.h>

Public Types

enum  DNGBayerPattern {
  Unknown = 1 , LinearRaw , Standard , Fuji ,
  Fuji6x6 , FourColor
}
 

Public Member Functions

int backupRaw (DNGWriterHost &host, AutoPtr< dng_negative > &negative)
 
void cleanup ()
 
int createNegative (AutoPtr< dng_negative > &negative, DRawInfo *const identify)
 
int debugExtractedRAWData (const QByteArray &rawData)
 
QString dngBayerPatternToString (int pattern) const
 
dng_date_time dngDateTime (const QDateTime &qDT) const
 
QString dngErrorCodeToString (int errorCode) const
 
int exifToolPostProcess ()
 
int exportTarget (DNGWriterHost &host, AutoPtr< dng_negative > &negative, AutoPtr< dng_image > &image)
 
bool fujiRotate (QByteArray &rawData, DRawInfo &identify) const
 
int identMosaic (DRawInfo *const identify, DRawInfo *const identifyMake)
 
int importRaw (DRawInfo *const identify, DRawInfo *const identifyMake)
 
 Private (DNGWriter *const dd)
 
void reset ()
 
int storeExif (DNGWriterHost &host, AutoPtr< dng_negative > &negative, DRawInfo *const identify, DRawInfo *const identifyMake, DMetadata *const meta)
 
int storeMakernote (DNGWriterHost &host, AutoPtr< dng_negative > &negative, DRawInfo *const identify, DRawInfo *const identifyMake, DMetadata *const meta)
 
int storeXmp (DNGWriterHost &host, AutoPtr< dng_negative > &negative, DRawInfo *const identify, DRawInfo *const identifyMake, DMetadata *const meta)
 
 ~Private ()=default
 

Public Attributes

dng_rect activeArea
 
int activeHeight = 0
 
int activeWidth = 0
 
bool backupOriginalRawFile = false
 
DNGBayerPattern bayerPattern = Unknown
 
bool cancel = false
 
QString dngFilePath
 
dng_exif * exif = nullptr
 Instance to Exif DNG SDK container.
 
QDateTime fileDate
 
uint32 filter = 0
 
int height = 0
 
QString inputFile
 
QFileInfo inputInfo
 
bool jpegLossLessCompression = true
 
bool metaLoaded = false
 Set to true if metadata are properly loaded at Exif stage.
 
dng_date_time_info orgDateTimeInfo
 
QString outputFile
 
int outputHeight = 0
 
QFileInfo outputInfo
 
int outputWidth = 0
 
DNGWriterparent = nullptr
 Parent class instance.
 
int previewMode = DNGWriter::FULL_SIZE
 
QByteArray rawData
 
bool updateFileDate = false
 
int width = 0
 

Member Enumeration Documentation

◆ DNGBayerPattern

Enumerator
Unknown 
LinearRaw 
Standard 
Fuji 
Fuji6x6 
FourColor 

Constructor & Destructor Documentation

◆ Private()

Digikam::DNGWriter::Private::Private ( DNGWriter *const  dd)
explicit

References reset().

◆ ~Private()

Digikam::DNGWriter::Private::~Private ( )
default

Member Function Documentation

◆ backupRaw()

◆ cleanup()

void Digikam::DNGWriter::Private::cleanup ( )

◆ createNegative()

◆ debugExtractedRAWData()

int Digikam::DNGWriter::Private::debugExtractedRAWData ( const QByteArray &  rawData)

Code to hack RAW data extraction.

References Digikam::DNGWriter::PROCESS_CONTINUE, and Digikam::DNGWriter::PROCESS_FAILED.

◆ dngBayerPatternToString()

QString Digikam::DNGWriter::Private::dngBayerPatternToString ( int  pattern) const

Referenced by createNegative().

◆ dngDateTime()

dng_date_time Digikam::DNGWriter::Private::dngDateTime ( const QDateTime &  qDT) const

Referenced by storeExif().

◆ dngErrorCodeToString()

QString Digikam::DNGWriter::Private::dngErrorCodeToString ( int  errorCode) const

◆ exifToolPostProcess()

◆ exportTarget()

◆ fujiRotate()

bool Digikam::DNGWriter::Private::fujiRotate ( QByteArray &  rawData,
DRawInfo identify 
) const

◆ identMosaic()

◆ importRaw()

◆ reset()

◆ storeExif()

◆ storeMakernote()

int Digikam::DNGWriter::Private::storeMakernote ( DNGWriterHost host,
AutoPtr< dng_negative > &  negative,
DRawInfo *const  identify,
DRawInfo *const  identifyMake,
DMetadata *const  meta 
)

◆ storeXmp()

int Digikam::DNGWriter::Private::storeXmp ( DNGWriterHost host,
AutoPtr< dng_negative > &  negative,
DRawInfo *const  identify,
DRawInfo *const  identifyMake,
DMetadata *const  meta 
)

Member Data Documentation

◆ activeArea

dng_rect Digikam::DNGWriter::Private::activeArea

Referenced by createNegative(), and identMosaic().

◆ activeHeight

int Digikam::DNGWriter::Private::activeHeight = 0

Referenced by createNegative(), and identMosaic().

◆ activeWidth

int Digikam::DNGWriter::Private::activeWidth = 0

Referenced by createNegative(), and identMosaic().

◆ backupOriginalRawFile

bool Digikam::DNGWriter::Private::backupOriginalRawFile = false

◆ bayerPattern

DNGBayerPattern Digikam::DNGWriter::Private::bayerPattern = Unknown

◆ cancel

◆ dngFilePath

QString Digikam::DNGWriter::Private::dngFilePath

◆ exif

dng_exif* Digikam::DNGWriter::Private::exif = nullptr

Instance to Exif DNG SDK container.

Referenced by Digikam::DNGWriter::convert(), and storeExif().

◆ fileDate

QDateTime Digikam::DNGWriter::Private::fileDate

Referenced by exportTarget(), and storeExif().

◆ filter

uint32 Digikam::DNGWriter::Private::filter = 0

Referenced by createNegative(), and identMosaic().

◆ height

int Digikam::DNGWriter::Private::height = 0

◆ inputFile

QString Digikam::DNGWriter::Private::inputFile

◆ inputInfo

QFileInfo Digikam::DNGWriter::Private::inputInfo

◆ jpegLossLessCompression

bool Digikam::DNGWriter::Private::jpegLossLessCompression = true

◆ metaLoaded

bool Digikam::DNGWriter::Private::metaLoaded = false

Set to true if metadata are properly loaded at Exif stage.

Referenced by storeExif(), storeMakernote(), and storeXmp().

◆ orgDateTimeInfo

dng_date_time_info Digikam::DNGWriter::Private::orgDateTimeInfo

Referenced by exportTarget(), and storeExif().

◆ outputFile

QString Digikam::DNGWriter::Private::outputFile

◆ outputHeight

int Digikam::DNGWriter::Private::outputHeight = 0

◆ outputInfo

QFileInfo Digikam::DNGWriter::Private::outputInfo

Referenced by exportTarget(), and importRaw().

◆ outputWidth

int Digikam::DNGWriter::Private::outputWidth = 0

◆ parent

DNGWriter* Digikam::DNGWriter::Private::parent = nullptr

Parent class instance.

Referenced by backupRaw(), importRaw(), and storeExif().

◆ previewMode

int Digikam::DNGWriter::Private::previewMode = DNGWriter::FULL_SIZE

◆ rawData

QByteArray Digikam::DNGWriter::Private::rawData

◆ updateFileDate

bool Digikam::DNGWriter::Private::updateFileDate = false

◆ width

int Digikam::DNGWriter::Private::width = 0

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