FFmpeg
Macros | Functions | Variables
options.c File Reference
#include "libavutil/opt.h"
#include "swscale.h"
#include "swscale_internal.h"

Go to the source code of this file.

Macros

#define OFFSET(x)   offsetof(SwsContext, x)
 
#define DEFAULT   0
 
#define VE   AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
 

Functions

static const char * sws_context_to_name (void *ptr)
 
const AVClasssws_get_class (void)
 Get the AVClass for SwsContext. More...
 

Variables

static const AVOption swscale_options []
 
const AVClass ff_sws_context_class
 

Macro Definition Documentation

◆ OFFSET

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

Definition at line 30 of file options.c.

◆ DEFAULT

#define DEFAULT   0

Definition at line 31 of file options.c.

◆ VE

Definition at line 32 of file options.c.

Function Documentation

◆ sws_context_to_name()

static const char* sws_context_to_name ( void *  ptr)
static

Definition at line 25 of file options.c.

Variable Documentation

◆ swscale_options

const AVOption swscale_options[]
static

Definition at line 34 of file options.c.

◆ ff_sws_context_class

const AVClass ff_sws_context_class
Initial value:
= {
.class_name = "SWScaler",
.item_name = sws_context_to_name,
.option = swscale_options,
.parent_log_context_offset = 0x42,
}

Definition at line 90 of file options.c.

Referenced by sws_alloc_context(), and sws_get_class().

LIBAVUTIL_VERSION_INT
#define LIBAVUTIL_VERSION_INT
Definition: version.h:85
swscale_options
static const AVOption swscale_options[]
Definition: options.c:34
AV_CLASS_CATEGORY_SWSCALER
@ AV_CLASS_CATEGORY_SWSCALER
Definition: log.h:38
sws_context_to_name
static const char * sws_context_to_name(void *ptr)
Definition: options.c:25