Audacity 3.2.0
Public Member Functions | Protected Attributes | List of all members
AVCodecWrapper Class Referenceabstract

#include <AVCodecWrapper.h>

Collaboration diagram for AVCodecWrapper:
[legend]

Public Member Functions

 AVCodecWrapper (const AVCodecWrapper &)=delete
 
AVCodecWrapperoperator= (AVCodecWrapper &)=delete
 
 AVCodecWrapper (AVCodecWrapper &&)=delete
 
AVCodecWrapperoperator= (AVCodecWrapper &&)=delete
 
 AVCodecWrapper (const AVCodec *wrapped) noexcept
 
const AVCodecGetWrappedValue () const noexcept
 
virtual ~AVCodecWrapper ()=default
 
virtual const char * GetName () const noexcept=0
 
virtual const char * GetLongName () const noexcept=0
 
virtual AVMediaTypeFwd GetType () const noexcept=0
 
virtual AVCodecIDFwd GetId () const noexcept=0
 
virtual int GetCapabilities () const noexcept=0
 
virtual const AVRationalGetSupportedFramerates () const noexcept=0
 
virtual const AVMediaTypeFwdGetPixFmts () const noexcept=0
 
virtual const int * GetSupportedSamplerates () const noexcept=0
 
virtual const AVSampleFormatFwdGetSampleFmts () const noexcept=0
 
virtual uint8_t GetMaxLowres () const noexcept=0
 
virtual bool IsAudio () const noexcept=0
 

Protected Attributes

const AVCodecmAVCodec { nullptr }
 

Detailed Description

Definition at line 20 of file AVCodecWrapper.h.

Constructor & Destructor Documentation

◆ AVCodecWrapper() [1/3]

AVCodecWrapper::AVCodecWrapper ( const AVCodecWrapper )
delete

◆ AVCodecWrapper() [2/3]

AVCodecWrapper::AVCodecWrapper ( AVCodecWrapper &&  )
delete

◆ AVCodecWrapper() [3/3]

AVCodecWrapper::AVCodecWrapper ( const AVCodec wrapped)
explicitnoexcept

Definition at line 15 of file AVCodecWrapper.cpp.

16 : mAVCodec(wrapped)
17{
18}
const AVCodec * mAVCodec

◆ ~AVCodecWrapper()

virtual AVCodecWrapper::~AVCodecWrapper ( )
virtualdefault

Member Function Documentation

◆ GetCapabilities()

virtual int AVCodecWrapper::GetCapabilities ( ) const
pure virtualnoexcept

◆ GetId()

virtual AVCodecIDFwd AVCodecWrapper::GetId ( ) const
pure virtualnoexcept

Referenced by ExportFFmpegOptions::EnableDisableControls().

Here is the caller graph for this function:

◆ GetLongName()

virtual const char * AVCodecWrapper::GetLongName ( ) const
pure virtualnoexcept

◆ GetMaxLowres()

virtual uint8_t AVCodecWrapper::GetMaxLowres ( ) const
pure virtualnoexcept

◆ GetName()

virtual const char * AVCodecWrapper::GetName ( ) const
pure virtualnoexcept

◆ GetPixFmts()

virtual const AVMediaTypeFwd * AVCodecWrapper::GetPixFmts ( ) const
pure virtualnoexcept

◆ GetSampleFmts()

virtual const AVSampleFormatFwd * AVCodecWrapper::GetSampleFmts ( ) const
pure virtualnoexcept

◆ GetSupportedFramerates()

virtual const AVRational * AVCodecWrapper::GetSupportedFramerates ( ) const
pure virtualnoexcept

◆ GetSupportedSamplerates()

virtual const int * AVCodecWrapper::GetSupportedSamplerates ( ) const
pure virtualnoexcept

◆ GetType()

virtual AVMediaTypeFwd AVCodecWrapper::GetType ( ) const
pure virtualnoexcept

◆ GetWrappedValue()

const AVCodec * AVCodecWrapper::GetWrappedValue ( ) const
noexcept

Definition at line 20 of file AVCodecWrapper.cpp.

21{
22 return mAVCodec;
23}

References mAVCodec.

◆ IsAudio()

virtual bool AVCodecWrapper::IsAudio ( ) const
pure virtualnoexcept

◆ operator=() [1/2]

AVCodecWrapper & AVCodecWrapper::operator= ( AVCodecWrapper &&  )
delete

◆ operator=() [2/2]

AVCodecWrapper & AVCodecWrapper::operator= ( AVCodecWrapper )
delete

Member Data Documentation

◆ mAVCodec

const AVCodec* AVCodecWrapper::mAVCodec { nullptr }
protected

Definition at line 49 of file AVCodecWrapper.h.

Referenced by GetWrappedValue().


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