FFmpeg  4.0
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

◆ C30DB

#define C30DB   M_SQRT2

Definition at line 26 of file options.c.

◆ C15DB

#define C15DB   1.189207115

Definition at line 27 of file options.c.

◆ C__0DB

#define C__0DB   1.0

Definition at line 28 of file options.c.

◆ C_15DB

#define C_15DB   0.840896415

Definition at line 29 of file options.c.

◆ C_30DB

#define C_30DB   M_SQRT1_2

Definition at line 30 of file options.c.

◆ C_45DB

#define C_45DB   0.594603558

Definition at line 31 of file options.c.

◆ C_60DB

#define C_60DB   0.5

Definition at line 32 of file options.c.

◆ OFFSET

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

Definition at line 34 of file options.c.

◆ PARAM

#define PARAM   AV_OPT_FLAG_AUDIO_PARAM

Definition at line 35 of file options.c.

Function Documentation

◆ context_to_name()

static const char* context_to_name ( void ptr)
static

Definition at line 130 of file options.c.

Variable Documentation

◆ options

const AVOption options[]
static

Definition at line 37 of file options.c.

◆ av_class

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:130
#define LIBAVUTIL_VERSION_INT
Definition: version.h:85
static const AVOption options[]
Definition: options.c:37
#define OFFSET(x)
Definition: options.c:34

Definition at line 134 of file options.c.

Referenced by amr_decode_fix_avctx(), swr_alloc(), and swr_get_class().