]> git.sesse.net Git - casparcg/blobdiff - modules/decklink/consumer/decklink_consumer.h
Created a consumer that provides sync to a channel based on the pace of another chann...
[casparcg] / modules / decklink / consumer / decklink_consumer.h
index 5991a466c1d1ad673acef3bd0a7b7484ad8fe4d8..b06fe7f58577608b47cfa2a4142d02cd58ed249a 100644 (file)
 
 #include <common/memory.h>
 
-#include <core/video_format.h>
+#include <core/fwd.h>
 
-#include <boost/property_tree/ptree.hpp>
+#include <boost/property_tree/ptree_fwd.hpp>
 
 #include <string>
 #include <vector>
 
-namespace caspar {
+namespace caspar { namespace decklink {
 
-namespace core {
-       class frame_consumer;
-}
+void describe_consumer(core::help_sink& sink, const core::help_repository& repo);
+spl::shared_ptr<core::frame_consumer> create_consumer(
+               const std::vector<std::wstring>& params, core::interaction_sink*,
+               std::vector<spl::shared_ptr<core::video_channel>> channels);
+spl::shared_ptr<core::frame_consumer> create_preconfigured_consumer(
+               const boost::property_tree::wptree& ptree, core::interaction_sink*,
+               std::vector<spl::shared_ptr<core::video_channel>> channels);
 
-namespace decklink {
-
-spl::shared_ptr<core::frame_consumer> create_consumer(const std::vector<std::wstring>& params);
-spl::shared_ptr<core::frame_consumer> create_consumer(const boost::property_tree::wptree& ptree);
-
-}}
\ No newline at end of file
+}}