options.c File Reference
#include "libavutil/avutil.h"
#include "libavutil/pixfmt.h"
#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.

Variables

static const AVOption options []
const AVClass sws_context_class = { "SWScaler", sws_context_to_name, options }

Macro Definition Documentation

#define DEFAULT   0

Definition at line 33 of file options.c.

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

Definition at line 32 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.

const AVClass* sws_get_class ( void  )

Get the AVClass for swsContext.

It can be used in combination with AV_OPT_SEARCH_FAKE_OBJ for examining options.

See Also
av_opt_find().

Definition at line 71 of file options.c.

Referenced by opt_default(), and show_help().

Variable Documentation

const AVOption options[]
static

Definition at line 36 of file options.c.

const AVClass sws_context_class = { "SWScaler", sws_context_to_name, options }

Definition at line 69 of file options.c.

Referenced by sws_alloc_context(), and sws_get_class().