19 class BufferSinkFilterContext
29 BufferSinkFilterContext() =
default;
30 explicit BufferSinkFilterContext(
const FilterContext& ctx, OptionalErrorCode ec =
throws());
32 void assign(
const FilterContext &ctx, OptionalErrorCode ec =
throws());
33 BufferSinkFilterContext& operator=(
const FilterContext &ctx);
36 bool getVideoFrame(VideoFrame &frame,
int flags, OptionalErrorCode ec =
throws());
37 bool getVideoFrame(VideoFrame &frame, OptionalErrorCode ec =
throws());
39 bool getAudioFrame(AudioSamples &samples,
int flags, OptionalErrorCode ec =
throws());
40 bool getAudioFrame(AudioSamples &samples, OptionalErrorCode ec =
throws());
41 bool getAudioSamples(AudioSamples &samples,
size_t samplesCount, OptionalErrorCode ec =
throws());
43 void setFrameSize(
unsigned size, OptionalErrorCode ec =
throws());
44 Rational frameRate(OptionalErrorCode ec =
throws());
46 static FilterMediaType checkFilter(
const Filter& filter) noexcept;
51 bool getFrame(AVFrame *frame,
int flags, OptionalErrorCode ec);
52 bool getSamples(AVFrame *frame,
int nbSamples, OptionalErrorCode ec);
56 FilterMediaType m_type = FilterMediaType::Unknown;
57 int m_req = ReqUninited;
Definition: audioresampler.cpp:8