17#include "digikam_config.h"
37#include "libraw_version.h"
38#include "libraw_config.h"
42#if !defined(Q_OS_DARWIN) && defined(Q_CC_GNU)
43# pragma GCC diagnostic push
44# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
47#if defined(Q_CC_CLANG)
48# pragma clang diagnostic push
49# pragma clang diagnostic ignored "-Wdeprecated-declarations"
50# pragma clang diagnostic ignored "-Wundef"
51# pragma clang diagnostic ignored "-Wdeprecated-register"
52# pragma clang diagnostic ignored "-Wmacro-redefined"
60#if !defined(Q_OS_DARWIN) && defined(Q_CC_GNU)
61# pragma GCC diagnostic pop
64#if defined(Q_CC_CLANG)
65# pragma clang diagnostic pop
87 int progressCallback(
enum LibRaw_progress p,
int iteration,
int expected);
88 void exifParserCallback(
int tag,
int type,
int len,
unsigned int ord,
void* ifp, INT64 base);
90 void setProgress(
double value);
91 double progressValue()
const;
93 bool loadFromLibraw(
const QString& filePath, QByteArray& imageData,
94 int& width,
int& height,
int& rgbmax);
98 static void createPPMHeader(QByteArray& imgData, libraw_processed_image_t*
const img);
100 static void fillIndentifyInfo(LibRaw*
const raw,
DRawInfo& identify);
102 static bool loadEmbeddedPreview(QByteArray&, LibRaw*
const raw);
104 static bool loadHalfPreview(QImage&, LibRaw*
const raw,
bool rotate =
true);
108 double m_progress = 0.0;
Definition drawdecoder_p.h:78
Definition drawdecoder.h:40
qulonglong value
Definition itemviewutilities.cpp:585
Definition datefolderview.cpp:34
int s_progressCallbackForLibRaw(void *context, enum LibRaw_progress p, int iteration, int expected)
Definition drawdecoder_p.cpp:35
void s_exifParserCallbackForLibRaw(void *context, int tag, int type, int len, unsigned int ord, void *ifp, INT64 base)
Definition drawdecoder_p.cpp:47