DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
 
av_backend_libav.c File Reference
#include "darkplaces.h"
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
+ Include dependency graph for av_backend_libav.c:

Go to the source code of this file.

Functions

qbool LibAV_LoadLibrary (void)
 

Variables

static dllhandle_t libavcodec_dll = NULL
 
static dllfunction_t libavcodecfuncs []
 
static dllhandle_t libavformat_dll = NULL
 
static dllfunction_t libavformatfuncs []
 
int(* qav_add_index_entry )(AVStream *st, int64_t pos, int64_t timestamp, int size, int distance, int flags)
 
enum AVCodecID(* qav_codec_get_id )(const struct AVCodecTag *const *tags, unsigned int tag)
 
unsigned int(* qav_codec_get_tag )(const struct AVCodecTag *const *tags, enum AVCodecID id)
 
int(* qav_codec_get_tag2 )(const struct AVCodecTag *const *tags, enum AVCodecID id, unsigned int *tag)
 
const AVCodec *(* qav_codec_iterate )(void **opaque)
 
void(* qav_dump_format )(AVFormatContext *ic, int index, const char *url, int is_output)
 
int(* qav_filename_number_test )(const char *filename)
 
int(* qav_find_best_stream )(AVFormatContext *ic, enum AVMediaType type, int wanted_stream_nb, int related_stream, AVCodec **decoder_ret, int flags)
 
int(* qav_find_default_stream_index )(AVFormatContext *s)
 
AVInputFormat *(* qav_find_input_format )(const char *short_name)
 
AVProgram *(* qav_find_program_from_stream )(AVFormatContext *ic, AVProgram *last, int s)
 
int(* qav_get_frame_filename )(char *buf, int buf_size, const char *path, int number)
 
int(* qav_get_frame_filename2 )(char *buf, int buf_size, const char *path, int number, int flags)
 
int(* qav_get_output_timestamp )(struct AVFormatContext *s, int stream, int64_t *dts, int64_t *wall)
 
enum AVCodecID(* qav_guess_codec )(AVOutputFormat *fmt, const char *short_name, const char *filename, const char *mime_type, enum AVMediaType type)
 
AVOutputFormat *(* qav_guess_format )(const char *short_name, const char *filename, const char *mime_type)
 
AVRational(* qav_guess_frame_rate )(AVFormatContext *ctx, AVStream *stream, AVFrame *frame)
 
AVRational(* qav_guess_sample_aspect_ratio )(AVFormatContext *format, AVStream *stream, AVFrame *frame)
 
void(* qav_hex_dump )(FILE *f, const uint8_t *buf, int size)
 
void(* qav_hex_dump_log )(void *avcl, int level, const uint8_t *buf, int size)
 
AVInputFormat *(* qav_iformat_next )(const AVInputFormat *f)
 
int(* qav_index_search_timestamp )(AVStream *st, int64_t timestamp, int flags)
 
int(* qav_interleaved_write_frame )(AVFormatContext *s, AVPacket *pkt)
 
int(* qav_interleaved_write_uncoded_frame )(AVFormatContext *s, int stream_index, AVFrame *frame)
 
int(* qav_match_ext )(const char *filename, const char *extensions)
 
AVProgram *(* qav_new_program )(AVFormatContext *s, int id)
 
AVOutputFormat *(* qav_oformat_next )(const AVOutputFormat *f)
 
void(* qav_pkt_dump2 )(FILE *f, const AVPacket *pkt, int dump_payload, const AVStream *st)
 
void(* qav_pkt_dump_log2 )(void *avcl, int level, const AVPacket *pkt, int dump_payload, const AVStream *st)
 
int(* qav_probe_input_buffer )(AVIOContext *pb, AVInputFormat **fmt, const char *url, void *logctx, unsigned int offset, unsigned int max_probe_size)
 
int(* qav_probe_input_buffer2 )(AVIOContext *pb, AVInputFormat **fmt, const char *url, void *logctx, unsigned int offset, unsigned int max_probe_size)
 
AVInputFormat *(* qav_probe_input_format )(AVProbeData *pd, int is_opened)
 
AVInputFormat *(* qav_probe_input_format2 )(AVProbeData *pd, int is_opened, int *score_max)
 
AVInputFormat *(* qav_probe_input_format3 )(AVProbeData *pd, int is_opened, int *score_ret)
 
void(* qav_program_add_stream_index )(AVFormatContext *ac, int progid, unsigned int idx)
 
int(* qav_read_frame )(AVFormatContext *s, AVPacket *pkt)
 
int(* qav_read_pause )(AVFormatContext *s)
 
int(* qav_read_play )(AVFormatContext *s)
 
void(* qav_register_all )(void)
 
void(* qav_register_input_format )(AVInputFormat *format)
 
void(* qav_register_output_format )(AVOutputFormat *format)
 
int(* qav_sdp_create )(AVFormatContext *ac[], int n_files, char *buf, int size)
 
