FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
options.c File Reference
#include "libavutil/opt.h"
#include "swresample_internal.h"
#include <float.h>

Go to the source code of this file.

Macros

#define C30DB   M_SQRT2
 
#define C15DB   1.189207115
 
#define C__0DB   1.0
 
#define C_15DB   0.840896415
 
#define C_30DB   M_SQRT1_2
 
#define C_45DB   0.594603558
 
#define C_60DB   0.5
 
#define OFFSET(x)   offsetof(SwrContext,x)
 
#define PARAM   AV_OPT_FLAG_AUDIO_PARAM
 

Functions

static const char * context_to_name (void *ptr)
 
const AVClassswr_get_class (void)
 Get the AVClass for SwrContext. More...
 
av_cold struct SwrContextswr_alloc (void)
 Allocate SwrContext. More...
 

Variables

static const AVOption options []
 
static const AVClass av_class
 

Macro Definition Documentation

#define C30DB   M_SQRT2

Definition at line 26 of file options.c.

#define C15DB   1.189207115

Definition at line 27 of file options.c.

#define C__0DB   1.0

Definition at line 28 of file options.c.

#define C_15DB   0.840896415

Definition at line 29 of file options.c.

#define C_30DB   M_SQRT1_2

Definition at line 30 of file options.c.

#define C_45DB   0.594603558

Definition at line 31 of file options.c.

#define C_60DB   0.5

Definition at line 32 of file options.c.

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

Definition at line 34 of file options.c.

#define PARAM   AV_OPT_FLAG_AUDIO_PARAM

Definition at line 35 of file options.c.

Function Documentation

static const char* context_to_name ( void ptr)
static

Definition at line 129 of file options.c.

Variable Documentation

const AVOption options[]
static

Definition at line 37 of file options.c.

const AVClass av_class
static
Initial value:
= {
.class_name = "SWResampler",
.item_name = context_to_name,
.option = options,
.log_level_offset_offset = OFFSET(log_level_offset),
.parent_log_context_offset = OFFSET(log_ctx),
}
static const char * context_to_name(void *ptr)
Definition: options.c:129
#define LIBAVUTIL_VERSION_INT
Definition: version.h:62
static const AVOption options[]
Definition: options.c:37
#define OFFSET(x)
Definition: options.c:34

Definition at line 133 of file options.c.

Referenced by swr_alloc(), and swr_get_class().