|
avcpp
2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
|
The CodecParametersView class. More...
#include <codecparameters.h>


Public Member Functions | |
| CodecParametersView (AVCodecParameters *codecpar=nullptr) | |
| bool | isValid () const |
| void | copyFrom (CodecParametersView src, OptionalErrorCode ec=throws()) |
| void | copyTo (CodecParametersView dst, OptionalErrorCode ec=throws()) const |
| void | copyFrom (const class CodecContext2 &src, OptionalErrorCode ec=throws()) |
| void | copyTo (class CodecContext2 &dst, OptionalErrorCode ec=throws()) const |
| int | getAudioFrameDuration (int frame_bytes) const |
| AVMediaType | codecType () const |
| void | codecType (AVMediaType codec_type) |
| AVMediaType | mediaType () const |
| void | mediaType (AVMediaType media_type) |
| AVCodecID | codecId () const |
| void | codecId (AVCodecID codec_id) |
| Codec | encodingCodec () const |
| Codec | decodingCodec () const |
| uint32_t | codecTag () const |
| void | codecTag (uint32_t codec_tag) |
Public Member Functions inherited from FFWrapperPtr< AVCodecParameters > | |
| FFWrapperPtr ()=default | |
| FFWrapperPtr (AVCodecParameters *raw) | |
| const AVCodecParameters * | raw () const |
| AVCodecParameters * | raw () |
| void | reset (AVCodecParameters *raw=nullptr) |
| bool | isNull () const |
| void | _log (int level, const char *fmt) const |
| void | _log (int level, const char *fmt, const Args &... args) const |
Additional Inherited Members | |
Protected Attributes inherited from FFWrapperPtr< AVCodecParameters > | |
| AVCodecParameters * | m_raw |
The CodecParametersView class.
Not-owned wrapper for AVCodecParameters. Do not keep for a long time.
| av::CodecParametersView::CodecParametersView | ( | AVCodecParameters * | codecpar = nullptr | ) |
| AVCodecID av::CodecParametersView::codecId | ( | ) | const |
| void av::CodecParametersView::codecId | ( | AVCodecID | codec_id | ) |
| uint32_t av::CodecParametersView::codecTag | ( | ) | const |
| void av::CodecParametersView::codecTag | ( | uint32_t | codec_tag | ) |
| AVMediaType av::CodecParametersView::codecType | ( | ) | const |
| void av::CodecParametersView::codecType | ( | AVMediaType | codec_type | ) |
| void av::CodecParametersView::copyFrom | ( | CodecParametersView | src, |
| OptionalErrorCode | ec = throws() |
||
| ) |
| void av::CodecParametersView::copyFrom | ( | const class CodecContext2 & | src, |
| OptionalErrorCode | ec = throws() |
||
| ) |
| void av::CodecParametersView::copyTo | ( | class CodecContext2 & | dst, |
| OptionalErrorCode | ec = throws() |
||
| ) | const |
| void av::CodecParametersView::copyTo | ( | CodecParametersView | dst, |
| OptionalErrorCode | ec = throws() |
||
| ) | const |
| Codec av::CodecParametersView::decodingCodec | ( | ) | const |
| Codec av::CodecParametersView::encodingCodec | ( | ) | const |
| int av::CodecParametersView::getAudioFrameDuration | ( | int | frame_bytes | ) | const |
| bool av::CodecParametersView::isValid | ( | ) | const |
| AVMediaType av::CodecParametersView::mediaType | ( | ) | const |
| void av::CodecParametersView::mediaType | ( | AVMediaType | media_type | ) |