libswscale/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.

Defines

#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


Define Documentation

#define DEFAULT   0

Definition at line 33 of file options.c.

#define OFFSET (  )     offsetof(SwsContext, x)

Definition at line 32 of file options.c.

#define VE   AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM

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 76 of file options.c.

Referenced by init(), opt_default(), and show_help_default().


Variable Documentation

const AVOption options[] [static]

Definition at line 36 of file options.c.

Initial value:

 {
    .class_name = "SWScaler",
    .item_name  = sws_context_to_name,
    .option     = options,
    .category   = AV_CLASS_CATEGORY_SWSCALER,
}

Definition at line 69 of file options.c.

Referenced by sws_alloc_context().


Generated on Fri Oct 26 02:50:07 2012 for FFmpeg by  doxygen 1.5.8