#include "avformat.h"
#include "avio_internal.h"
#include "libavutil/opt.h"
Go to the source code of this file.
Defines | |
#define | OFFSET(x) offsetof(AVFormatContext,x) |
#define | DEFAULT 0 |
#define | E AV_OPT_FLAG_ENCODING_PARAM |
#define | D AV_OPT_FLAG_DECODING_PARAM |
Functions | |
static const char * | format_to_name (void *ptr) |
static void * | format_child_next (void *obj, void *prev) |
static const AVClass * | format_child_class_next (const AVClass *prev) |
static void | avformat_get_context_defaults (AVFormatContext *s) |
AVFormatContext * | avformat_alloc_context (void) |
Allocate an AVFormatContext. | |
const AVClass * | avformat_get_class (void) |
Get the AVClass for AVFormatContext. | |
Variables | |
static const AVOption | options [] |
static const AVClass | av_format_context_class |
Definition in file options.c.
#define OFFSET | ( | x | ) | offsetof(AVFormatContext,x) |
AVFormatContext* avformat_alloc_context | ( | void | ) |
Allocate an AVFormatContext.
avformat_free_context() can be used to free the context and everything allocated by the framework within it.
Definition at line 147 of file options.c.
Referenced by applehttp_read_header(), av_open_input_stream(), avformat_alloc_output_context2(), avformat_open_input(), ff_mov_read_stsd_entries(), ff_rtp_chain_mux_open(), ff_wms_parse_sdp_a_line(), http_receive_data(), opt_input_file(), prepare_sdp_description(), read_ffserver_streams(), read_gab2_sub(), read_thread(), rtp_new_av_stream(), and sap_read_header().
const AVClass* avformat_get_class | ( | void | ) |
Get the AVClass for AVFormatContext.
It can be used in combination with AV_OPT_SEARCH_FAKE_OBJ for examining options.
Definition at line 156 of file options.c.
Referenced by opt_default(), opt_help(), and show_format_opts().
static void avformat_get_context_defaults | ( | AVFormatContext * | s | ) | [static] |
static void* format_child_next | ( | void * | obj, | |
void * | prev | |||
) | [static] |
const AVClass av_format_context_class [static] |
Initial value:
{ .class_name = "AVFormatContext", .item_name = format_to_name, .option = options, .version = LIBAVUTIL_VERSION_INT, .child_next = format_child_next, .child_class_next = format_child_class_next, }