FFmpeg
Macros | Functions | Variables
options.c File Reference
#include "libavutil/avutil.h"
#include "libavutil/opt.h"
#include "libavutil/pixfmt.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 32 of file options.c.

◆ DEFAULT

#define DEFAULT   0

Definition at line 33 of file options.c.

◆ VE

Definition at line 34 of file options.c.

Function Documentation

◆ sws_context_to_name()

static const char* sws_context_to_name ( void *  ptr)
static

Definition at line 27 of file options.c.

Variable Documentation

◆ swscale_options

const AVOption swscale_options[]
static

Definition at line 36 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 = OFFSET(parent),
}

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
OFFSET
#define OFFSET(x)
Definition: options.c:32
swscale_options
static const AVOption swscale_options[]
Definition: options.c:36
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:27