Audacity 3.2.0
AVUtilFunctionsLoader.cpp
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 AVUtilFunctionLoader.cpp
6
7 Dmitry Vedenko
8
9**********************************************************************/
10
12
13#include <wx/dynlib.h>
14
15#include "AVUtilFunctions.h"
17
18
20 const wxDynamicLibrary& lib, AVUtilFunctions& functions)
21{
32
38
41
42 return GetAVVersion(lib, "avutil_version", functions.AVUtilVersion);
43}
bool LoadAVUtilFunctions(const wxDynamicLibrary &lib, AVUtilFunctions &functions)
bool GetAVVersion(const wxDynamicLibrary &lib, const char *name, FFMPegVersion &version)
#define RESOLVE(name)
Requires the named function to be found in the library, else load fails.
#define GET_SYMBOL(name)
Does not require the named function to be found in the library.
int av_get_bytes_per_sample(enum AVSampleFormat sample_fmt)
void av_free(void *ptr)
void av_log_set_callback(void(*callback)(void *, int, const char *, va_list))
void av_dict_free(AVDictionary **m)
AVDictionaryEntry * av_dict_get(FF_CONST_AVUTIL53 AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags)
int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
void av_log_default_callback(void *avcl, int level, const char *fmt, va_list vl)
char * av_strdup(const char *s) av_malloc_attrib
int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags)
void av_frame_free(AVFrame **frame)
int av_samples_get_buffer_size(int *linesize, int nb_channels, int nb_samples, enum AVSampleFormat sample_fmt, int align)
void * av_malloc(size_t size) av_malloc_attrib av_alloc_size(1)
AVFrame * av_frame_alloc(void)
void av_dict_copy(AVDictionary **dst, FF_CONST_AVUTIL53 AVDictionary *src, int flags)
int64_t av_get_default_channel_layout(int nb_channels)
int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) av_const
void av_channel_layout_default(AVChannelLayout *ch_layout, int nb_channels)
FFMPegVersion AVUtilVersion