56
57
/** Standard constructor */
63
pixelAspectRatio = 1.0; // Default value. This can be unavailable (depending of camera model).
66
hasIccProfile = false;
68
hasSecondaryPixel = false;
69
daylightMult[0] = 0.0;
70
daylightMult[1] = 0.0;
71
daylightMult[2] = 0.0;
80
orientation = ORIENTATION_NONE;
82
for (int x=0 ; x<3 ; x++)
84
for (int y=0 ; y<4 ; y++)
86
cameraColorMatrix1[x][y] = 0.0;
87
cameraColorMatrix2[x][y] = 0.0;
88
cameraXYZMatrix[x][y] = 0.0;
93
60
/** Standard destructor */
94
virtual ~DcrawInfoContainer(){}
96
/** return 'true' if container is empty, else 'false' */
99
if ( make.isEmpty() &&
101
filterPattern.isEmpty() &&
102
DNGVersion.isEmpty() &&
103
exposureTime == -1.0 &&
105
focalLength == -1.0 &&
106
pixelAspectRatio == 1.0 &&
107
sensitivity == -1.0 &&
114
!dateTime.isValid() &&
115
!imageSize.isValid() &&
116
!fullSize.isValid() &&
117
!outputSize.isValid() &&
118
!thumbSize.isValid() &&
119
cameraColorMatrix1[0][0] == 0.0 &&
120
cameraColorMatrix1[0][1] == 0.0 &&
121
cameraColorMatrix1[0][2] == 0.0 &&
122
cameraColorMatrix1[0][3] == 0.0 &&
123
cameraColorMatrix1[1][0] == 0.0 &&
124
cameraColorMatrix1[1][1] == 0.0 &&
125
cameraColorMatrix1[1][2] == 0.0 &&
126
cameraColorMatrix1[1][3] == 0.0 &&
127
cameraColorMatrix1[2][0] == 0.0 &&
128
cameraColorMatrix1[2][1] == 0.0 &&
129
cameraColorMatrix1[2][2] == 0.0 &&
130
cameraColorMatrix1[2][3] == 0.0 &&
131
cameraColorMatrix2[0][0] == 0.0 &&
132
cameraColorMatrix2[0][1] == 0.0 &&
133
cameraColorMatrix2[0][2] == 0.0 &&
134
cameraColorMatrix2[0][3] == 0.0 &&
135
cameraColorMatrix2[1][0] == 0.0 &&
136
cameraColorMatrix2[1][1] == 0.0 &&
137
cameraColorMatrix2[1][2] == 0.0 &&
138
cameraColorMatrix2[1][3] == 0.0 &&
139
cameraColorMatrix2[2][0] == 0.0 &&
140
cameraColorMatrix2[2][1] == 0.0 &&
141
cameraColorMatrix2[2][2] == 0.0 &&
142
cameraColorMatrix2[2][3] == 0.0 &&
143
cameraXYZMatrix[0][0] == 0.0 &&
144
cameraXYZMatrix[0][1] == 0.0 &&
145
cameraXYZMatrix[0][2] == 0.0 &&
146
cameraXYZMatrix[0][3] == 0.0 &&
147
cameraXYZMatrix[1][0] == 0.0 &&
148
cameraXYZMatrix[1][1] == 0.0 &&
149
cameraXYZMatrix[1][2] == 0.0 &&
150
cameraXYZMatrix[1][3] == 0.0 &&
151
cameraXYZMatrix[2][0] == 0.0 &&
152
cameraXYZMatrix[2][1] == 0.0 &&
153
cameraXYZMatrix[2][2] == 0.0 &&
154
cameraXYZMatrix[2][3] == 0.0 &&
155
orientation == ORIENTATION_NONE
162
/** Always false. This value is obsolete since dcraw 8.77. */
163
bool hasSecondaryPixel;
61
virtual ~DcrawInfoContainer();
63
/** Return 'true' if container is empty, else 'false' */
164
68
/** True if RAW file include an ICC color profile. */
165
69
bool hasIccProfile;
166
70
/** True is RAW file is decodable by dcraw. */