FFmpeg
Data Fields
AVOption Struct Reference
AVOptions

AVOption. More...

#include <opt.h>

Data Fields

const char *  name
 
const char *  help
  short English help text More...
 
int  offset
  The offset relative to the context structure where the option value is stored. More...
 
 
union {
   int64_t   i64
 
   double   dbl
 
   const char *   str
 
   AVRational   q
 
  the default value for scalar options More...
 
double  min
  minimum valid value for the option More...
 
double  max
  maximum valid value for the option More...
 
int  flags
 
const char *  unit
  The logical unit to which the option belongs. More...
 

Detailed Description

AVOption.

Definition at line 255 of file opt.h.

Field Documentation

const char* AVOption::name

Definition at line 256 of file opt.h.

Referenced by av_opt_find2(), av_opt_is_set_to_default(), av_opt_serialize(), av_opt_set_channel_layout(), av_opt_set_defaults2(), av_opt_set_image_size(), av_opt_set_video_rate(), opt_list(), print_option(), process_options(), set_string_fmt(), set_string_number(), show_stream(), and write_number().

const char* AVOption::help

short English help text

Todo:
What about other languages?

Definition at line 262 of file opt.h.

Referenced by opt_list(), and print_option().

int AVOption::offset

The offset relative to the context structure where the option value is stored.

It should be 0 for named constants.

Definition at line 268 of file opt.h.

Referenced by av_get_string(), av_opt_copy(), av_opt_free(), av_opt_get(), av_opt_get_channel_layout(), av_opt_get_dict_val(), av_opt_get_image_size(), av_opt_is_set_to_default(), av_opt_ptr(), av_opt_set(), av_opt_set_bin(), av_opt_set_channel_layout(), av_opt_set_defaults2(), av_opt_set_dict_val(), av_opt_set_image_size(), get_format(), get_number(), process_options(), set_format(), and set_number().

enum AVOptionType AVOption::type

Definition at line 269 of file opt.h.

Referenced by av_get_string(), av_opt_copy(), av_opt_find2(), av_opt_flag_is_set(), av_opt_free(), av_opt_get(), av_opt_get_channel_layout(), av_opt_get_dict_val(), av_opt_get_image_size(), av_opt_is_set_to_default(), av_opt_query_ranges_default(), av_opt_serialize(), av_opt_set(), av_opt_set_bin(), av_opt_set_channel_layout(), av_opt_set_defaults2(), av_opt_set_image_size(), av_opt_set_video_rate(), ffserver_save_avoption(), get_format(), opt_list(), print_option(), process_options(), read_number(), set_format(), set_string_number(), show_opts(), and write_number().

int64_t AVOption::i64

Definition at line 275 of file opt.h.

Referenced by av_opt_flag_is_set(), av_opt_is_set_to_default(), av_opt_set_defaults2(), and opt_list().

double AVOption::dbl

Definition at line 276 of file opt.h.

Referenced by av_get_string(), av_opt_get(), av_opt_is_set_to_default(), av_opt_set_defaults2(), opt_list(), and read_number().

const char* AVOption::str

Definition at line 277 of file opt.h.

Referenced by av_opt_is_set_to_default(), av_opt_set_defaults2(), and opt_list().

AVRational AVOption::q

Definition at line 279 of file opt.h.

union { ... } AVOption::default_val

the default value for scalar options

Referenced by av_get_string(), av_opt_flag_is_set(), av_opt_get(), av_opt_is_set_to_default(), av_opt_set_defaults2(), opt_list(), and read_number().

double AVOption::min

minimum valid value for the option

Definition at line 281 of file opt.h.

Referenced by av_opt_query_ranges_default(), set_format(), set_string_fmt(), set_string_number(), and write_number().

double AVOption::max

maximum valid value for the option

Definition at line 282 of file opt.h.

Referenced by av_opt_query_ranges_default(), set_format(), set_string_fmt(), set_string_number(), and write_number().

int AVOption::flags

Definition at line 284 of file opt.h.

Referenced by av_opt_find2(), av_opt_serialize(), av_opt_set(), av_opt_set_bin(), av_opt_set_defaults2(), av_opt_set_dict_val(), opt_find(), opt_list(), print_option(), set_number(), and show_stream().

const char* AVOption::unit

The logical unit to which the option belongs.

Non-constant options and corresponding named constants share the same unit. May be NULL.

Definition at line 310 of file opt.h.

Referenced by av_opt_find2(), av_opt_flag_is_set(), opt_list(), print_option(), and set_string_number().


The documentation for this struct was generated from the following file:

Generated on Wed Jun 10 2015 01:57:20 for FFmpeg by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /