From 8fca5499789ae1deb2dbcad8d3501a8f42fb95f0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 2 Oct 2012 21:51:56 +0100 Subject: Clean up DCP comparison a bit. --- src/types.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/types.h') 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; }; -- cgit v1.2.3