1 #ifndef _AV_TRANSCODER_FILTER_FILTER_GRAPH_HPP_
2 #define _AV_TRANSCODER_FILTER_FILTER_GRAPH_HPP_
42 Filter& addFilter(
const std::string& filterName,
const std::string& filterOptions =
"",
43 const std::string& instanceName =
"");
50 void process(
Frame& frame);
64 void init(
const Frame& frame);
69 void pushFilter(
Filter& filter);
73 void pushInBuffer(
const Frame& frame);
74 void pushOutBuffer(
const Frame& frame);
Describe a filter and its options.
bool _isInit
Is the FilterGraph initialized.
std::vector< Filter * > _filters
List of filters to process.
This class describes decoded (raw) audio or video data.
const ICodec & _codec
Codec of the stream on which the filters will be applied.
AVFilterGraph * _graph
The graph which holds the filters.