Implement alpha_blend for YUV420P and YUV420P10. Improve unit test.
[dcpomatic.git] / test / test.h
index 2208929a94b8baa40d9a4965ae22c89fe6a442a2..8ac026e66d707227b5c5529ff5bfebbe14378bd7 100644 (file)
@@ -25,12 +25,13 @@ class Image;
 
 extern boost::filesystem::path private_data;
 
-extern void wait_for_jobs ();
+extern bool wait_for_jobs ();
 extern boost::shared_ptr<Film> new_test_film (std::string);
 extern void check_dcp (boost::filesystem::path, boost::filesystem::path);
 extern void check_file (boost::filesystem::path ref, boost::filesystem::path check);
 extern void check_audio_file (boost::filesystem::path ref, boost::filesystem::path check);
 extern void check_xml (boost::filesystem::path, boost::filesystem::path, std::list<std::string>);
 extern void check_file (boost::filesystem::path, boost::filesystem::path);
+extern void check_image (boost::filesystem::path, boost::filesystem::path);
 extern boost::filesystem::path test_film_dir (std::string);
-extern void write_image (boost::shared_ptr<const Image> image, boost::filesystem::path file);
+extern void write_image (boost::shared_ptr<const Image> image, boost::filesystem::path file, std::string format);