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

#include <codec.h>

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

Public Member Functions

const char * name () const
 
const char * longName () const
 
bool canEncode () const
 
bool canDecode () const
 
bool isEncoder () const
 
bool isDecoder () const
 
AVMediaType type () const
 
std::deque< RationalsupportedFramerates () const
 
std::deque< PixelFormatsupportedPixelFormats () const
 
std::deque< int > supportedSamplerates () const
 
std::deque< SampleFormatsupportedSampleFormats () const
 
std::deque< uint64_t > supportedChannelLayouts () const
 
AVCodecID id () const
 
- Public Member Functions inherited from FFWrapperPtr< const AVCodec >
 FFWrapperPtr ()=default
 
 FFWrapperPtr (const AVCodec *raw)
 
const const AVCodec * raw () const
 
const AVCodec * raw ()
 
void reset (const AVCodec *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< const AVCodec >
const AVCodec * m_raw
 

Member Function Documentation

◆ canDecode()

bool av::Codec::canDecode ( ) const

◆ canEncode()

bool av::Codec::canEncode ( ) const

◆ id()

AVCodecID av::Codec::id ( ) const

◆ isDecoder()

bool av::Codec::isDecoder ( ) const

◆ isEncoder()

bool av::Codec::isEncoder ( ) const

◆ longName()

const char * av::Codec::longName ( ) const

◆ name()

const char * av::Codec::name ( ) const

◆ supportedChannelLayouts()

std::deque< uint64_t > av::Codec::supportedChannelLayouts ( ) const

◆ supportedFramerates()

std::deque< Rational > av::Codec::supportedFramerates ( ) const

◆ supportedPixelFormats()

std::deque< PixelFormat > av::Codec::supportedPixelFormats ( ) const

◆ supportedSampleFormats()

std::deque< SampleFormat > av::Codec::supportedSampleFormats ( ) const

◆ supportedSamplerates()

std::deque< int > av::Codec::supportedSamplerates ( ) const

◆ type()

AVMediaType av::Codec::type ( ) const

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