FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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.
 

Variables

static const AVOption swscale_options []
 
const AVClass sws_context_class
 

Macro Definition Documentation

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

Definition at line 32 of file options.c.

#define DEFAULT   0

Definition at line 33 of file options.c.

Definition at line 34 of file options.c.

Function Documentation

static const char* sws_context_to_name ( void ptr)
static

Definition at line 27 of file options.c.

Variable Documentation

const AVOption swscale_options[]
static

Definition at line 36 of file options.c.

const AVClass sws_context_class
Initial value:
= {
.class_name = "SWScaler",
.item_name = sws_context_to_name,
.option = swscale_options,
}

Definition at line 80 of file options.c.

Referenced by sws_alloc_context(), and sws_get_class().