Audacity 3.2.0
AVFormatFunctionsLoader.cpp
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 AVFormatFunctionsLoader.cpp
6
7 Dmitry Vedenko
8
9**********************************************************************/
10
12
13#include <wx/dynlib.h>
14
15#include "AVFormatFunctions.h"
17
18
20 const wxDynamicLibrary& lib, AVFormatFunctions& functions)
21{
37
42
43 return GetAVVersion(lib, "avformat_version", functions.AVFormatVersion);
44}
bool LoadAVFormatFunctions(const wxDynamicLibrary &lib, AVFormatFunctions &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 avformat_open_input(AVFormatContext **ps, const char *filename, AVInputFormat *fmt, AVDictionary **options)
unsigned int av_codec_get_tag(const struct AVCodecTag *const *tags, enum AVCodecID id)
AVIOContext * avio_alloc_context(unsigned char *buffer, int buffer_size, int write_flag, void *opaque, int(*read_packet)(void *opaque, uint8_t *buf, int buf_size), int(*write_packet)(void *opaque, uint8_t *buf, int buf_size), int64_t(*seek)(void *opaque, int64_t offset, int whence))
int av_interleaved_write_frame(AVFormatContext *s, AVPacket *pkt)
int64_t avio_size(AVIOContext *s)
int av_read_frame(AVFormatContext *s, AVPacket *pkt)
int avformat_write_header(AVFormatContext *s, AVDictionary **options)
int av_write_trailer(AVFormatContext *s)
AVStream * avformat_new_stream(AVFormatContext *s, const AVCodec *c)
AVOutputFormat * av_oformat_next(AVOutputFormat *f)
void av_register_all(void)
int av_seek_frame(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
AVFormatContext * avformat_alloc_context(void)
void avformat_free_context(AVFormatContext *s)
AVOutputFormat * av_guess_format(const char *short_name, const char *filename, const char *mime_type)
int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
void avformat_close_input(AVFormatContext **s)
void avio_context_free(AVIOContext **s)
const AVOutputFormat * av_muxer_iterate(void **opaque)
FFMPegVersion AVFormatVersion