FFmpeg
Loading...
Searching...
No Matches
options.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/mem.h"
#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)
 
#define PARAM   AV_OPT_FLAG_AUDIO_PARAM
 
#define DEPREC   AV_OPT_FLAG_DEPRECATED
 

Functions

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

Variables

static const AVOption options []
 
static const AVClass av_class
 

Macro Definition Documentation

◆ C30DB

#define C30DB   M_SQRT2

Definition at line 28 of file options.c.

◆ C15DB

#define C15DB   1.189207115

Definition at line 29 of file options.c.

◆ C__0DB

#define C__0DB   1.0

Definition at line 30 of file options.c.

◆ C_15DB

#define C_15DB   0.840896415

Definition at line 31 of file options.c.

◆ C_30DB

#define C_30DB   M_SQRT1_2

Definition at line 32 of file options.c.

◆ C_45DB

#define C_45DB   0.594603558

Definition at line 33 of file options.c.

◆ C_60DB

#define C_60DB   0.5

Definition at line 34 of file options.c.

◆ OFFSET

#define OFFSET ( x)
Value:
offsetof(SwrContext,x)
The libswresample context.

Definition at line 36 of file options.c.

◆ PARAM

#define PARAM   AV_OPT_FLAG_AUDIO_PARAM

Definition at line 37 of file options.c.

◆ DEPREC

#define DEPREC   AV_OPT_FLAG_DEPRECATED

Definition at line 38 of file options.c.

Function Documentation

◆ context_to_name()

static const char * context_to_name ( void * ptr)
static

Definition at line 129 of file options.c.

Variable Documentation

◆ options

const AVOption options[]
static

Definition at line 40 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),
}
#define OFFSET(x)
#define LIBAVUTIL_VERSION_INT
Definition version.h:85
FF_DISABLE_DEPRECATION_WARNINGS static FF_ENABLE_DEPRECATION_WARNINGS const char * context_to_name(void *ptr)
Definition options.c:42
@ AV_CLASS_CATEGORY_SWRESAMPLER
Definition log.h:39

Definition at line 133 of file options.c.

Referenced by swr_alloc(), and swr_get_class().