public:\r
explicit output(const safe_ptr<diagnostics::graph>& graph, const video_format_desc& format_desc, int channel_index);\r
\r
+ // target\r
+ \r
+ virtual void send(const std::pair<safe_ptr<read_frame>, ticket>& frame) override;\r
+\r
+ // output\r
+\r
void add(int index, safe_ptr<frame_consumer>&& consumer);\r
void remove(int index);\r
\r
void set_video_format_desc(const video_format_desc& format_desc);\r
\r
- virtual void send(const std::pair<safe_ptr<read_frame>, ticket>& frame); // nothrow\r
private:\r
struct implementation;\r
safe_ptr<implementation> impl_;\r
\r
explicit mixer(const safe_ptr<diagnostics::graph>& graph, const safe_ptr<target_t>& target, const video_format_desc& format_desc, const safe_ptr<ogl_device>& ogl);\r
\r
- virtual void send(const std::pair<std::map<int, safe_ptr<basic_frame>>, ticket>& frames); // nothrow\r
+ // target\r
+\r
+ virtual void send(const std::pair<std::map<int, safe_ptr<basic_frame>>, ticket>& frames) override; \r
\r
+ // mixer\r
+\r
safe_ptr<core::write_frame> create_frame(const void* tag, const core::pixel_format_desc& desc); \r
safe_ptr<core::write_frame> create_frame(const void* tag, size_t width, size_t height, pixel_format::type pix_fmt = pixel_format::bgra); \r
\r
typedef target<std::pair<std::map<int, safe_ptr<basic_frame>>, ticket>> target_t;\r
\r
explicit stage(const safe_ptr<diagnostics::graph>& graph, const safe_ptr<target_t>& target, const video_format_desc& format_desc);\r
+ \r
+ // stage\r
\r
void swap(stage& other);\r
\r