avcpp  2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
Public Member Functions | Friends | List of all members
av::FilterGraph Class Reference

#include <filtergraph.h>

Inheritance diagram for av::FilterGraph:
Inheritance graph
[legend]
Collaboration diagram for av::FilterGraph:
Collaboration graph
[legend]

Public Member Functions

 FilterGraph ()
 
 FilterGraph (decltype(nullptr))
 
 ~FilterGraph ()
 
 FilterGraph (const FilterGraph &)=delete
 
void operator= (const FilterGraph &)=delete
 
bool isValid ()
 
int filtersCount () const
 
void setAutoConvert (unsigned flags)
 
FilterContext filter (const std::string &name, OptionalErrorCode ec=throws())
 
FilterContext filter (unsigned idx, OptionalErrorCode ec=throws())
 
FilterContext allocFilter (const Filter &filter, const std::string &name, OptionalErrorCode ec=throws())
 
FilterContext createFilter (const Filter &filter, const std::string &filterName, const std::string &filterArgs, OptionalErrorCode ec=throws())
 
void parse (const std::string &graphDescription, FilterContext &srcFilterCtx, FilterContext &sinkFilterCtx, OptionalErrorCode ec=throws())
 
void parse (const std::string &graphDescription, OptionalErrorCode ec=throws())
 
void config (OptionalErrorCode ec=throws())
 
std::string dump (bool doPrint=true, const std::string &options=std::string())
 
BufferSrcFilterContext bufferSrcFilter (OptionalErrorCode ec=throws())
 
BufferSinkFilterContext bufferSinkFilter (OptionalErrorCode ec=throws())
 

Friends

class FilterInOut
 

Constructor & Destructor Documentation

◆ FilterGraph() [1/3]

av::FilterGraph::FilterGraph ( )

◆ FilterGraph() [2/3]

av::FilterGraph::FilterGraph ( decltype(nullptr)  )

◆ ~FilterGraph()

av::FilterGraph::~FilterGraph ( )

◆ FilterGraph() [3/3]

av::FilterGraph::FilterGraph ( const FilterGraph )
delete

Member Function Documentation

◆ allocFilter()

FilterContext av::FilterGraph::allocFilter ( const Filter filter,
const std::string &  name,
OptionalErrorCode  ec = throws() 
)

◆ bufferSinkFilter()

BufferSinkFilterContext av::FilterGraph::bufferSinkFilter ( OptionalErrorCode  ec = throws())

◆ bufferSrcFilter()

BufferSrcFilterContext av::FilterGraph::bufferSrcFilter ( OptionalErrorCode  ec = throws())

◆ config()

void av::FilterGraph::config ( OptionalErrorCode  ec = throws())

◆ createFilter()

FilterContext av::FilterGraph::createFilter ( const Filter filter,
const std::string &  filterName,
const std::string &  filterArgs,
OptionalErrorCode  ec = throws() 
)

◆ dump()

string av::FilterGraph::dump ( bool  doPrint = true,
const std::string &  options = std::string() 
)

◆ filter() [1/2]

FilterContext av::FilterGraph::filter ( const std::string &  name,
OptionalErrorCode  ec = throws() 
)

◆ filter() [2/2]

FilterContext av::FilterGraph::filter ( unsigned  idx,
OptionalErrorCode  ec = throws() 
)

◆ filtersCount()

int av::FilterGraph::filtersCount ( ) const

◆ isValid()

bool av::FilterGraph::isValid ( )

◆ operator=()

void av::FilterGraph::operator= ( const FilterGraph )
delete

◆ parse() [1/2]

void av::FilterGraph::parse ( const std::string &  graphDescription,
FilterContext srcFilterCtx,
FilterContext sinkFilterCtx,
OptionalErrorCode  ec = throws() 
)

◆ parse() [2/2]

void av::FilterGraph::parse ( const std::string &  graphDescription,
OptionalErrorCode  ec = throws() 
)

◆ setAutoConvert()

void av::FilterGraph::setAutoConvert ( unsigned  flags)

Friends And Related Function Documentation

◆ FilterInOut

friend class FilterInOut
friend

The documentation for this class was generated from the following files: