Libav
Functions | Variables
options.c File Reference

Options definition for AVFormatContext. More...

#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"
#include "url.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "options_table.h"

Go to the source code of this file.

Functions

FF_DISABLE_DEPRECATION_WARNINGS static FF_ENABLE_DEPRECATION_WARNINGS const char * format_to_name (void *ptr)
 
static voidformat_child_next (void *obj, void *prev)
 
static const AVClassformat_child_class_next (const AVClass *prev)
 
static int io_open_default (AVFormatContext *s, AVIOContext **pb, const char *url, int flags, AVDictionary **options)
 
static void io_close_default (AVFormatContext *s, AVIOContext *pb)
 
static void avformat_get_context_defaults (AVFormatContext *s)
 
AVFormatContextavformat_alloc_context (void)
 Allocate an AVFormatContext. More...
 
const AVClassavformat_get_class (void)
 Get the AVClass for AVFormatContext. More...
 

Variables

static const AVClass av_format_context_class
 

Detailed Description

Options definition for AVFormatContext.

Definition in file options.c.

Function Documentation

◆ format_to_name()

FF_DISABLE_DEPRECATION_WARNINGS static FF_ENABLE_DEPRECATION_WARNINGS const char* format_to_name ( void ptr)
static

Definition at line 37 of file options.c.

◆ format_child_next()

static void* format_child_next ( void obj,
void prev 
)
static

Definition at line 45 of file options.c.

◆ format_child_class_next()

static const AVClass* format_child_class_next ( const AVClass prev)
static

Definition at line 57 of file options.c.

◆ io_open_default()

static int io_open_default ( AVFormatContext s,
AVIOContext **  pb,
const char *  url,
int  flags,
AVDictionary **  options 
)
static

Definition at line 94 of file options.c.

Referenced by avformat_get_context_defaults().

◆ io_close_default()

static void io_close_default ( AVFormatContext s,
AVIOContext pb 
)
static

Definition at line 119 of file options.c.

Referenced by avformat_get_context_defaults().

◆ avformat_get_context_defaults()

static void avformat_get_context_defaults ( AVFormatContext s)
static

Definition at line 124 of file options.c.

Referenced by avformat_alloc_context().

Variable Documentation

◆ av_format_context_class

const AVClass av_format_context_class
static
Initial value:
= {
.class_name = "AVFormatContext",
.item_name = format_to_name,
.option = avformat_options,
.child_next = format_child_next,
.child_class_next = format_child_class_next,
}
static const AVOption avformat_options[]
Definition: options_table.h:33
static const AVClass * format_child_class_next(const AVClass *prev)
Definition: options.c:57
LIBAVUTIL_VERSION_INT
Definition: eval.c:55
static void * format_child_next(void *obj, void *prev)
Definition: options.c:45
FF_DISABLE_DEPRECATION_WARNINGS static FF_ENABLE_DEPRECATION_WARNINGS const char * format_to_name(void *ptr)
Definition: options.c:37

Definition at line 85 of file options.c.

Referenced by avformat_get_class(), and avformat_get_context_defaults().