digiKam
Digikam::DNGWriter::Private Class Reference

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 ()
 

Public Attributes

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

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(), and Digikam::Unknown.

◆ ~Private()

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

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

Referenced by createNegative(), and identMosaic().

◆ activeWidth

int Digikam::DNGWriter::Private::activeWidth

Referenced by createNegative(), and identMosaic().

◆ backupOriginalRawFile

bool Digikam::DNGWriter::Private::backupOriginalRawFile

◆ bayerPattern

DNGBayerPattern Digikam::DNGWriter::Private::bayerPattern

◆ cancel

◆ dngFilePath

QString Digikam::DNGWriter::Private::dngFilePath

◆ exif

dng_exif* Digikam::DNGWriter::Private::exif

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

Referenced by createNegative(), and identMosaic().

◆ height

int Digikam::DNGWriter::Private::height

◆ inputFile

QString Digikam::DNGWriter::Private::inputFile

◆ inputInfo

QFileInfo Digikam::DNGWriter::Private::inputInfo

◆ jpegLossLessCompression

bool Digikam::DNGWriter::Private::jpegLossLessCompression

◆ metaLoaded

bool Digikam::DNGWriter::Private::metaLoaded

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

◆ outputInfo

QFileInfo Digikam::DNGWriter::Private::outputInfo

Referenced by exportTarget(), and importRaw().

◆ outputWidth

int Digikam::DNGWriter::Private::outputWidth

◆ parent

DNGWriter* Digikam::DNGWriter::Private::parent

Parent class instance.

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

◆ previewMode

int Digikam::DNGWriter::Private::previewMode

◆ rawData

QByteArray Digikam::DNGWriter::Private::rawData

◆ updateFileDate

bool Digikam::DNGWriter::Private::updateFileDate

◆ width

int Digikam::DNGWriter::Private::width

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