aboutsummaryrefslogtreecommitdiff
path: root/src/piex_types.h
diff options
context:
space:
mode:
authorEik Brauer <ebrauer@google.com>2016-02-01 12:26:23 +0100
committerEik Brauer <ebrauer@google.com>2016-02-01 12:26:23 +0100
commitb415ce2eec78846ec705c983f98a74c9526f3faa (patch)
treeaa83fd1272e65390cc12a41c8484853edc928bc1 /src/piex_types.h
parenta9540117cdd785b0dd75f8c4c28b278f86eb485c (diff)
downloadpiex-b415ce2eec78846ec705c983f98a74c9526f3faa.tar.gz
Enables warnings for unused parameters. Adds cfa_repeat_pattern_dim to identify non bayer patterns e.g. Fuji X-Trans in DNG.
Diffstat (limited to 'src/piex_types.h')
-rw-r--r--src/piex_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/piex_types.h b/src/piex_types.h
index f0c216a..6b294bd 100644
--- a/src/piex_types.h
+++ b/src/piex_types.h
@@ -78,6 +78,10 @@ struct PreviewImageData {
Rational fnumber;
Rational focal_length;
Gps gps;
+
+ // Hint for the mosaic pattern dimension of the RAW image data. (0, 0) implies
+ // that no mosaic info found. It is valid for DNG, NEF and NRW files.
+ std::uint32_t cfa_pattern_dim[2] = {0, 0};
};
// Defines the StreamInterface that needs to be implemented by the client.