mf
Media Framework
|
Filter which performs concrete processing, base class. More...
#include <filter.h>
Public Types | |
template<std::size_t Dim, typename Elem > | |
using | input_type = input_port< Dim, Elem > |
template<std::size_t Dim, typename Elem > | |
using | output_type = output_port< Dim, Elem > |
template<typename Value > | |
using | parameter_type = filter_parameter< Value > |
Public Member Functions | |
filter (filter_node &nd) | |
filter (const filter &)=delete | |
filter & | operator= (const filter &)=delete |
filter_node & | this_node () noexcept |
const filter_node & | this_node () const noexcept |
bool | reached_end () const |
virtual | ~filter () |
virtual void | setup () |
Set up the filter, called prior to any frame being processed. More... | |
virtual void | pre_process (node_job &) |
Prepare for processing a frame. More... | |
virtual void | process (node_job &)=0 |
Process a frame. More... | |
Filter which performs concrete processing, base class.
Concrete filters are implemented as classes derived from filter, source_filter or sink_filter.
using mf::flow::filter::input_type = input_port<Dim, Elem> |
using mf::flow::filter::output_type = output_port<Dim, Elem> |
using mf::flow::filter::parameter_type = filter_parameter<Value> |
|
inlineexplicit |
|
delete |
|
inlinevirtual |
|
inlinevirtual |
Prepare for processing a frame.
Reimplemented in mf::flow::importer_filter< Importer, std::enable_if_t< Importer::is_seekable > >.
|
pure virtual |
|
inline |
|
inlinevirtual |
Set up the filter, called prior to any frame being processed.
Reimplemented in mf::flow::importer_filter< Importer, std::enable_if_t< Importer::is_seekable > >, mf::flow::importer_filter< Importer, typename >, mf::flow::exporter_filter< Exporter >, and mf::flow::color_converter_filter< Input_color, Output_color >.
|
inlinenoexcept |
|
inlinenoexcept |