Audacity 3.2.0
Functions
AVFormatFunctionsLoader.cpp File Reference
#include "AVFormatFunctionsLoader.h"
#include <wx/dynlib.h>
#include "AVFormatFunctions.h"
#include "impl/DynamicLibraryHelpers.h"
Include dependency graph for AVFormatFunctionsLoader.cpp:

Go to the source code of this file.

Functions

bool LoadAVFormatFunctions (const wxDynamicLibrary &lib, AVFormatFunctions &functions)
 

Function Documentation

◆ LoadAVFormatFunctions()

bool LoadAVFormatFunctions ( const wxDynamicLibrary &  lib,
AVFormatFunctions functions 
)

Definition at line 19 of file AVFormatFunctionsLoader.cpp.

21{
37
42
43 return GetAVVersion(lib, "avformat_version", functions.AVFormatVersion);
44}
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

References av_codec_get_tag(), av_guess_format(), av_interleaved_write_frame(), av_muxer_iterate(), av_oformat_next(), av_read_frame(), av_register_all(), av_seek_frame(), av_write_trailer(), avformat_alloc_context(), avformat_close_input(), avformat_find_stream_info(), avformat_free_context(), avformat_new_stream(), avformat_open_input(), avformat_write_header(), AVFormatFunctions::AVFormatVersion, avio_alloc_context(), avio_context_free(), avio_size(), GET_SYMBOL, GetAVVersion(), and RESOLVE.

Referenced by FFmpegFunctions::Private::Load().

Here is the call graph for this function:
Here is the caller graph for this function: