avcpp
2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
|
Go to the documentation of this file.
10 #include <libavcodec/avcodec.h>
43 void codecId(AVCodecID codec_id);
CodecParameters()
Definition: codecparameters.cpp:159
~CodecParameters()
Definition: codecparameters.cpp:164
void copyFrom(CodecParametersView src, OptionalErrorCode ec=throws())
Definition: codecparameters.cpp:16
The CodecParametersView class.
Definition: codecparameters.h:20
Definition: codecparameters.h:54
Codec decodingCodec() const
Definition: codecparameters.cpp:142
void copyTo(CodecParametersView dst, OptionalErrorCode ec=throws()) const
Definition: codecparameters.cpp:36
Codec encodingCodec() const
Definition: codecparameters.cpp:137
Definition: codeccontext.h:28
int getAudioFrameDuration(int frame_bytes) const
Definition: codecparameters.cpp:96
AVMediaType mediaType() const
Definition: codecparameters.cpp:115
CodecParametersView(AVCodecParameters *codecpar=nullptr)
Definition: codecparameters.cpp:6
AVMediaType codecType() const
Definition: codecparameters.cpp:103
Definition: audioresampler.cpp:8
uint32_t codecTag() const
Definition: codecparameters.cpp:147
bool isValid() const
Definition: codecparameters.cpp:11
AVCodecID codecId() const
Definition: codecparameters.cpp:126