26 resolver = it->second;
38 factories = it->second;
50 factories = it->second;
62 factories = it->second;
89 std::vector<int> result;
95 result.emplace_back(it->first);
void AddAVCodecIDResolver(int avCodecVersion, const AVCodecIDResolver &resolver)
void AddAVFormatFactories(int avFormatVersion, const AVFormatFactories &factories)
bool GetAVCodecFactories(int avCodecVersion, AVCodecFactories &factories) const
bool GetAVFormatFactories(int avFormatVersion, AVFormatFactories &factories) const
bool GetAVUtilFactories(int avUtilVersion, AVUtilFactories &factories) const
std::vector< int > GetSuportedAVFormatVersions() const
std::map< int, AVUtilFactories > mAVUtilFactories
std::map< int, AVCodecFactories > mAVCodecFactories
void AddAVCodecFactories(int avCodecVersion, const AVCodecFactories &factories)
bool GetAVCodecIDResolver(int avCodecVersion, AVCodecIDResolver &resolver) const
void AddAVUtilFactories(int avUtilVersion, const AVUtilFactories &factories)
static FFmpegAPIResolver & Get()
std::map< int, AVFormatFactories > mAVFormatFactories
std::map< int, AVCodecIDResolver > mAVCodecIDResolvers
const char * end(const char *str) noexcept