10#include "avcpp/avconfig.h"
30class BufferSrcFilterContext
33 BufferSrcFilterContext() =
default;
Error codes, error categories and the OptionalErrorCode convention.
One buffer of decoded audio samples.
Definition frame.h:892
void addAudioSamples(AudioSamples &samples, int flags, OptionalErrorCode ec=throws())
Push audio samples with explicit flags.
void addVideoFrame(VideoFrame &frame, OptionalErrorCode ec=throws())
Push a video frame into the graph.
BufferSrcFilterContext(const FilterContext &ctx, OptionalErrorCode ec=throws())
Wrap a source context created by a graph.
void writeAudioSamples(const AudioSamples &samples, OptionalErrorCode ec=throws())
Write audio samples into the graph.
size_t failedRequestsCount()
How many pushes the graph refused.
void assign(const FilterContext &ctx, OptionalErrorCode ec=throws())
Point the wrapper at another source context.
void addVideoFrame(VideoFrame &frame, int flags, OptionalErrorCode ec=throws())
Push a video frame with explicit AV_BUFFERSRC_FLAG_* flags.
static FilterMediaType checkFilter(const Filter &filter)
Media type a filter would produce as a source.
void writeVideoFrame(const VideoFrame &frame, OptionalErrorCode ec=throws())
Write a video frame into the graph.
BufferSrcFilterContext & operator=(const FilterContext &ctx)
Assign from a filter context.
void addAudioSamples(AudioSamples &samples, OptionalErrorCode ec=throws())
Push audio samples into the graph.
One filter instance inside a graph.
Definition filtercontext.h:30
A filter descriptor: the static description of one filter.
Definition filter.h:48
Carries the caller's choice between exceptions and error codes.
Definition averror.h:96
One video frame.
Definition frame.h:578
FFmpeg types re-exported for the public API and small value wrappers.
A single filter instance and its pads.
Source and sink filter contexts.
Video frames, audio samples and their common frame interface.
Root namespace of the library.
Definition audioresampler.h:19
FilterMediaType
Media type a filter works with.
Definition filter.h:30
@ Unknown
The filter did not declare a type, or it was not inspected yet.
Definition filter.h:32
Rational numbers, time bases and arithmetic on them.