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

#include <filtercontext.h>

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

Public Member Functions

 FilterContext (AVFilterContext *ctx)
 
 FilterContext ()=default
 
Filter filter () const
 
std::string name () const
 
size_t inputsCount () const
 
size_t outputsCount () const
 
void init (const std::string &args, OptionalErrorCode ec=throws())
 
void free ()
 
void link (unsigned srcPad, FilterContext &dstFilter, unsigned dstPad, OptionalErrorCode ec=throws())
 
 operator bool () const
 
- Public Member Functions inherited from FFWrapperPtr< AVFilterContext >
 FFWrapperPtr ()=default
 
 FFWrapperPtr (AVFilterContext *raw)
 
const AVFilterContext * raw () const
 
AVFilterContext * raw ()
 
void reset (AVFilterContext *raw=nullptr)
 
bool isNull () const
 
void _log (int level, const char *fmt) const
 
void _log (int level, const char *fmt, const Args &... args) const
 

Friends

class FilterGraph
 

Additional Inherited Members

- Protected Attributes inherited from FFWrapperPtr< AVFilterContext >
AVFilterContext * m_raw
 

Constructor & Destructor Documentation

◆ FilterContext() [1/2]

av::FilterContext::FilterContext ( AVFilterContext *  ctx)

◆ FilterContext() [2/2]

av::FilterContext::FilterContext ( )
default

Member Function Documentation

◆ filter()

Filter av::FilterContext::filter ( ) const

◆ free()

void av::FilterContext::free ( )

◆ init()

void av::FilterContext::init ( const std::string &  args,
OptionalErrorCode  ec = throws() 
)

◆ inputsCount()

size_t av::FilterContext::inputsCount ( ) const

◆ link()

void av::FilterContext::link ( unsigned  srcPad,
FilterContext dstFilter,
unsigned  dstPad,
OptionalErrorCode  ec = throws() 
)

◆ name()

string av::FilterContext::name ( ) const

◆ operator bool()

av::FilterContext::operator bool ( ) const

◆ outputsCount()

size_t av::FilterContext::outputsCount ( ) const

Friends And Related Function Documentation

◆ FilterGraph

friend class FilterGraph
friend

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