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::BufferSrcFilterContext Class Reference

#include <buffersrc.h>

Public Member Functions

 BufferSrcFilterContext ()=default
 
 BufferSrcFilterContext (const FilterContext &ctx, OptionalErrorCode ec=throws())
 
void assign (const FilterContext &ctx, OptionalErrorCode ec=throws())
 
BufferSrcFilterContextoperator= (const FilterContext &ctx)
 
void writeVideoFrame (const VideoFrame &frame, OptionalErrorCode ec=throws())
 
void addVideoFrame (VideoFrame &frame, int flags, OptionalErrorCode ec=throws())
 
void addVideoFrame (VideoFrame &frame, OptionalErrorCode ec=throws())
 
void writeAudioSamples (const AudioSamples &samples, OptionalErrorCode ec=throws())
 
void addAudioSamples (AudioSamples &samples, int flags, OptionalErrorCode ec=throws())
 
void addAudioSamples (AudioSamples &samples, OptionalErrorCode ec=throws())
 
size_t failedRequestsCount ()
 

Static Public Member Functions

static FilterMediaType checkFilter (const Filter &filter)
 

Constructor & Destructor Documentation

◆ BufferSrcFilterContext() [1/2]

av::BufferSrcFilterContext::BufferSrcFilterContext ( )
default

◆ BufferSrcFilterContext() [2/2]

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

Member Function Documentation

◆ addAudioSamples() [1/2]

void av::BufferSrcFilterContext::addAudioSamples ( AudioSamples samples,
int  flags,
OptionalErrorCode  ec = throws() 
)

◆ addAudioSamples() [2/2]

void av::BufferSrcFilterContext::addAudioSamples ( AudioSamples samples,
OptionalErrorCode  ec = throws() 
)

◆ addVideoFrame() [1/2]

void av::BufferSrcFilterContext::addVideoFrame ( VideoFrame frame,
int  flags,
OptionalErrorCode  ec = throws() 
)

◆ addVideoFrame() [2/2]

void av::BufferSrcFilterContext::addVideoFrame ( VideoFrame frame,
OptionalErrorCode  ec = throws() 
)

◆ assign()

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

◆ checkFilter()

FilterMediaType av::BufferSrcFilterContext::checkFilter ( const Filter filter)
static

◆ failedRequestsCount()

size_t av::BufferSrcFilterContext::failedRequestsCount ( )

◆ operator=()

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

◆ writeAudioSamples()

void av::BufferSrcFilterContext::writeAudioSamples ( const AudioSamples samples,
OptionalErrorCode  ec = throws() 
)

◆ writeVideoFrame()

void av::BufferSrcFilterContext::writeVideoFrame ( const VideoFrame frame,
OptionalErrorCode  ec = throws() 
)

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