options.c File Reference

Options definition for AVFormatContext. More...

#include "avformat.h"
#include "avio_internal.h"
#include "libavutil/opt.h"

Go to the source code of this file.

Macros

#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 voidformat_child_next (void *obj, void *prev)
static const AVClassformat_child_class_next (const AVClass *prev)
static void avformat_get_context_defaults (AVFormatContext *s)
AVFormatContextavformat_alloc_context (void)
 Allocate an AVFormatContext.
const AVClassavformat_get_class (void)
 Get the AVClass for AVFormatContext.

Variables

static const AVOption options []
static const AVClass av_format_context_class

Detailed Description

Options definition for AVFormatContext.

Definition in file options.c.

Macro Definition Documentation

Definition at line 87 of file options.c.

#define DEFAULT   0

Definition at line 84 of file options.c.

Definition at line 86 of file options.c.

#define OFFSET (   x)    offsetof(AVFormatContext,x)

Definition at line 83 of file options.c.

Function Documentation

static void avformat_get_context_defaults ( AVFormatContext s)
static

Definition at line 137 of file options.c.

Referenced by avformat_alloc_context().

static const AVClass* format_child_class_next ( const AVClass prev)
static

Definition at line 51 of file options.c.

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

Definition at line 37 of file options.c.

static const char* format_to_name ( void ptr)
static

Definition at line 29 of file options.c.

Variable Documentation

const AVClass av_format_context_class
static
Initial value:
{
.class_name = "AVFormatContext",
.item_name = format_to_name,
.option = options,
.child_next = format_child_next,
.child_class_next = format_child_class_next,
}

Definition at line 128 of file options.c.

Referenced by avformat_get_class(), and avformat_get_context_defaults().

const AVOption options[]
static

Definition at line 89 of file options.c.