]> git.sesse.net Git - casparcg/blobdiff - core/video_channel.h
2.0. Added image_consumer and PRINT command.
[casparcg] / core / video_channel.h
index 1634ca43f9836a96ff3da002bc5835a609217f7d..2ca9c674c77ff927af3aee67ce9a5c4fc3e79ef7 100644 (file)
 \r
 #pragma once\r
 \r
-#include "consumer/frame_consumer_device.h"\r
-#include "mixer/frame_mixer_device.h"\r
-#include "producer/frame_producer_device.h"\r
-\r
 #include <common/memory/safe_ptr.h>\r
 \r
 #include <boost/noncopyable.hpp>\r
 \r
 namespace caspar { namespace core {\r
        \r
+class stage;\r
+class mixer;\r
+class output;\r
 class ogl_device;\r
+struct video_format_desc;\r
 \r
 class video_channel : boost::noncopyable\r
 {\r
@@ -38,11 +38,11 @@ public:
        explicit video_channel(int index, const video_format_desc& format_desc, ogl_device& ogl);\r
        video_channel(video_channel&& other);\r
 \r
-       safe_ptr<frame_producer_device> producer();\r
-       safe_ptr<frame_mixer_device>    mixer();\r
-       safe_ptr<frame_consumer_device> consumer();\r
+       safe_ptr<stage> stage();\r
+       safe_ptr<mixer> mixer();\r
+       safe_ptr<output> output();\r
 \r
-       const video_format_desc& get_video_format_desc() const;\r
+       video_format_desc get_video_format_desc() const;\r
        void set_video_format_desc(const video_format_desc& format_desc);\r
 \r
        std::wstring print() const;\r