X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Ftypes.h;h=7c98a3b352ff4b7d588975b0c268174e23fc4bf0;hb=8fca5499789ae1deb2dbcad8d3501a8f42fb95f0;hp=314b674b92af2f5b27cdd8dfc0bbd27ac0a04a86;hpb=0884b93386c0b6858eae0236d75a4eba12176219;p=libdcp.git 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; };