/usr/include/libkdcraw/dcrawinfocontainer.h is in libkdcraw-dev 4:4.8.2-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 | /** ===========================================================
* @file
*
* This file is a part of digiKam project
* <a href="http://www.digikam.org">http://www.digikam.org</a>
*
* @date 2007-05-02
* @brief RAW file identification information container
*
* @author Copyright (C) 2007-2011 by Gilles Caulier
* <a href="mailto:caulier dot gilles at gmail dot com">caulier dot gilles at gmail dot com</a>
*
* This program is free software; you can redistribute it
* and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation;
* either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* ============================================================ */
#ifndef DCRAW_INFO_CONTAINER_H
#define DCRAW_INFO_CONTAINER_H
// Qt includes.
#include <QtCore/QString>
#include <QtCore/QDateTime>
#include <QtCore/QSize>
#include <QtCore/QDebug>
// Local includes.
#include "libkdcraw_export.h"
namespace KDcrawIface
{
class LIBKDCRAW_EXPORT DcrawInfoContainer
{
public:
/** The RAW image orientation values
*/
enum ImageOrientation
{
ORIENTATION_NONE = 0,
ORIENTATION_180 = 3,
ORIENTATION_Mirror90CCW = 4,
ORIENTATION_90CCW = 5,
ORIENTATION_90CW = 6
};
public:
/** Standard constructor */
DcrawInfoContainer();
/** Standard destructor */
virtual ~DcrawInfoContainer();
/** Return 'true' if container is empty, else 'false' */
bool isEmpty();
public:
/** True if RAW file include an ICC color profile. */
bool hasIccProfile;
/** True is RAW file is decodable by dcraw. */
bool isDecodable;
/** The number of RAW colors. */
int rawColors;
/** The number of RAW images. */
int rawImages;
/** Black level from Raw histogram. */
unsigned int blackPoint;
/** Channel black levels from Raw histogram. */
unsigned int blackPointCh[8];
/** White level from Raw histogram. */
unsigned int whitePoint;
/** Top margin of raw image. */
unsigned int topMargin;
/** Left margin of raw image. */
unsigned int leftMargin;
unsigned int KDE_DEPRECATED rightMargin;
unsigned int KDE_DEPRECATED bottomMargin;
/** The raw image orientation */
ImageOrientation orientation;
/** The sensitivity in ISO used by camera to take the picture. */
float sensitivity;
/** ==> 1/exposureTime = exposure time in seconds. */
float exposureTime;
/** ==> Aperture value in APEX. */
float aperture;
/** ==> Focal Length value in mm. */
float focalLength;
/** The pixel Aspect Ratio if != 1.0. NOTE: if == 1.0, dcraw do not show this value. */
float pixelAspectRatio;
/** White color balance settings. */
double daylightMult[3];
/** Camera multipliers used for White Balance adjustments */
double cameraMult[4];
/** Camera Color Matrix */
float cameraColorMatrix1[3][4];
float cameraColorMatrix2[3][4];
float cameraXYZMatrix[4][3];
/** The used Color Keys */
QString colorKeys;
/** The camera maker. */
QString make;
/** The camera model. */
QString model;
/** The artist name who have picture owner. */
QString owner;
/** The demosaising filter pattern. */
QString filterPattern;
/** The DNG version. NOTE: it is only shown with DNG RAW files. */
QString DNGVersion;
/** Date & time when the picture has been taken. */
QDateTime dateTime;
/** The image dimensions in pixels. */
QSize imageSize;
/** The thumb dimensions in pixels. */
QSize thumbSize;
/** The full RAW image dimensions in pixels. */
QSize fullSize;
/** The output dimensions in pixels. */
QSize outputSize;
};
//! kDebug() stream operator. Writes container @a c to the debug output in a nicely formatted way.
LIBKDCRAW_EXPORT QDebug operator<<(QDebug dbg, const DcrawInfoContainer& c);
} // namespace KDcrawIface
#endif /* DCRAW_INFO_CONTAINER_H */
|