summaryrefslogtreecommitdiff
path: root/test/test.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-08-27 22:59:12 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-21 21:57:18 +0200
commitb933775fc54e0b51ad3777d72bf2866f0c04bacc (patch)
treec13133d7cfe9722f3b2eeaa52a8686e029172377 /test/test.h
parent1ae2755dbbaa30b6240dfd304c289253a577b424 (diff)
Support CPL metadata.
Diffstat (limited to 'test/test.h')
-rw-r--r--test/test.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test.h b/test/test.h
index 6fc2067d..95827af7 100644
--- a/test/test.h
+++ b/test/test.h
@@ -24,7 +24,9 @@
#include "reel.h"
#include "reel_subtitle_asset.h"
#include "subtitle.h"
+#include "reel_asset.h"
#include <boost/filesystem.hpp>
+#include <boost/optional.hpp>
namespace xmlpp {
class Element;
@@ -47,6 +49,8 @@ extern boost::shared_ptr<dcp::DCP> make_simple_with_interop_subs (boost::filesys
extern boost::shared_ptr<dcp::DCP> make_simple_with_smpte_subs (boost::filesystem::path path);
extern boost::shared_ptr<dcp::DCP> make_simple_with_interop_ccaps (boost::filesystem::path path);
extern boost::shared_ptr<dcp::DCP> make_simple_with_smpte_ccaps (boost::filesystem::path path);
+extern boost::shared_ptr<dcp::OpenJPEGImage> black_image ();
+extern boost::shared_ptr<dcp::ReelAsset> black_picture_asset (boost::filesystem::path dir, int frames = 24);
/** Creating an object of this class will make asdcplib's random number generation
* (more) predictable.
@@ -57,4 +61,3 @@ public:
RNGFixer ();
~RNGFixer ();
};
-