diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-17 23:36:04 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-17 23:36:04 +0000 |
| commit | 8964feb6151ac79ef7429878f29534c5f9a58505 (patch) | |
| tree | 688486fbb425f01c73533b195c88c5a975633632 /test/test.h | |
| parent | 46d89e9f754c50712e8983ae5c86bbb0a6cf4362 (diff) | |
Be more lenient when comparing JPEG2000 frames in tests.
Diffstat (limited to 'test/test.h')
| -rw-r--r-- | test/test.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test.h b/test/test.h index 2f2062692..8ed7cf7e0 100644 --- a/test/test.h +++ b/test/test.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013 Carl Hetherington <cth@carlh.net> + Copyright (C) 2013-2018 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -18,6 +18,7 @@ */ +#include <dcp/types.h> #include <boost/filesystem.hpp> class Film; @@ -40,4 +41,4 @@ extern void check_image (boost::filesystem::path, boost::filesystem::path, doubl extern boost::filesystem::path test_film_dir (std::string); extern void write_image (boost::shared_ptr<const Image> image, boost::filesystem::path file, std::string format); boost::filesystem::path dcp_file (boost::shared_ptr<const Film> film, std::string prefix); -void check_one_frame (boost::filesystem::path dcp, int64_t index, boost::filesystem::path ref); +void check_one_frame (boost::filesystem::path dcp, int64_t index, dcp::Size dcp_size, boost::filesystem::path ref, dcp::Size ref_size); |
