Audacity 3.2.0
|
#include <FFmpegAPIResolver.h>
Public Member Functions | |
bool | GetAVCodecIDResolver (int avCodecVersion, AVCodecIDResolver &resolver) const |
bool | GetAVCodecFactories (int avCodecVersion, AVCodecFactories &factories) const |
bool | GetAVFormatFactories (int avFormatVersion, AVFormatFactories &factories) const |
bool | GetAVUtilFactories (int avUtilVersion, AVUtilFactories &factories) const |
void | AddAVCodecIDResolver (int avCodecVersion, const AVCodecIDResolver &resolver) |
void | AddAVCodecFactories (int avCodecVersion, const AVCodecFactories &factories) |
void | AddAVFormatFactories (int avFormatVersion, const AVFormatFactories &factories) |
void | AddAVUtilFactories (int avUtilVersion, const AVUtilFactories &factories) |
std::vector< int > | GetSuportedAVFormatVersions () const |
Static Public Member Functions | |
static FFmpegAPIResolver & | Get () |
Private Member Functions | |
FFmpegAPIResolver ()=default | |
Private Attributes | |
std::map< int, AVCodecIDResolver > | mAVCodecIDResolvers |
std::map< int, AVCodecFactories > | mAVCodecFactories |
std::map< int, AVFormatFactories > | mAVFormatFactories |
std::map< int, AVUtilFactories > | mAVUtilFactories |
Definition at line 71 of file FFmpegAPIResolver.h.
|
privatedefault |
void FFmpegAPIResolver::AddAVCodecFactories | ( | int | avCodecVersion, |
const AVCodecFactories & | factories | ||
) |
Definition at line 72 of file FFmpegAPIResolver.cpp.
References mAVCodecFactories.
void FFmpegAPIResolver::AddAVCodecIDResolver | ( | int | avCodecVersion, |
const AVCodecIDResolver & | resolver | ||
) |
Definition at line 67 of file FFmpegAPIResolver.cpp.
References mAVCodecIDResolvers.
void FFmpegAPIResolver::AddAVFormatFactories | ( | int | avFormatVersion, |
const AVFormatFactories & | factories | ||
) |
Definition at line 77 of file FFmpegAPIResolver.cpp.
References mAVFormatFactories.
void FFmpegAPIResolver::AddAVUtilFactories | ( | int | avUtilVersion, |
const AVUtilFactories & | factories | ||
) |
Definition at line 82 of file FFmpegAPIResolver.cpp.
References mAVUtilFactories.
|
static |
Definition at line 13 of file FFmpegAPIResolver.cpp.
Referenced by FFmpegFunctions::Load(), and FFmpegFunctions::Private::Load().
bool FFmpegAPIResolver::GetAVCodecFactories | ( | int | avCodecVersion, |
AVCodecFactories & | factories | ||
) | const |
Definition at line 31 of file FFmpegAPIResolver.cpp.
References mAVCodecFactories.
bool FFmpegAPIResolver::GetAVCodecIDResolver | ( | int | avCodecVersion, |
AVCodecIDResolver & | resolver | ||
) | const |
Definition at line 19 of file FFmpegAPIResolver.cpp.
References mAVCodecIDResolvers.
bool FFmpegAPIResolver::GetAVFormatFactories | ( | int | avFormatVersion, |
AVFormatFactories & | factories | ||
) | const |
Definition at line 43 of file FFmpegAPIResolver.cpp.
References mAVFormatFactories.
bool FFmpegAPIResolver::GetAVUtilFactories | ( | int | avUtilVersion, |
AVUtilFactories & | factories | ||
) | const |
Definition at line 55 of file FFmpegAPIResolver.cpp.
References mAVUtilFactories.
std::vector< int > FFmpegAPIResolver::GetSuportedAVFormatVersions | ( | ) | const |
Compatible library versions to be sought at load time, ordered by decreasing preference (that is, newest version first)
Definition at line 87 of file FFmpegAPIResolver.cpp.
References details::end(), and mAVFormatFactories.
Referenced by FFmpegFunctions::Load().
|
private |
Definition at line 94 of file FFmpegAPIResolver.h.
Referenced by AddAVCodecFactories(), and GetAVCodecFactories().
|
private |
Definition at line 93 of file FFmpegAPIResolver.h.
Referenced by AddAVCodecIDResolver(), and GetAVCodecIDResolver().
|
private |
Definition at line 95 of file FFmpegAPIResolver.h.
Referenced by AddAVFormatFactories(), GetAVFormatFactories(), and GetSuportedAVFormatVersions().
|
private |
Definition at line 96 of file FFmpegAPIResolver.h.
Referenced by AddAVUtilFactories(), and GetAVUtilFactories().