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
FFmpegAPIResolver()=default
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
std::unique_ptr< AVCodecWrapper >(* CreateAVCodecWrapper)(const AVCodec *)
std::unique_ptr< AVPacketWrapper >(* CreateAVPacketWrapper)(const FFmpegFunctions &)
std::unique_ptr< AVCodecContextWrapper >(* CreateAVCodecContextWrapper)(const FFmpegFunctions &, AVCodecContext *)
std::unique_ptr< AVCodecContextWrapper >(* CreateAVCodecContextWrapperFromCodec)(const FFmpegFunctions &, std::unique_ptr< AVCodecWrapper >)
AudacityAVCodecID(* GetAudacityCodecID)(AVCodecIDFwd)
AVCodecIDFwd(* GetAVCodecID)(AudacityAVCodecID)
std::unique_ptr< AVFrameWrapper >(* CreateAVFrameWrapper)(const FFmpegFunctions &)
std::unique_ptr< AVChannelLayoutWrapper >(* CreateLegacyChannelLayout)(const FFmpegFunctions &, uint64_t layout, int channelsCount)
std::unique_ptr< AVChannelLayoutWrapper >(* CreateAVChannelLayout)(const FFmpegFunctions &, const AVChannelLayout *layout)
std::unique_ptr< AVChannelLayoutWrapper >(* CreateDefaultChannelLayout)(const FFmpegFunctions &, int channelsCount)
std::unique_ptr< FFmpegLog >(* CreateLogCallbackSetter)(const FFmpegFunctions &)