• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegraphics API Reference
  • KDE Home
  • Contact Us
 

libs/libkdcraw/libkdcraw

  • sources
  • kde-4.14
  • kdegraphics
  • libs
  • libkdcraw
  • libkdcraw
kdcraw_p.h
Go to the documentation of this file.
1 
26 #ifndef KDCRAWPRIVATE_H
27 #define KDCRAWPRIVATE_H
28 
29 // Qt includes
30 
31 #include <QByteArray>
32 
33 // KDE includes
34 
35 #include <kdebug.h>
36 
37 // LibRaw includes
38 
39 #include <libraw.h>
40 
41 // Local includes
42 
43 #include "dcrawinfocontainer.h"
44 
45 namespace KDcrawIface
46 {
47 
48 class KDcraw;
49 
50 extern "C"
51 {
52  int callbackForLibRaw(void* data, enum LibRaw_progress p, int iteration, int expected);
53 }
54 
55 class KDcraw::Private
56 {
57 
58 public:
59 
60  Private(KDcraw* const p);
61  ~Private();
62 
63 public:
64 
65  int progressCallback(enum LibRaw_progress p, int iteration, int expected);
66 
67  void setProgress(double value);
68  double progressValue() const;
69 
70  bool loadFromLibraw(const QString& filePath, QByteArray& imageData,
71  int& width, int& height, int& rgbmax);
72 
73 public:
74 
75  static void createPPMHeader(QByteArray& imgData, libraw_processed_image_t* const img);
76 
77  static void fillIndentifyInfo(LibRaw* const raw, DcrawInfoContainer& identify);
78 
79  static bool loadEmbeddedPreview(QByteArray&, LibRaw&);
80 
81  static bool loadHalfPreview(QImage&, LibRaw&);
82 
83 private:
84 
85  double m_progress;
86 
87  KDcraw* m_parent;
88 
89  friend class KDcraw;
90 };
91 
92 } // namespace KDcrawIface
93 
94 #endif /* KDCRAWPRIVATE_H */
KDcrawIface::KDcraw::Private::progressValue
double progressValue() const
KDcrawIface::KDcraw::Private::~Private
~Private()
KDcrawIface::KDcraw::Private
Definition: kdcraw_p.h:55
QByteArray
KDcrawIface::KDcraw::Private::Private
Private(KDcraw *const p)
KDcrawIface::KDcraw::Private::loadHalfPreview
static bool loadHalfPreview(QImage &, LibRaw &)
KDcrawIface::KDcraw::Private::loadEmbeddedPreview
static bool loadEmbeddedPreview(QByteArray &, LibRaw &)
KDcrawIface::callbackForLibRaw
int callbackForLibRaw(void *data, enum LibRaw_progress p, int iteration, int expected)
KDcrawIface::DcrawInfoContainer
Definition: dcrawinfocontainer.h:43
KDcrawIface::KDcraw::Private::fillIndentifyInfo
static void fillIndentifyInfo(LibRaw *const raw, DcrawInfoContainer &identify)
KDcrawIface::KDcraw::Private::setProgress
void setProgress(double value)
dcrawinfocontainer.h
===========================================================This file is a part of digiKam project htt...
QString
QImage
KDcrawIface::KDcraw::Private::progressCallback
int progressCallback(enum LibRaw_progress p, int iteration, int expected)
KDcrawIface::KDcraw::Private::loadFromLibraw
bool loadFromLibraw(const QString &filePath, QByteArray &imageData, int &width, int &height, int &rgbmax)
KDcrawIface::KDcraw
Definition: kdcraw.h:55
KDcrawIface::KDcraw::Private::createPPMHeader
static void createPPMHeader(QByteArray &imgData, libraw_processed_image_t *const img)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libs/libkdcraw/libkdcraw

Skip menu "libs/libkdcraw/libkdcraw"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal