libdcp
|
A class to describe what "equality" means for a particular test. More...
#include <types.h>
Public Member Functions | |
EqualityOptions () | |
Public Attributes | |
double | max_mean_pixel_error = 0 |
double | max_std_dev_pixel_error = 0 |
int | max_audio_sample_error = 0 |
bool | cpl_annotation_texts_can_differ = false |
bool | reel_annotation_texts_can_differ = false |
bool | reel_hashes_can_differ = false |
bool | issue_dates_can_differ = false |
bool | load_font_nodes_can_differ = false |
bool | keep_going = false |
bool | export_differing_subtitles = false |
A class to describe what "equality" means for a particular test.
When comparing things, we want to be able to ignore some differences; this class expresses those differences.
It also contains some settings for how the comparison should be done.
|
inline |
Construct an EqualityOptions where nothing at all can differ
bool dcp::EqualityOptions::cpl_annotation_texts_can_differ = false |
bool dcp::EqualityOptions::export_differing_subtitles = false |
bool dcp::EqualityOptions::issue_dates_can_differ = false |
int dcp::EqualityOptions::max_audio_sample_error = 0 |
double dcp::EqualityOptions::max_mean_pixel_error = 0 |
double dcp::EqualityOptions::max_std_dev_pixel_error = 0 |
bool dcp::EqualityOptions::reel_annotation_texts_can_differ = false |
bool dcp::EqualityOptions::reel_hashes_can_differ = false |