avcpp
2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
|
Go to the documentation of this file.
22 uint64_t srcChannelsLayout,
int srcRate,
SampleFormat srcFormat,
26 uint64_t srcChannelsLayout,
int srcRate,
SampleFormat srcFormat,
31 uint64_t srcChannelsLayout,
int srcRate,
SampleFormat srcFormat,
93 operator bool()
const {
return isValid(); }
95 int64_t
delay()
const;
98 uint64_t srcChannelsLayout,
int srcRate,
SampleFormat srcFormat,
102 uint64_t srcChannelsLayout,
int srcRate,
SampleFormat srcFormat,
107 uint64_t srcChannelsLayout,
int srcRate,
SampleFormat srcFormat,
116 uint64_t srcChannelsLayout,
int srcRate,
SampleFormat srcFormat,
121 uint64_t m_dstChannelsLayout;
124 uint64_t m_srcChannelsLayout;
128 int m_streamIndex = -1;
132 int64_t m_filterSize;
void push(const AudioSamples &src, OptionalErrorCode ec=throws())
Push frame to the rescaler context.
Definition: audioresampler.cpp:248
AudioResampler()
Definition: audioresampler.cpp:10
bool init(uint64_t dstChannelsLayout, int dstRate, SampleFormat dstFormat, uint64_t srcChannelsLayout, int srcRate, SampleFormat srcFormat, OptionalErrorCode ec=throws())
Definition: audioresampler.cpp:303
AudioResampler & operator=(AudioResampler &&rhs)
Definition: audioresampler.cpp:55
Implements interface to access to the AVDictionary entity.
Definition: dictionary.h:30
static bool validate(uint64_t dstChannelsLayout, int dstRate, SampleFormat dstFormat)
Definition: audioresampler.cpp:335
Definition: audioresampler.h:16
int64_t delay() const
Definition: audioresampler.cpp:296
uint64_t dstChannelLayout() const
Definition: audioresampler.cpp:80
int dstSampleRate() const
Definition: audioresampler.cpp:115
SampleFormat dstSampleFormat() const
Definition: audioresampler.cpp:120
SampleFormat srcSampleFormat() const
Definition: audioresampler.cpp:140
int srcChannels() const
Definition: audioresampler.cpp:130
Definition: audioresampler.cpp:8
~AudioResampler()
Definition: audioresampler.cpp:41
int dstChannels() const
Definition: audioresampler.cpp:110
uint64_t srcChannelLayout() const
Definition: audioresampler.cpp:125
bool isValid() const
Definition: audioresampler.cpp:291
The Timestamp class represents timestamp value and it timebase.
Definition: timestamp.h:13
void swap(AudioResampler &other)
Definition: audioresampler.cpp:64
int srcSampleRate() const
Definition: audioresampler.cpp:135
bool pop(AudioSamples &dst, bool getall, OptionalErrorCode ec=throws())
Pop frame from the rescaler context.
Definition: audioresampler.cpp:145