int(* qav_seek_frame )(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
 
AVRational(* qav_stream_get_codec_timebase )(const AVStream *st)
 
uint8_t *(* qav_stream_get_side_data )(const AVStream *stream, enum AVPacketSideDataType type, int *size)
 
uint8_t *(* qav_stream_new_side_data )(AVStream *stream, enum AVPacketSideDataType type, int size)
 
void(* qav_url_split )(char *proto, int proto_size, char *authorization, int authorization_size, char *hostname, int hostname_size, int *port_ptr, char *path, int path_size, const char *url)
 
int(* qav_write_frame )(AVFormatContext *s, AVPacket *pkt)
 
int(* qav_write_trailer )(AVFormatContext *s)
 
int(* qav_write_uncoded_frame )(AVFormatContext *s, int stream_index, AVFrame *frame)
 
int(* qav_write_uncoded_frame_query )(AVFormatContext *s, int stream_index)
 
void(* qavcodec_align_dimensions )(AVCodecContext *s, int *width, int *height)
 
void(* qavcodec_align_dimensions2 )(AVCodecContext *s, int *width, int *height, int linesize_align[AV_NUM_DATA_POINTERS])
 
AVCodecContext *(* qavcodec_alloc_context3 )(const AVCodec *codec)
 
enum AVChromaLocation(* qavcodec_chroma_pos_to_enum )(int xpos, int ypos)
 
int(* qavcodec_close )(AVCodecContext *avctx)
 
const char *(* qavcodec_configuration )(void)
 
int(* qavcodec_default_get_buffer2 )(AVCodecContext *s, AVFrame *frame, int flags)
 
int(* qavcodec_encode_subtitle )(AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVSubtitle *sub)
 
int(* qavcodec_enum_to_chroma_pos )(int *xpos, int *ypos, enum AVChromaLocation pos)
 
AVCodec *(* qavcodec_find_decoder )(enum AVCodecID id)
 
AVCodec *(* qavcodec_find_decoder_by_name )(const char *name)
 
AVCodec *(* qavcodec_find_encoder )(enum AVCodecID id)
 
AVCodec *(* qavcodec_find_encoder_by_name )(const char *name)
 
void(* qavcodec_free_context )(AVCodecContext **avctx)
 
const AVClass *(* qavcodec_get_class )(void)
 
int(* qavcodec_get_context_defaults3 )(AVCodecContext *s, const AVCodec *codec)
 
const AVClass *(* qavcodec_get_frame_class )(void)
 
const AVCodecHWConfig *(* qavcodec_get_hw_config )(const AVCodec *codec, int index)
 
int(* qavcodec_get_hw_frames_parameters )(AVCodecContext *avctx, AVBufferRef *device_ref, enum AVPixelFormat hw_pix_fmt, AVBufferRef **out_frames_ref)
 
const AVClass *(* qavcodec_get_subtitle_rect_class )(void)
 
const char *(* qavcodec_license )(void)
 
int(* qavcodec_open2 )(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options)
 
AVCodecParameters *(* qavcodec_parameters_alloc )(void)
 
int(* qavcodec_parameters_copy )(AVCodecParameters *dst, const AVCodecParameters *src)
 
void(* qavcodec_parameters_free )(AVCodecParameters **par)
 
int(* qavcodec_parameters_from_context )(AVCodecParameters *par, const AVCodecContext *codec)
 
int(* qavcodec_parameters_to_context )(AVCodecContext *codec, const AVCodecParameters *par)
 
int(* qavcodec_receive_frame )(AVCodecContext *avctx, AVFrame *frame)
 
int(* qavcodec_receive_packet )(AVCodecContext *avctx, AVPacket *avpkt)
 
int(* qavcodec_send_frame )(AVCodecContext *avctx, const AVFrame *frame)
 
int(* qavcodec_send_packet )(AVCodecContext *avctx, const AVPacket *avpkt)
 
unsigned(* qavcodec_version )(void)
 
AVFormatContext *(* qavformat_alloc_context )(void)
 
void(* qavformat_close_input )(AVFormatContext **s)
 
const char *(* qavformat_configuration )(void)
 
int(* qavformat_find_stream_info )(AVFormatContext *ic, AVDictionary **options)
 
int(* qavformat_flush )(AVFormatContext *s)
 
void(* qavformat_free_context )(AVFormatContext *s)
 
const AVClass *(* qavformat_get_class )(void)
 
av_warn_unused_result int(* qavformat_init_output )(AVFormatContext *s, AVDictionary **options)
 
const char *(* qavformat_license )(void)
 
int(* qavformat_match_stream_specifier )(AVFormatContext *s, AVStream *st, const char *spec)
 
int(* qavformat_network_deinit )(void)
 
int(* qavformat_network_init )(void)
 
AVStream *(* qavformat_new_stream )(AVFormatContext *s, const AVCodec *c)
 
int(* qavformat_open_input )(AVFormatContext **ps, const char *url, AVInputFormat *fmt, AVDictionary **options)
 
int(* qavformat_query_codec )(const AVOutputFormat *ofmt, enum AVCodecID codec_id, int std_compliance)
 
int(* qavformat_queue_attached_pictures )(AVFormatContext *s)
 
int(* qavformat_seek_file )(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags)
 
int(* qavformat_transfer_internal_stream_timing_info )(const AVOutputFormat *ofmt, AVStream *ost, const AVStream *ist, enum AVTimebaseSource copy_tb)
 
unsigned(* qavformat_version )(void)
 
av_warn_unused_result int(* qavformat_write_header )(AVFormatContext *s, AVDictionary **options)
 
void(* qavsubtitle_free )(AVSubtitle *sub)
 

Function Documentation

◆ LibAV_LoadLibrary()

qbool LibAV_LoadLibrary ( void )

Definition at line 258 of file av_backend_libav.c.

259{
260 const char* dllnames_libavcodec [] =
261 {
262#if defined(WIN32)
263 "libavcodec.dll",
264#elif defined(MACOSX)
265 "libavcodec.dylib",
266#else
267 "libavcodec.so",
268#endif
269 NULL
270 };
271
272 const char* dllnames_libavformat [] =
273 {
274#if defined(WIN32)
275 "libavformat.dll",
276#elif defined(MACOSX)
277 "libavformat.dylib",
278#else
279 "libavformat.so",
280#endif
281 NULL
282 };
283
284 if (libavcodec_dll && libavformat_dll) // Already loaded?
285 return true;
286
287// COMMANDLINEOPTION: -nolibav disables libav support
288 if (Sys_CheckParm("-nolibav"))
289 return false;
290
291 // Load the DLL
292 if (Sys_LoadDependency (dllnames_libavcodec, &libavcodec_dll, libavcodecfuncs))
293 {
294 if(Sys_LoadDependency(dllnames_libavformat, &libavformat_dll, libavformatfuncs))
295 return true;
296 Con_Printf(CON_ERROR "Failed to load the libavformat library. Cannot use libavcodec without it\n");
298 }
299
300 return false;
301}
static dllfunction_t libavformatfuncs[]
static dllhandle_t libavcodec_dll
static dllfunction_t libavcodecfuncs[]
static dllhandle_t libavformat_dll
void Con_Printf(const char *fmt,...)
Prints to all appropriate console targets.
Definition console.c:1514
#define CON_ERROR
Definition console.h:102
#define NULL
Definition qtypes.h:12
qbool Sys_LoadDependency(const char **dllnames, dllhandle_t *handle, const dllfunction_t *fcts)
Definition sys_shared.c:131
void Sys_FreeLibrary(dllhandle_t *handle)
Definition sys_shared.c:245
int Sys_CheckParm(const char *parm)
Definition sys_shared.c:327

References CON_ERROR, Con_Printf(), libavcodec_dll, libavcodecfuncs, libavformat_dll, libavformatfuncs, NULL, Sys_CheckParm(), Sys_FreeLibrary(), and Sys_LoadDependency().

Variable Documentation

◆ libavcodec_dll

dllhandle_t libavcodec_dll = NULL
static

Definition at line 255 of file av_backend_libav.c.

Referenced by LibAV_LoadLibrary().

◆ libavcodecfuncs

dllfunction_t libavcodecfuncs[]
static

Definition at line 144 of file av_backend_libav.c.

145{
146 {"avcodec_find_decoder", (void **) &qavcodec_find_decoder},
147 {"avcodec_find_decoder_by_name", (void **) &qavcodec_find_decoder_by_name},
148 {"avcodec_default_get_buffer2", (void **) &qavcodec_default_get_buffer2},
149 {"avcodec_align_dimensions", (void **) &qavcodec_align_dimensions},
150 {"avcodec_align_dimensions2", (void **) &qavcodec_align_dimensions},
151 {"avcodec_enum_to_chroma_pos", (void **) &qavcodec_enum_to_chroma_pos},
152 {"avcodec_chroma_pos_to_enum", (void **) &qavcodec_chroma_pos_to_enum},
153 {"avcodec_send_packet", (void **) &qavcodec_send_packet},
154 {"avcodec_receive_frame", (void **) &qavcodec_receive_frame},
155 {"avcodec_send_frame", (void **) &qavcodec_send_frame},
156 {"avcodec_receive_packet", (void **) &qavcodec_receive_packet},
157 {"avcodec_get_hw_frames_parameters", (void **) &qavcodec_get_hw_frames_parameters},
158 {"avcodec_get_hw_config", (void **) &qavcodec_get_hw_config},
159 {"av_codec_iterate", (void **) &qav_codec_iterate},
160 {"avcodec_version", (void **) &qavcodec_version},
161 {"avcodec_configuration", (void **) &qavcodec_configuration},
162 {"avcodec_license", (void **) &qavcodec_license},
163 {"avcodec_alloc_context3", (void **) &qavcodec_alloc_context3},
164 {"avcodec_free_context", (void **) &qavcodec_free_context},
165 {"avcodec_get_context_defaults3", (void **) &qavcodec_get_context_defaults3},
166 {"avcodec_get_class", (void **) &qavcodec_get_class},
167 {"avcodec_get_frame_class", (void **) &qavcodec_get_frame_class},
168 {"avcodec_get_subtitle_rect_class", (void **) &qavcodec_get_subtitle_rect_class},
169 {"avcodec_parameters_alloc", (void **) &qavcodec_parameters_alloc},
170 {"avcodec_parameters_free", (void **) &qavcodec_parameters_free},
171 {"avcodec_parameters_copy", (void **) &qavcodec_parameters_copy},
172 {"avcodec_parameters_from_context", (void **) &qavcodec_parameters_from_context},
173 {"avcodec_parameters_to_context", (void **) &qavcodec_parameters_to_context},
174 {"avcodec_open2", (void **) &qavcodec_open2},
175 {"avcodec_close", (void **) &qavcodec_close},
176 {"avsubtitle_free", (void **) &qavsubtitle_free},
177 {NULL, NULL}
178};
int(* qavcodec_default_get_buffer2)(AVCodecContext *s, AVFrame *frame, int flags)
AVCodecParameters *(* qavcodec_parameters_alloc)(void)
int(* qavcodec_enum_to_chroma_pos)(int *xpos, int *ypos, enum AVChromaLocation pos)
void(* qavcodec_free_context)(AVCodecContext **avctx)
int(* qavcodec_parameters_from_context)(AVCodecParameters *par, const AVCodecContext *codec)
const AVCodecHWConfig *(* qavcodec_get_hw_config)(const AVCodec *codec, int index)
AVCodecContext *(* qavcodec_alloc_context3)(const AVCodec *codec)
AVCodec *(* qavcodec_find_decoder)(enum AVCodecID id)
enum AVChromaLocation(* qavcodec_chroma_pos_to_enum)(int xpos, int ypos)
const AVCodec *(* qav_codec_iterate)(void **opaque)
int(* qavcodec_send_packet)(AVCodecContext *avctx, const AVPacket *avpkt)
int(* qavcodec_close)(AVCodecContext *avctx)
int(* qavcodec_parameters_to_context)(AVCodecContext *codec, const AVCodecParameters *par)
int(* qavcodec_parameters_copy)(AVCodecParameters *dst, const AVCodecParameters *src)
const char *(* qavcodec_configuration)(void)
void(* qavcodec_parameters_free)(AVCodecParameters **par)
int(* qavcodec_send_frame)(AVCodecContext *avctx, const AVFrame *frame)
const char *(* qavcodec_license)(void)
void(* qavcodec_align_dimensions)(AVCodecContext *s, int *width, int *height)
int(* qavcodec_receive_frame)(AVCodecContext *avctx, AVFrame *frame)
const AVClass *(* qavcodec_get_class)(void)
int(* qavcodec_get_context_defaults3)(AVCodecContext *s, const AVCodec *codec)
int(* qavcodec_receive_packet)(AVCodecContext *avctx, AVPacket *avpkt)
unsigned(* qavcodec_version)(void)
int(* qavcodec_get_hw_frames_parameters)(AVCodecContext *avctx, AVBufferRef *device_ref, enum AVPixelFormat hw_pix_fmt, AVBufferRef **out_frames_ref)
void(* qavsubtitle_free)(AVSubtitle *sub)
const AVClass *(* qavcodec_get_subtitle_rect_class)(void)
int(* qavcodec_open2)(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options)
AVCodec *(* qavcodec_find_decoder_by_name)(const char *name)
const AVClass *(* qavcodec_get_frame_class)(void)

Referenced by LibAV_LoadLibrary().

◆ libavformat_dll

dllhandle_t libavformat_dll = NULL
static

Definition at line 256 of file av_backend_libav.c.

Referenced by LibAV_LoadLibrary().

◆ libavformatfuncs

dllfunction_t libavformatfuncs[]
static

Definition at line 180 of file av_backend_libav.c.

181{
182 {"av_find_input_format", (void **) &qav_find_input_format},
183 {"av_probe_input_format", (void **) &qav_probe_input_format},
184 {"av_probe_input_format2", (void **) &qav_probe_input_format2},
185 {"av_probe_input_format3", (void **) &qav_probe_input_format3},
186 {"av_probe_input_buffer2", (void **) &qav_probe_input_buffer2},
187 {"av_probe_input_buffer", (void **) &qav_probe_input_buffer},
188 {"avformat_open_input", (void **) &qavformat_open_input},
189 {"avformat_find_stream_info", (void **) &qavformat_find_stream_info},
190 {"av_find_program_from_stream", (void **) &qav_find_program_from_stream},
191 {"av_program_add_stream_index", (void **) &qav_program_add_stream_index},
192 {"av_find_best_stream", (void **) &qav_find_best_stream},
193 {"av_read_frame", (void **) &qav_read_frame},
194 {"av_seek_frame", (void **) &qav_seek_frame},
195 {"avformat_seek_file", (void **) &qavformat_seek_file},
196 {"avformat_flush", (void **) &qavformat_flush},
197 {"av_read_play", (void **) &qav_read_play},
198 {"av_read_pause", (void **) &qav_read_pause},
199 {"avformat_close_input", (void **) &qavformat_close_input},
200 {"avformat_write_header", (void **) &qavformat_write_header},
201 {"avformat_init_output", (void **) &qavformat_init_output},
202 {"av_write_frame", (void **) &qav_write_frame},
203 {"av_interleaved_write_frame", (void **) &qav_interleaved_write_frame},
204 {"av_write_uncoded_frame", (void **) &qav_write_uncoded_frame},
205 {"av_interleaved_write_uncoded_frame", (void **) &qav_interleaved_write_uncoded_frame},
206 {"av_write_uncoded_frame_query", (void **) &qav_write_uncoded_frame_query},
207 {"av_write_trailer", (void **) &qav_write_trailer},
208 {"av_guess_format", (void **) &qav_guess_format},
209 {"av_guess_codec", (void **) &qav_guess_codec},
210 {"av_get_output_timestamp", (void **) &qav_get_output_timestamp},
211 {"avformat_version", (void **) &qavformat_version},
212 {"avformat_configuration", (void **) &qavformat_configuration},
213 {"avformat_license", (void **) &qavformat_license},
214 {"av_register_all", (void **) &qav_register_all},
215 {"av_register_input_format", (void **) &qav_register_input_format},
216 {"av_register_output_format", (void **) &qav_register_output_format},
217 {"avformat_network_init", (void **) &qavformat_network_init},
218 {"avformat_network_deinit", (void **) &qavformat_network_deinit},
219 {"av_iformat_next", (void **) &qav_iformat_next},
220 {"av_oformat_next", (void **) &qav_oformat_next},
221 {"avformat_alloc_context", (void **) &qavformat_alloc_context},
222 {"avformat_free_context", (void **) &qavformat_free_context},
223 {"avformat_get_class", (void **) &qavformat_get_class},
224 {"avformat_new_stream", (void **) &qavformat_new_stream},
225 {"av_stream_new_side_data", (void **) &qav_stream_new_side_data},
226 {"av_stream_get_side_data", (void **) &qav_stream_get_side_data},
227 {"av_new_program", (void **) &qav_new_program},
228 {"av_hex_dump", (void **) &qav_hex_dump},
229 {"av_hex_dump_log", (void **) &qav_hex_dump_log},
230 {"av_pkt_dump2", (void **) &qav_pkt_dump2},
231 {"av_pkt_dump_log2", (void **) &qav_pkt_dump_log2},
232 {"av_codec_get_id", (void **) &qav_codec_get_id},
233 {"av_codec_get_tag", (void **) &qav_codec_get_tag},
234 {"av_codec_get_tag2", (void **) &qav_codec_get_tag2},
235 {"av_find_default_stream_index", (void **) &qav_find_default_stream_index},
236 {"av_index_search_timestamp", (void **) &qav_index_search_timestamp},
237 {"av_add_index_entry", (void **) &qav_add_index_entry},
238 {"av_url_split", (void **) &qav_url_split},
239 {"av_dump_format", (void **) &qav_dump_format},
240 {"av_get_frame_filename2", (void **) &qav_get_frame_filename2},
241 {"av_get_frame_filename", (void **) &qav_get_frame_filename},
242 {"av_filename_number_test", (void **) &qav_filename_number_test},
243 {"av_sdp_create", (void **) &qav_sdp_create},
244 {"av_match_ext", (void **) &qav_match_ext},
245 {"avformat_query_codec", (void **) &qavformat_query_codec},
246 {"av_guess_sample_aspect_ratio", (void **) &qav_guess_sample_aspect_ratio},
247 {"av_guess_frame_rate", (void **) &qav_guess_frame_rate},
248 {"avformat_match_stream_specifier", (void **) &qavformat_match_stream_specifier},
249 {"avformat_queue_attached_pictures", (void **) &qavformat_queue_attached_pictures},
250 {"avformat_transfer_internal_stream_timing_info", (void **) &qavformat_transfer_internal_stream_timing_info},
251 {"av_stream_get_codec_timebase", (void **) &qav_stream_get_codec_timebase},
252 {NULL, NULL}
253};
int(* qavformat_transfer_internal_stream_timing_info)(const AVOutputFormat *ofmt, AVStream *ost, const AVStream *ist, enum AVTimebaseSource copy_tb)
void(* qav_dump_format)(AVFormatContext *ic, int index, const char *url, int is_output)
int(* qav_codec_get_tag2)(const struct AVCodecTag *const *tags, enum AVCodecID id, unsigned int *tag)
int(* qav_find_default_stream_index)(AVFormatContext *s)
int(* qav_match_ext)(const char *filename, const char *extensions)
AVRational(* qav_stream_get_codec_timebase)(const AVStream *st)
AVFormatContext *(* qavformat_alloc_context)(void)
void(* qav_pkt_dump2)(FILE *f, const AVPacket *pkt, int dump_payload, const AVStream *st)
int(* qavformat_open_input)(AVFormatContext **ps, const char *url, AVInputFormat *fmt, AVDictionary **options)
enum AVCodecID(* qav_guess_codec)(AVOutputFormat *fmt, const char *short_name, const char *filename, const char *mime_type, enum AVMediaType type)
int(* qavformat_query_codec)(const AVOutputFormat *ofmt, enum AVCodecID codec_id, int std_compliance)
void(* qav_program_add_stream_index)(AVFormatContext *ac, int progid, unsigned int idx)
av_warn_unused_result int(* qavformat_init_output)(AVFormatContext *s, AVDictionary **options)
uint8_t *(* qav_stream_new_side_data)(AVStream *stream, enum AVPacketSideDataType type, int size)
int(* qav_write_uncoded_frame_query)(AVFormatContext *s, int stream_index)
AVProgram *(* qav_new_program)(AVFormatContext *s, int id)
enum AVCodecID(* qav_codec_get_id)(const struct AVCodecTag *const *tags, unsigned int tag)
AVRational(* qav_guess_sample_aspect_ratio)(AVFormatContext *format, AVStream *stream, AVFrame *frame)
const AVClass *(* qavformat_get_class)(void)
int(* qav_read_pause)(AVFormatContext *s)
int(* qav_interleaved_write_frame)(AVFormatContext *s, AVPacket *pkt)
int(* qav_read_play)(AVFormatContext *s)
void(* qavformat_close_input)(AVFormatContext **s)
void(* qav_url_split)(char *proto, int proto_size, char *authorization, int authorization_size, char *hostname, int hostname_size, int *port_ptr, char *path, int path_size, const char *url)
AVInputFormat *(* qav_probe_input_format)(AVProbeData *pd, int is_opened)
int(* qav_write_frame)(AVFormatContext *s, AVPacket *pkt)
const char *(* qavformat_license)(void)
void(* qav_hex_dump_log)(void *avcl, int level, const uint8_t *buf, int size)
int(* qavformat_queue_attached_pictures)(AVFormatContext *s)
void(* qav_register_output_format)(AVOutputFormat *format)
const char *(* qavformat_configuration)(void)
AVOutputFormat *(* qav_oformat_next)(const AVOutputFormat *f)
int(* qav_read_frame)(AVFormatContext *s, AVPacket *pkt)
AVInputFormat *(* qav_find_input_format)(const char *short_name)
void(* qav_register_input_format)(AVInputFormat *format)
void(* qav_register_all)(void)
AVStream *(* qavformat_new_stream)(AVFormatContext *s, const AVCodec *c)
int(* qav_index_search_timestamp)(AVStream *st, int64_t timestamp, int flags)
int(* qav_find_best_stream)(AVFormatContext *ic, enum AVMediaType type, int wanted_stream_nb, int related_stream, AVCodec **decoder_ret, int flags)
int(* qav_get_frame_filename)(char *buf, int buf_size, const char *path, int number)
void(* qavformat_free_context)(AVFormatContext *s)
int(* qavformat_find_stream_info)(AVFormatContext *ic, AVDictionary **options)
int(* qavformat_network_deinit)(void)
int(* qavformat_match_stream_specifier)(AVFormatContext *s, AVStream *st, const char *spec)
int(* qavformat_network_init)(void)
AVRational(* qav_guess_frame_rate)(AVFormatContext *ctx, AVStream *stream, AVFrame *frame)
AVProgram *(* qav_find_program_from_stream)(AVFormatContext *ic, AVProgram *last, int s)
AVInputFormat *(* qav_probe_input_format3)(AVProbeData *pd, int is_opened, int *score_ret)
int(* qavformat_flush)(AVFormatContext *s)
int(* qav_write_uncoded_frame)(AVFormatContext *s, int stream_index, AVFrame *frame)
int(* qav_probe_input_buffer)(AVIOContext *pb, AVInputFormat **fmt, const char *url, void *logctx, unsigned int offset, unsigned int max_probe_size)
int(* qav_sdp_create)(AVFormatContext *ac[], int n_files, char *buf, int size)
int(* qav_filename_number_test)(const char *filename)
int(* qav_add_index_entry)(AVStream *st, int64_t pos, int64_t timestamp, int size, int distance, int flags)
AVInputFormat *(* qav_probe_input_format2)(AVProbeData *pd, int is_opened, int *score_max)
int(* qav_interleaved_write_uncoded_frame)(AVFormatContext *s, int stream_index, AVFrame *frame)
av_warn_unused_result int(* qavformat_write_header)(AVFormatContext *s, AVDictionary **options)
void(* qav_hex_dump)(FILE *f, const uint8_t *buf, int size)
unsigned(* qavformat_version)(void)
int(* qavformat_seek_file)(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags)
int(* qav_seek_frame)(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
int(* qav_probe_input_buffer2)(AVIOContext *pb, AVInputFormat **fmt, const char *url, void *logctx, unsigned int offset, unsigned int max_probe_size)
unsigned int(* qav_codec_get_tag)(const struct AVCodecTag *const *tags, enum AVCodecID id)
int(* qav_get_frame_filename2)(char *buf, int buf_size, const char *path, int number, int flags)
int(* qav_write_trailer)(AVFormatContext *s)
void(* qav_pkt_dump_log2)(void *avcl, int level, const AVPacket *pkt, int dump_payload, const AVStream *st)
AVOutputFormat *(* qav_guess_format)(const char *short_name, const char *filename, const char *mime_type)
AVInputFormat *(* qav_iformat_next)(const AVInputFormat *f)
int(* qav_get_output_timestamp)(struct AVFormatContext *s, int stream, int64_t *dts, int64_t *wall)
uint8_t *(* qav_stream_get_side_data)(const AVStream *stream, enum AVPacketSideDataType type, int *size)

Referenced by LibAV_LoadLibrary().

◆ qav_add_index_entry

int(* qav_add_index_entry) (AVStream *st, int64_t pos, int64_t timestamp, int size, int distance, int flags) ( AVStream * st,
int64_t pos,
int64_t timestamp,
int size,
int distance,
int flags )

Definition at line 128 of file av_backend_libav.c.

◆ qav_codec_get_id

enum AVCodecID(* qav_codec_get_id) (const struct AVCodecTag *const *tags, unsigned int tag) ( const struct AVCodecTag *const * tags,
unsigned int tag )

Definition at line 122 of file av_backend_libav.c.

◆ qav_codec_get_tag

unsigned int(* qav_codec_get_tag) (const struct AVCodecTag *const *tags, enum AVCodecID id) ( const struct AVCodecTag *const * tags,
enum AVCodecID id )

Definition at line 124 of file av_backend_libav.c.

◆ qav_codec_get_tag2

int(* qav_codec_get_tag2) (const struct AVCodecTag *const *tags, enum AVCodecID id, unsigned int *tag) ( const struct AVCodecTag *const * tags,
enum AVCodecID id,
unsigned int * tag )

Definition at line 125 of file av_backend_libav.c.

◆ qav_codec_iterate

const AVCodec *(* qav_codec_iterate) (void **opaque) ( void ** opaque)

Definition at line 47 of file av_backend_libav.c.

◆ qav_dump_format

void(* qav_dump_format) (AVFormatContext *ic, int index, const char *url, int is_output) ( AVFormatContext * ic,
int index,
const char * url,
int is_output )

Definition at line 130 of file av_backend_libav.c.

◆ qav_filename_number_test

int(* qav_filename_number_test) (const char *filename) ( const char * filename)

Definition at line 133 of file av_backend_libav.c.

◆ qav_find_best_stream

int(* qav_find_best_stream) (AVFormatContext *ic, enum AVMediaType type, int wanted_stream_nb, int related_stream, AVCodec **decoder_ret, int flags) ( AVFormatContext * ic,
enum AVMediaType type,
int wanted_stream_nb,
int related_stream,
AVCodec ** decoder_ret,
int flags )

Definition at line 77 of file av_backend_libav.c.

◆ qav_find_default_stream_index

int(* qav_find_default_stream_index) (AVFormatContext *s) ( AVFormatContext * s)

Definition at line 126 of file av_backend_libav.c.

◆ qav_find_input_format

AVInputFormat *(* qav_find_input_format) (const char *short_name) ( const char * short_name)

Definition at line 67 of file av_backend_libav.c.

◆ qav_find_program_from_stream

AVProgram *(* qav_find_program_from_stream) (AVFormatContext *ic, AVProgram *last, int s) ( AVFormatContext * ic,
AVProgram * last,
int s )

Definition at line 75 of file av_backend_libav.c.

◆ qav_get_frame_filename

int(* qav_get_frame_filename) (char *buf, int buf_size, const char *path, int number) ( char * buf,
int buf_size,
const char * path,
int number )

Definition at line 132 of file av_backend_libav.c.

◆ qav_get_frame_filename2

int(* qav_get_frame_filename2) (char *buf, int buf_size, const char *path, int number, int flags) ( char * buf,
int buf_size,
const char * path,
int number,
int flags )

Definition at line 131 of file av_backend_libav.c.

◆ qav_get_output_timestamp

int(* qav_get_output_timestamp) (struct AVFormatContext *s, int stream, int64_t *dts, int64_t *wall) ( struct AVFormatContext * s,
int stream,
int64_t * dts,
int64_t * wall )

Definition at line 97 of file av_backend_libav.c.

◆ qav_guess_codec

enum AVCodecID(* qav_guess_codec) (AVOutputFormat *fmt, const char *short_name, const char *filename, const char *mime_type, enum AVMediaType type) ( AVOutputFormat * fmt,
const char * short_name,
const char * filename,
const char * mime_type,
enum AVMediaType type )

Definition at line 95 of file av_backend_libav.c.

◆ qav_guess_format

AVOutputFormat *(* qav_guess_format) (const char *short_name, const char *filename, const char *mime_type) ( const char * short_name,
const char * filename,
const char * mime_type )

Definition at line 95 of file av_backend_libav.c.

◆ qav_guess_frame_rate

AVRational(* qav_guess_frame_rate) (AVFormatContext *ctx, AVStream *stream, AVFrame *frame) ( AVFormatContext * ctx,
AVStream * stream,
AVFrame * frame )

Definition at line 138 of file av_backend_libav.c.

◆ qav_guess_sample_aspect_ratio

AVRational(* qav_guess_sample_aspect_ratio) (AVFormatContext *format, AVStream *stream, AVFrame *frame) ( AVFormatContext * format,
AVStream * stream,
AVFrame * frame )

Definition at line 137 of file av_backend_libav.c.

◆ qav_hex_dump

void(* qav_hex_dump) (FILE *f, const uint8_t *buf, int size) ( FILE * f,
const uint8_t * buf,
int size )

Definition at line 119 of file av_backend_libav.c.

◆ qav_hex_dump_log

void(* qav_hex_dump_log) (void *avcl, int level, const uint8_t *buf, int size) ( void * avcl,
int level,
const uint8_t * buf,
int size )

Definition at line 120 of file av_backend_libav.c.

◆ qav_iformat_next

AVInputFormat *(* qav_iformat_next) (const AVInputFormat *f) ( const AVInputFormat * f)

Definition at line 108 of file av_backend_libav.c.

◆ qav_index_search_timestamp

int(* qav_index_search_timestamp) (AVStream *st, int64_t timestamp, int flags) ( AVStream * st,
int64_t timestamp,
int flags )

Definition at line 127 of file av_backend_libav.c.

◆ qav_interleaved_write_frame

int(* qav_interleaved_write_frame) (AVFormatContext *s, AVPacket *pkt) ( AVFormatContext * s,
AVPacket * pkt )

Definition at line 90 of file av_backend_libav.c.

◆ qav_interleaved_write_uncoded_frame

int(* qav_interleaved_write_uncoded_frame) (AVFormatContext *s, int stream_index, AVFrame *frame) ( AVFormatContext * s,
int stream_index,
AVFrame * frame )

Definition at line 92 of file av_backend_libav.c.

◆ qav_match_ext

int(* qav_match_ext) (const char *filename, const char *extensions) ( const char * filename,
const char * extensions )

Definition at line 135 of file av_backend_libav.c.

◆ qav_new_program

AVProgram *(* qav_new_program) (AVFormatContext *s, int id) ( AVFormatContext * s,
int id )

Definition at line 116 of file av_backend_libav.c.

◆ qav_oformat_next

AVOutputFormat *(* qav_oformat_next) (const AVOutputFormat *f) ( const AVOutputFormat * f)

Definition at line 109 of file av_backend_libav.c.

◆ qav_pkt_dump2

void(* qav_pkt_dump2) (FILE *f, const AVPacket *pkt, int dump_payload, const AVStream *st) ( FILE * f,
const AVPacket * pkt,
int dump_payload,
const AVStream * st )

Definition at line 121 of file av_backend_libav.c.

◆ qav_pkt_dump_log2

void(* qav_pkt_dump_log2) (void *avcl, int level, const AVPacket *pkt, int dump_payload, const AVStream *st) ( void * avcl,
int level,
const AVPacket * pkt,
int dump_payload,
const AVStream * st )

Definition at line 122 of file av_backend_libav.c.

◆ qav_probe_input_buffer

int(* qav_probe_input_buffer) (AVIOContext *pb, AVInputFormat **fmt, const char *url, void *logctx, unsigned int offset, unsigned int max_probe_size) ( AVIOContext * pb,
AVInputFormat ** fmt,
const char * url,
void * logctx,
unsigned int offset,
unsigned int max_probe_size )

Definition at line 72 of file av_backend_libav.c.

◆ qav_probe_input_buffer2

int(* qav_probe_input_buffer2) (AVIOContext *pb, AVInputFormat **fmt, const char *url, void *logctx, unsigned int offset, unsigned int max_probe_size) ( AVIOContext * pb,
AVInputFormat ** fmt,
const char * url,
void * logctx,
unsigned int offset,
unsigned int max_probe_size )

Definition at line 71 of file av_backend_libav.c.

◆ qav_probe_input_format

AVInputFormat *(* qav_probe_input_format) (AVProbeData *pd, int is_opened) ( AVProbeData * pd,
int is_opened )

Definition at line 68 of file av_backend_libav.c.

◆ qav_probe_input_format2

AVInputFormat *(* qav_probe_input_format2) (AVProbeData *pd, int is_opened, int *score_max) ( AVProbeData * pd,
int is_opened,
int * score_max )

Definition at line 69 of file av_backend_libav.c.

◆ qav_probe_input_format3

AVInputFormat *(* qav_probe_input_format3) (AVProbeData *pd, int is_opened, int *score_ret) ( AVProbeData * pd,
int is_opened,
int * score_ret )

Definition at line 70 of file av_backend_libav.c.

◆ qav_program_add_stream_index

void(* qav_program_add_stream_index) (AVFormatContext *ac, int progid, unsigned int idx) ( AVFormatContext * ac,
int progid,
unsigned int idx )

Definition at line 76 of file av_backend_libav.c.

◆ qav_read_frame

int(* qav_read_frame) (AVFormatContext *s, AVPacket *pkt) ( AVFormatContext * s,
AVPacket * pkt )

Definition at line 78 of file av_backend_libav.c.

◆ qav_read_pause

int(* qav_read_pause) (AVFormatContext *s) ( AVFormatContext * s)

Definition at line 83 of file av_backend_libav.c.

◆ qav_read_play

int(* qav_read_play) (AVFormatContext *s) ( AVFormatContext * s)

Definition at line 82 of file av_backend_libav.c.

◆ qav_register_all

void(* qav_register_all) (void) ( void )

Definition at line 103 of file av_backend_libav.c.

◆ qav_register_input_format

void(* qav_register_input_format) (AVInputFormat *format) ( AVInputFormat * format)

Definition at line 104 of file av_backend_libav.c.

◆ qav_register_output_format

void(* qav_register_output_format) (AVOutputFormat *format) ( AVOutputFormat * format)

Definition at line 105 of file av_backend_libav.c.

◆ qav_sdp_create

int(* qav_sdp_create) (AVFormatContext *ac[], int n_files, char *buf, int size) ( AVFormatContext * ac[],
int n_files,
char * buf,
int size )

Definition at line 134 of file av_backend_libav.c.

◆ qav_seek_frame

int(* qav_seek_frame) (AVFormatContext *s, int stream_index, int64_t timestamp, int flags) ( AVFormatContext * s,
int stream_index,
int64_t timestamp,
int flags )

Definition at line 79 of file av_backend_libav.c.

◆ qav_stream_get_codec_timebase

AVRational(* qav_stream_get_codec_timebase) (const AVStream *st) ( const AVStream * st)

Definition at line 142 of file av_backend_libav.c.

◆ qav_stream_get_side_data

uint8_t *(* qav_stream_get_side_data) (const AVStream *stream, enum AVPacketSideDataType type, int *size) ( const AVStream * stream,
enum AVPacketSideDataType type,
int * size )

Definition at line 115 of file av_backend_libav.c.

◆ qav_stream_new_side_data

uint8_t *(* qav_stream_new_side_data) (AVStream *stream, enum AVPacketSideDataType type, int size) ( AVStream * stream,
enum AVPacketSideDataType type,
int size )

Definition at line 114 of file av_backend_libav.c.

◆ qav_url_split

void(* qav_url_split) (char *proto, int proto_size, char *authorization, int authorization_size, char *hostname, int hostname_size, int *port_ptr, char *path, int path_size, const char *url) ( char * proto,
int proto_size,
char * authorization,
int authorization_size,
char * hostname,
int hostname_size,
int * port_ptr,
char * path,
int path_size,
const char * url )

Definition at line 129 of file av_backend_libav.c.

◆ qav_write_frame

int(* qav_write_frame) (AVFormatContext *s, AVPacket *pkt) ( AVFormatContext * s,
AVPacket * pkt )

Definition at line 89 of file av_backend_libav.c.

◆ qav_write_trailer

int(* qav_write_trailer) (AVFormatContext *s) ( AVFormatContext * s)

Definition at line 94 of file av_backend_libav.c.

◆ qav_write_uncoded_frame

int(* qav_write_uncoded_frame) (AVFormatContext *s, int stream_index, AVFrame *frame) ( AVFormatContext * s,
int stream_index,
AVFrame * frame )

Definition at line 91 of file av_backend_libav.c.

◆ qav_write_uncoded_frame_query

int(* qav_write_uncoded_frame_query) (AVFormatContext *s, int stream_index) ( AVFormatContext * s,
int stream_index )

Definition at line 93 of file av_backend_libav.c.

◆ qavcodec_align_dimensions

void(* qavcodec_align_dimensions) (AVCodecContext *s, int *width, int *height) ( AVCodecContext * s,
int * width,
int * height )

Definition at line 30 of file av_backend_libav.c.

◆ qavcodec_align_dimensions2

void(* qavcodec_align_dimensions2) (AVCodecContext *s, int *width, int *height, int linesize_align[AV_NUM_DATA_POINTERS]) ( AVCodecContext * s,
int * width,
int * height,
int linesize_align[AV_NUM_DATA_POINTERS] )

Definition at line 31 of file av_backend_libav.c.

◆ qavcodec_alloc_context3

AVCodecContext *(* qavcodec_alloc_context3) (const AVCodec *codec) ( const AVCodec * codec)

Definition at line 51 of file av_backend_libav.c.

◆ qavcodec_chroma_pos_to_enum

enum AVChromaLocation(* qavcodec_chroma_pos_to_enum) (int xpos, int ypos) ( int xpos,
int ypos )

Definition at line 32 of file av_backend_libav.c.

◆ qavcodec_close

int(* qavcodec_close) (AVCodecContext *avctx) ( AVCodecContext * avctx)

Definition at line 63 of file av_backend_libav.c.

◆ qavcodec_configuration

const char *(* qavcodec_configuration) (void) ( void )

Definition at line 49 of file av_backend_libav.c.

◆ qavcodec_default_get_buffer2

int(* qavcodec_default_get_buffer2) (AVCodecContext *s, AVFrame *frame, int flags) ( AVCodecContext * s,
AVFrame * frame,
int flags )

Definition at line 29 of file av_backend_libav.c.

◆ qavcodec_encode_subtitle

int(* qavcodec_encode_subtitle) (AVCodecContext *avctx, uint8_t *buf, int buf_size, const AVSubtitle *sub) ( AVCodecContext * avctx,
uint8_t * buf,
int buf_size,
const AVSubtitle * sub )

Definition at line 43 of file av_backend_libav.c.

◆ qavcodec_enum_to_chroma_pos

int(* qavcodec_enum_to_chroma_pos) (int *xpos, int *ypos, enum AVChromaLocation pos) ( int * xpos,
int * ypos,
enum AVChromaLocation pos )

Definition at line 32 of file av_backend_libav.c.

◆ qavcodec_find_decoder

AVCodec *(* qavcodec_find_decoder) (enum AVCodecID id) ( enum AVCodecID id)

Definition at line 27 of file av_backend_libav.c.

◆ qavcodec_find_decoder_by_name

AVCodec *(* qavcodec_find_decoder_by_name) (const char *name) ( const char * name)

Definition at line 28 of file av_backend_libav.c.

◆ qavcodec_find_encoder

AVCodec *(* qavcodec_find_encoder) (enum AVCodecID id) ( enum AVCodecID id)

Definition at line 41 of file av_backend_libav.c.

◆ qavcodec_find_encoder_by_name

AVCodec *(* qavcodec_find_encoder_by_name) (const char *name) ( const char * name)

Definition at line 42 of file av_backend_libav.c.

◆ qavcodec_free_context

void(* qavcodec_free_context) (AVCodecContext **avctx) ( AVCodecContext ** avctx)

Definition at line 52 of file av_backend_libav.c.

◆ qavcodec_get_class

const AVClass *(* qavcodec_get_class) (void) ( void )

Definition at line 54 of file av_backend_libav.c.

◆ qavcodec_get_context_defaults3

int(* qavcodec_get_context_defaults3) (AVCodecContext *s, const AVCodec *codec) ( AVCodecContext * s,
const AVCodec * codec )

Definition at line 53 of file av_backend_libav.c.

◆ qavcodec_get_frame_class

const AVClass *(* qavcodec_get_frame_class) (void) ( void )

Definition at line 55 of file av_backend_libav.c.

◆ qavcodec_get_hw_config

const AVCodecHWConfig *(* qavcodec_get_hw_config) (const AVCodec *codec, int index) ( const AVCodec * codec,
int index )

Definition at line 46 of file av_backend_libav.c.

◆ qavcodec_get_hw_frames_parameters

int(* qavcodec_get_hw_frames_parameters) (AVCodecContext *avctx, AVBufferRef *device_ref, enum AVPixelFormat hw_pix_fmt, AVBufferRef **out_frames_ref) ( AVCodecContext * avctx,
AVBufferRef * device_ref,
enum AVPixelFormat hw_pix_fmt,
AVBufferRef ** out_frames_ref )

Definition at line 38 of file av_backend_libav.c.

◆ qavcodec_get_subtitle_rect_class

const AVClass *(* qavcodec_get_subtitle_rect_class) (void) ( void )

Definition at line 56 of file av_backend_libav.c.

◆ qavcodec_license

const char *(* qavcodec_license) (void) ( void )

Definition at line 50 of file av_backend_libav.c.

◆ qavcodec_open2

int(* qavcodec_open2) (AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options) ( AVCodecContext * avctx,
const AVCodec * codec,
AVDictionary ** options )

Definition at line 62 of file av_backend_libav.c.

◆ qavcodec_parameters_alloc

AVCodecParameters *(* qavcodec_parameters_alloc) (void) ( void )

Definition at line 57 of file av_backend_libav.c.

◆ qavcodec_parameters_copy

int(* qavcodec_parameters_copy) (AVCodecParameters *dst, const AVCodecParameters *src) ( AVCodecParameters * dst,
const AVCodecParameters * src )

Definition at line 59 of file av_backend_libav.c.

◆ qavcodec_parameters_free

void(* qavcodec_parameters_free) (AVCodecParameters **par) ( AVCodecParameters ** par)

Definition at line 58 of file av_backend_libav.c.

◆ qavcodec_parameters_from_context

int(* qavcodec_parameters_from_context) (AVCodecParameters *par, const AVCodecContext *codec) ( AVCodecParameters * par,
const AVCodecContext * codec )

Definition at line 60 of file av_backend_libav.c.

◆ qavcodec_parameters_to_context

int(* qavcodec_parameters_to_context) (AVCodecContext *codec, const AVCodecParameters *par) ( AVCodecContext * codec,
const AVCodecParameters * par )

Definition at line 61 of file av_backend_libav.c.

◆ qavcodec_receive_frame

int(* qavcodec_receive_frame) (AVCodecContext *avctx, AVFrame *frame) ( AVCodecContext * avctx,
AVFrame * frame )

Definition at line 35 of file av_backend_libav.c.

◆ qavcodec_receive_packet

int(* qavcodec_receive_packet) (AVCodecContext *avctx, AVPacket *avpkt) ( AVCodecContext * avctx,
AVPacket * avpkt )

Definition at line 37 of file av_backend_libav.c.

◆ qavcodec_send_frame

int(* qavcodec_send_frame) (AVCodecContext *avctx, const AVFrame *frame) ( AVCodecContext * avctx,
const AVFrame * frame )

Definition at line 36 of file av_backend_libav.c.

◆ qavcodec_send_packet

int(* qavcodec_send_packet) (AVCodecContext *avctx, const AVPacket *avpkt) ( AVCodecContext * avctx,
const AVPacket * avpkt )

Definition at line 34 of file av_backend_libav.c.

◆ qavcodec_version

unsigned(* qavcodec_version) (void) ( void )

Definition at line 48 of file av_backend_libav.c.

◆ qavformat_alloc_context

AVFormatContext *(* qavformat_alloc_context) (void) ( void )

Definition at line 110 of file av_backend_libav.c.

◆ qavformat_close_input

void(* qavformat_close_input) (AVFormatContext **s) ( AVFormatContext ** s)

Definition at line 84 of file av_backend_libav.c.

◆ qavformat_configuration

const char *(* qavformat_configuration) (void) ( void )

Definition at line 101 of file av_backend_libav.c.

◆ qavformat_find_stream_info

int(* qavformat_find_stream_info) (AVFormatContext *ic, AVDictionary **options) ( AVFormatContext * ic,
AVDictionary ** options )

Definition at line 74 of file av_backend_libav.c.

◆ qavformat_flush

int(* qavformat_flush) (AVFormatContext *s) ( AVFormatContext * s)

Definition at line 81 of file av_backend_libav.c.

◆ qavformat_free_context

void(* qavformat_free_context) (AVFormatContext *s) ( AVFormatContext * s)

Definition at line 111 of file av_backend_libav.c.

◆ qavformat_get_class

const AVClass *(* qavformat_get_class) (void) ( void )

Definition at line 112 of file av_backend_libav.c.

◆ qavformat_init_output

av_warn_unused_result int(* qavformat_init_output) (AVFormatContext *s, AVDictionary **options) ( AVFormatContext * s,
AVDictionary ** options )

Definition at line 88 of file av_backend_libav.c.

◆ qavformat_license

const char *(* qavformat_license) (void) ( void )

Definition at line 102 of file av_backend_libav.c.

◆ qavformat_match_stream_specifier

int(* qavformat_match_stream_specifier) (AVFormatContext *s, AVStream *st, const char *spec) ( AVFormatContext * s,
AVStream * st,
const char * spec )

Definition at line 139 of file av_backend_libav.c.

◆ qavformat_network_deinit

int(* qavformat_network_deinit) (void) ( void )

Definition at line 107 of file av_backend_libav.c.

◆ qavformat_network_init

int(* qavformat_network_init) (void) ( void )

Definition at line 106 of file av_backend_libav.c.

◆ qavformat_new_stream

AVStream *(* qavformat_new_stream) (AVFormatContext *s, const AVCodec *c) ( AVFormatContext * s,
const AVCodec * c )

Definition at line 113 of file av_backend_libav.c.

◆ qavformat_open_input

int(* qavformat_open_input) (AVFormatContext **ps, const char *url, AVInputFormat *fmt, AVDictionary **options) ( AVFormatContext ** ps,
const char * url,
AVInputFormat * fmt,
AVDictionary ** options )

Definition at line 73 of file av_backend_libav.c.

◆ qavformat_query_codec

int(* qavformat_query_codec) (const AVOutputFormat *ofmt, enum AVCodecID codec_id, int std_compliance) ( const AVOutputFormat * ofmt,
enum AVCodecID codec_id,
int std_compliance )

Definition at line 136 of file av_backend_libav.c.

◆ qavformat_queue_attached_pictures

int(* qavformat_queue_attached_pictures) (AVFormatContext *s) ( AVFormatContext * s)

Definition at line 140 of file av_backend_libav.c.

◆ qavformat_seek_file

int(* qavformat_seek_file) (AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) ( AVFormatContext * s,
int stream_index,
int64_t min_ts,
int64_t ts,
int64_t max_ts,
int flags )

Definition at line 80 of file av_backend_libav.c.

◆ qavformat_transfer_internal_stream_timing_info

int(* qavformat_transfer_internal_stream_timing_info) (const AVOutputFormat *ofmt, AVStream *ost, const AVStream *ist, enum AVTimebaseSource copy_tb) ( const AVOutputFormat * ofmt,
AVStream * ost,
const AVStream * ist,
enum AVTimebaseSource copy_tb )

Definition at line 141 of file av_backend_libav.c.

◆ qavformat_version

unsigned(* qavformat_version) (void) ( void )

Definition at line 100 of file av_backend_libav.c.

◆ qavformat_write_header

av_warn_unused_result int(* qavformat_write_header) (AVFormatContext *s, AVDictionary **options) ( AVFormatContext * s,
AVDictionary ** options )

Definition at line 87 of file av_backend_libav.c.

◆ qavsubtitle_free

void(* qavsubtitle_free) (AVSubtitle *sub) ( AVSubtitle * sub)

Definition at line 64 of file av_backend_libav.c.