summaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-02 21:51:56 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-02 21:51:56 +0100
commit8fca5499789ae1deb2dbcad8d3501a8f42fb95f0 (patch)
treef77fd52ac2ade3f14eb686a3dfcd23d3d1277824 /src/types.h
parent0884b93386c0b6858eae0236d75a4eba12176219 (diff)
Clean up DCP comparison a bit.
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/types.h b/src/types.h
index 314b674b..7c98a3b3 100644
--- a/src/types.h
+++ b/src/types.h
@@ -85,15 +85,12 @@ public:
extern bool operator== (Fraction const & a, Fraction const & b);
extern bool operator!= (Fraction const & a, Fraction const & b);
-enum EqualityFlags {
- LIBDCP_METADATA = 0x1,
- MXF_BITWISE = 0x2,
- MXF_INSPECT = 0x4
-};
-
struct EqualityOptions {
- EqualityFlags flags;
- bool verbose;
+ /** true to do a bitwise comparison.
+ * false to compare PCM and image data, possibly allowing
+ * some variation in values.
+ */
+ bool bitwise;
double max_mean_pixel_error;
double max_std_dev_pixel_error;
};