|
mf
Media Framework
|
Node which delegates concrete frame processing to associated filter object. More...
#include <filter_node.h>
Public Member Functions | |
| filter_node (graph &gr) | |
| ~filter_node () | |
| template<typename Filter , typename... Args> | |
| Filter & | set_filter (Args &&...args) |
| filter & | this_filter () |
| const filter & | this_filter () const |
| virtual node_input & | add_input (time_unit past_window, time_unit future_window)=0 |
| virtual node_output & | add_output (const frame_format &format)=0 |
Public Member Functions inherited from mf::flow::node | |
| virtual | ~node () |
| graph & | this_graph () noexcept |
| void | define_source_stream_properties (bool seekable, time_unit stream_duration=-1) |
| void | set_prefetch_duration (time_unit) |
| const auto & | inputs () noexcept |
| const auto & | outputs () noexcept |
| bool | is_source () const noexcept |
| bool | is_sink () const noexcept |
| virtual void | internal_setup ()=0 |
| Called by propagate_setup_. More... | |
| virtual void | launch ()=0 |
| Called by graph for all nodes, before any frame is pulled from sink. More... | |
| virtual void | stop ()=0 |
| Called by graph for all node, before destruction of any node. More... | |
| virtual bool | process_next_frame ()=0 |
| time_unit | end_time () const noexcept |
| bool | reached_end () const noexcept |
| bool | was_setup () const noexcept |
| time_unit | prefetch_duration () const noexcept |
| time_unit | offset () const noexcept |
| bool | stream_duration_is_defined () const noexcept |
| time_unit | stream_duration () const noexcept |
| bool | is_seekable () const noexcept |
| bool | is_bounded () const |
| bool | is_active () const noexcept |
| void | update_activation () |
| Called by output, propagates to preceding nodes. More... | |
| time_unit | current_time () const noexcept |
Protected Member Functions | |
| void | setup_filter () |
| void | pre_process_filter (node_job &) |
| void | process_filter (node_job &) |
Protected Member Functions inherited from mf::flow::node | |
| node (graph &gr) | |
| node (const node &)=delete | |
| node & | operator= (const node &)=delete |
| void | setup_sink () |
| Called by sink node, runs set up procedure for all node in graph. More... | |
| void | set_current_time (time_unit t) noexcept |
| void | mark_end () |
| node_job | make_job () |
| void | cancel_job (node_job &) |
| template<typename Input > | |
| Input & | add_input_ (time_unit past_window, time_unit future_window) |
| template<typename Output > | |
| Output & | add_output_ (const frame_format &format) |
Additional Inherited Members | |
Public Attributes inherited from mf::flow::node | |
| std::string | name |
Node which delegates concrete frame processing to associated filter object.
| mf::flow::filter_node::filter_node | ( | graph & | gr | ) |
| mf::flow::filter_node::~filter_node | ( | ) |
|
pure virtual |
Implemented in mf::flow::async_node, mf::flow::sync_node, and mf::flow::sink_node.
|
pure virtual |
Implemented in mf::flow::async_node, mf::flow::sync_node, and mf::flow::sink_node.
|
protected |
|
protected |
|
inline |
|
protected |
|
inline |
|
inline |
1.8.6