opt.h File Reference


Detailed Description

AVOptions.

Definition in file opt.h.

Go to the source code of this file.

Classes

struct  AVOption
 AVOption. More...

Enumerations

enum  AVOptionType {
  FF_OPT_TYPE_FLAGS, FF_OPT_TYPE_INT, FF_OPT_TYPE_INT64, FF_OPT_TYPE_DOUBLE,
  FF_OPT_TYPE_FLOAT, FF_OPT_TYPE_STRING, FF_OPT_TYPE_RATIONAL, FF_OPT_TYPE_CONST = 128
}

Functions

const AVOptionav_find_opt (void *obj, const char *name, const char *unit, int mask, int flags)
const AVOptionav_set_string (void *obj, const char *name, const char *val)
const AVOptionav_set_double (void *obj, const char *name, double n)
const AVOptionav_set_q (void *obj, const char *name, AVRational n)
const AVOptionav_set_int (void *obj, const char *name, int64_t n)
double av_get_double (void *obj, const char *name, const AVOption **o_out)
AVRational av_get_q (void *obj, const char *name, const AVOption **o_out)
int64_t av_get_int (void *obj, const char *name, const AVOption **o_out)
const char * av_get_string (void *obj, const char *name, const AVOption **o_out, char *buf, int buf_len)
const AVOptionav_next_option (void *obj, const AVOption *last)
int av_opt_show (void *obj, void *av_log_obj)
void av_opt_set_defaults (void *s)
void av_opt_set_defaults2 (void *s, int mask, int flags)
 Set the values of the AVCodecContext or AVFormatContext structure.


Enumeration Type Documentation

Enumerator:
FF_OPT_TYPE_FLAGS 
FF_OPT_TYPE_INT 
FF_OPT_TYPE_INT64 
FF_OPT_TYPE_DOUBLE 
FF_OPT_TYPE_FLOAT 
FF_OPT_TYPE_STRING 
FF_OPT_TYPE_RATIONAL 
FF_OPT_TYPE_CONST 

Definition at line 32 of file opt.h.


Function Documentation

const AVOption* av_find_opt ( void *  obj,
const char *  name,
const char *  unit,
int  mask,
int  flags 
)

Definition at line 33 of file opt.c.

Referenced by av_get_number(), av_get_string(), av_set_number(), and av_set_string().

const AVOption* av_set_string ( void *  obj,
const char *  name,
const char *  val 
)

Definition at line 110 of file opt.c.

const AVOption* av_set_double ( void *  obj,
const char *  name,
double  n 
)

Definition at line 166 of file opt.c.

Referenced by av_opt_set_defaults2().

const AVOption* av_set_q ( void *  obj,
const char *  name,
AVRational  n 
)

Definition at line 170 of file opt.c.

Referenced by av_opt_set_defaults2().

const AVOption* av_set_int ( void *  obj,
const char *  name,
int64_t  n 
)

Definition at line 174 of file opt.c.

Referenced by av_opt_set_defaults2().

double av_get_double ( void *  obj,
const char *  name,
const AVOption **  o_out 
)

Definition at line 234 of file opt.c.

AVRational av_get_q ( void *  obj,
const char *  name,
const AVOption **  o_out 
)

Definition at line 243 of file opt.c.

int64_t av_get_int ( void *  obj,
const char *  name,
const AVOption **  o_out 
)

Definition at line 255 of file opt.c.

Referenced by av_set_string(), and set_all_opt().

const char* av_get_string ( void *  obj,
const char *  name,
const AVOption **  o_out,
char *  buf,
int  buf_len 
)

Parameters:
buf a buffer which is used for returning non string values as strings, can be NULL
buf_len allocated length in bytes of buf

Definition at line 183 of file opt.c.

const AVOption* av_next_option ( void *  obj,
const AVOption last 
)

Definition at line 44 of file opt.c.

Referenced by av_opt_set_defaults2(), and opt_list().

int av_opt_show ( void *  obj,
void *  av_log_obj 
)

Definition at line 330 of file opt.c.

void av_opt_set_defaults ( void *  s  ) 

Definition at line 385 of file opt.c.

Referenced by avformat_get_context_defaults().

void av_opt_set_defaults2 ( void *  s,
int  mask,
int  flags 
)

Set the values of the AVCodecContext or AVFormatContext structure.

They are set to the defaults specified in the according AVOption options array default_val field.

Parameters:
s AVCodecContext or AVFormatContext for which the defaults will be set

Definition at line 347 of file opt.c.

Referenced by av_opt_set_defaults(), and avcodec_get_context_defaults2().


Generated on Sat Dec 18 05:15:54 2010 for MythTV by  doxygen 1.5.5