diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-05-23 01:23:43 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-05-26 21:51:18 +0200 |
| commit | 1d5c211dadb9a9dc2318adce86ca9c31b367cabe (patch) | |
| tree | a0804622a7ceb6d9bcdc4f39732496361c53535d /test/test.h | |
| parent | fd84c01c1c562093e99127a3a82f33d401a07655 (diff) | |
Fix incorrect colours with "no colourspace conversion" sources that are not AV_PIX_FMT_XYZ12LE.
Prepare the image for where it is going to next. I don't understand the difference
in this situation between XYZ12LE and RGB48LE (it seems they are both 16-bit-per-channel)
but there you go.
Diffstat (limited to 'test/test.h')
| -rw-r--r-- | test/test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.h b/test/test.h index bb92b5385..e26a0a690 100644 --- a/test/test.h +++ b/test/test.h @@ -72,7 +72,7 @@ extern void check_image(boost::filesystem::path ref, boost::filesystem::path che extern boost::filesystem::path test_film_dir (std::string); extern void write_image (std::shared_ptr<const Image> image, boost::filesystem::path file); boost::filesystem::path dcp_file (std::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, boost::filesystem::path ref, int tolerance = 0); extern boost::filesystem::path subtitle_file (std::shared_ptr<Film> film); extern void make_random_file (boost::filesystem::path path, size_t size); extern void verify_dcp(boost::filesystem::path dir, std::vector<dcp::VerificationNote::Code> ignore); |
