|
AvTranscoder
0.9.4
C++APIforLibav/FFmpeg
|
#include <DataCodec.hpp>
Public Member Functions | |
| DataCodec (const ECodecType type, const std::string &codecName="") | |
| DataCodec (const ECodecType type, const AVCodecID codecId) | |
| DataCodec (const ECodecType type, AVCodecContext &avCodecContext) | |
Public Member Functions inherited from avtranscoder::ICodec | |
| ICodec (const ECodecType type, const std::string &codecName) | |
| ICodec (const ECodecType type, const AVCodecID codecId) | |
| ICodec (const ECodecType type, AVCodecContext &avCodecContext) | |
| virtual | ~ICodec ()=0 |
| void | openCodec () |
| Initialize the codec context. More... | |
| std::string | getCodecName () const |
| AVCodecID | getCodecId () const |
| ECodecType | getCodecType () const |
| int | getLatency () const |
| OptionArray | getOptions () |
| Get options as array. More... | |
| OptionMap & | getOptionsMap () |
| Get options as map. More... | |
| Option & | getOption (const std::string &optionName) |
| AVCodecContext & | getAVCodecContext () |
| const AVCodecContext & | getAVCodecContext () const |
| AVCodec & | getAVCodec () |
| const AVCodec & | getAVCodec () const |
Additional Inherited Members | |
Protected Attributes inherited from avtranscoder::ICodec | |
| AVCodecContext * | _avCodecContext |
| Full codec instance description (has ownership) More... | |
| AVCodec * | _avCodec |
| Codec abstract description. More... | |
| const bool | _isCodecContextAllocated |
| Is the AVCodecContext allocated by the class. More... | |
| ECodecType | _type |
| OptionMap | _options |
Definition at line 9 of file DataCodec.hpp.
| avtranscoder::DataCodec::DataCodec | ( | const ECodecType | type, |
| const std::string & | codecName = "" |
||
| ) |
Definition at line 6 of file DataCodec.cpp.
| avtranscoder::DataCodec::DataCodec | ( | const ECodecType | type, |
| const AVCodecID | codecId | ||
| ) |
Definition at line 11 of file DataCodec.cpp.
| avtranscoder::DataCodec::DataCodec | ( | const ECodecType | type, |
| AVCodecContext & | avCodecContext | ||
| ) |
Definition at line 16 of file DataCodec.cpp.