24 #ifndef DIGIKAM_DRAW_DECODER_PRIVATE_H
25 #define DIGIKAM_DRAW_DECODER_PRIVATE_H
27 #include "digikam_config.h"
34 #if !defined(Q_OS_DARWIN) && defined(Q_CC_GNU)
35 # pragma GCC diagnostic push
36 # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
39 #if defined(Q_CC_CLANG)
40 # pragma clang diagnostic push
41 # pragma clang diagnostic ignored "-Wdeprecated-declarations"
42 # pragma clang diagnostic ignored "-Wundef"
43 # pragma clang diagnostic ignored "-Wdeprecated-register"
44 # pragma clang diagnostic ignored "-Wmacro-redefined"
52 #if !defined(Q_OS_DARWIN) && defined(Q_CC_GNU)
53 # pragma GCC diagnostic pop
56 #if defined(Q_CC_CLANG)
57 # pragma clang diagnostic pop
84 int progressCallback(
enum LibRaw_progress p,
int iteration,
int expected);
85 void exifParserCallback(
int tag,
int type,
int len,
unsigned int ord,
void* ifp, INT64 base);
87 void setProgress(
double value);
88 double progressValue()
const;
90 bool loadFromLibraw(
const QString& filePath, QByteArray& imageData,
91 int& width,
int& height,
int& rgbmax);
95 static void createPPMHeader(QByteArray& imgData, libraw_processed_image_t*
const img);
97 static void fillIndentifyInfo(LibRaw*
const raw,
DRawInfo& identify);
99 static bool loadEmbeddedPreview(QByteArray&, LibRaw*
const raw);
101 static bool loadHalfPreview(QImage&, LibRaw*
const raw);
Definition: drawdecoder_p.h:75
Definition: drawdecoder.h:50
Definition: drawinfo.h:47
qulonglong value
Definition: itemviewutilities.cpp:592
Definition: datefolderview.cpp:43
int s_progressCallbackForLibRaw(void *context, enum LibRaw_progress p, int iteration, int expected)
Definition: drawdecoder_p.cpp:47
void s_exifParserCallbackForLibRaw(void *context, int tag, int type, int len, unsigned int ord, void *ifp, INT64 base)
Definition: drawdecoder_p.cpp:59