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

#include <buffersink.h>

Public Member Functions

 BufferSinkFilterContext ()=default
 
 BufferSinkFilterContext (const FilterContext &ctx, OptionalErrorCode ec=throws())
 
void assign (const FilterContext &ctx, OptionalErrorCode ec=throws())
 
BufferSinkFilterContextoperator= (const FilterContext &ctx)
 
bool getVideoFrame (VideoFrame &frame, int flags, OptionalErrorCode ec=throws())
 
bool getVideoFrame (VideoFrame &frame, OptionalErrorCode ec=throws())
 
bool getAudioFrame (AudioSamples &samples, int flags, OptionalErrorCode ec=throws())
 
bool getAudioFrame (AudioSamples &samples, OptionalErrorCode ec=throws())
 
bool getAudioSamples (AudioSamples &samples, size_t samplesCount, OptionalErrorCode ec=throws())
 
void setFrameSize (unsigned size, OptionalErrorCode ec=throws())
 
Rational frameRate (OptionalErrorCode ec=throws())
 

Static Public Member Functions

static FilterMediaType checkFilter (const Filter &filter) noexcept
 

Constructor & Destructor Documentation

◆ BufferSinkFilterContext() [1/2]

av::BufferSinkFilterContext::BufferSinkFilterContext ( )
default

◆ BufferSinkFilterContext() [2/2]

av::BufferSinkFilterContext::BufferSinkFilterContext ( const FilterContext ctx,
OptionalErrorCode  ec = throws() 
)
explicit

Member Function Documentation

◆ assign()

void av::BufferSinkFilterContext::assign ( const FilterContext ctx,
OptionalErrorCode  ec = throws() 
)

◆ checkFilter()

FilterMediaType av::BufferSinkFilterContext::checkFilter ( const Filter filter)
staticnoexcept

◆ frameRate()

Rational av::BufferSinkFilterContext::frameRate ( OptionalErrorCode  ec = throws())

◆ getAudioFrame() [1/2]

bool av::BufferSinkFilterContext::getAudioFrame ( AudioSamples samples,
int  flags,
OptionalErrorCode  ec = throws() 
)

◆ getAudioFrame() [2/2]

bool av::BufferSinkFilterContext::getAudioFrame ( AudioSamples samples,
OptionalErrorCode  ec = throws() 
)

◆ getAudioSamples()

bool av::BufferSinkFilterContext::getAudioSamples ( AudioSamples samples,
size_t  samplesCount,
OptionalErrorCode  ec = throws() 
)

◆ getVideoFrame() [1/2]

bool av::BufferSinkFilterContext::getVideoFrame ( VideoFrame frame,
int  flags,
OptionalErrorCode  ec = throws() 
)

◆ getVideoFrame() [2/2]

bool av::BufferSinkFilterContext::getVideoFrame ( VideoFrame frame,
OptionalErrorCode  ec = throws() 
)

◆ operator=()

BufferSinkFilterContext & av::BufferSinkFilterContext::operator= ( const FilterContext ctx)

◆ setFrameSize()

void av::BufferSinkFilterContext::setFrameSize ( unsigned  size,
OptionalErrorCode  ec = throws() 
)

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