avcpp  2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
Public Member Functions | List of all members
av::CodecParameters Class Reference

#include <codecparameters.h>

Inheritance diagram for av::CodecParameters:
Inheritance graph
[legend]
Collaboration diagram for av::CodecParameters:
Collaboration graph
[legend]

Public Member Functions

 CodecParameters ()
 
 ~CodecParameters ()
 
- Public Member Functions inherited from av::CodecParametersView
 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 Member Functions inherited from av::noncopyable
 noncopyable ()=default
 
 noncopyable (const noncopyable &)=delete
 
void operator= (const noncopyable &)=delete
 
- Protected Attributes inherited from FFWrapperPtr< AVCodecParameters >
AVCodecParameters * m_raw
 

Constructor & Destructor Documentation

◆ CodecParameters()

av::CodecParameters::CodecParameters ( )

◆ ~CodecParameters()

av::CodecParameters::~CodecParameters ( )

The documentation for this class was generated from the following files: