13 #if AVCPP_HAS_AVFILTER
19 friend class FilterInOut;
23 FilterGraph(decltype(
nullptr));
26 FilterGraph(
const FilterGraph&) =
delete;
27 void operator=(
const FilterGraph&) =
delete;
32 int filtersCount()
const;
33 void setAutoConvert(
unsigned flags);
37 FilterContext filter(
const std::string& name, OptionalErrorCode ec =
throws());
38 FilterContext filter(
unsigned idx, OptionalErrorCode ec =
throws());
40 FilterContext allocFilter(
const Filter &filter,
const std::string &name, OptionalErrorCode ec =
throws());
41 FilterContext createFilter(
const Filter &filter,
42 const std::string& filterName,
43 const std::string& filterArgs,
44 OptionalErrorCode ec =
throws());
46 void parse(
const std::string &graphDescription,
47 FilterContext &srcFilterCtx,
48 FilterContext &sinkFilterCtx,
49 OptionalErrorCode ec =
throws());
51 void parse(
const std::string &graphDescription, OptionalErrorCode ec =
throws());
53 void config(OptionalErrorCode ec =
throws());
55 std::string dump(
bool doPrint =
true,
const std::string& options = std::string());
57 BufferSrcFilterContext bufferSrcFilter(OptionalErrorCode ec =
throws());
58 BufferSinkFilterContext bufferSinkFilter(OptionalErrorCode ec =
throws());
65 BufferSrcFilterContext m_bufferSrc;
66 bool m_bufferSrcSearchDone =
false;
67 BufferSinkFilterContext m_bufferSink;
68 bool m_bufferSinkSearchDone =
false;
70 bool m_configured =
false;
Definition: audioresampler.cpp:8