FFmpeg
Data Fields
AVOption Struct Reference
libavutil » Data Structures » AVOptions

AVOption. More...

#include <opt.h>

Data Fields

const char *  name
 
const char *  help
  short English help text More...
 
  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...
 
 
const char *  unit
  The logical unit to which the option belongs. More...
 

Detailed Description

AVOption.

Definition at line 247 of file opt.h.

Field Documentation

name

const char* AVOption::name

Definition at line 248 of file opt.h.

Referenced by convert_from_tensorflow.Operand::__str__(), av_disposition_from_string(), av_disposition_to_string(), av_opt_find2(), av_opt_is_set_to_default(), av_opt_serialize(), av_opt_set(), av_opt_set_channel_layout(), av_opt_set_defaults2(), av_opt_set_image_size(), av_opt_set_video_rate(), bsf_list_append_internal(), get_opt_const_name(), get_opt_flags_string(), libcodec2_init_common(), main(), opt_list(), print_option(), priv_data_size_wrong(), process_options(), set_string_fmt(), set_string_number(), show_stream(), and write_number().

help

const char* AVOption::help

short English help text

Todo:
What about other languages?

Definition at line 254 of file opt.h.

Referenced by av_opt_get(), av_opt_set(), opt_list(), print_option(), and set_string_number().

offset

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 260 of file opt.h.

Referenced by 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().

type

enum AVOptionType AVOption::type

Definition at line 261 of file opt.h.

Referenced by av_opt_copy(), av_opt_find2(), 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_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(), get_format(), get_opt_const_name(), get_opt_flags_string(), main(), opt_list(), option_is_disposition(), print_option(), process_options(), read_number(), set_format(), set_string_number(), show_opts(), and write_number().

i64

int64_t AVOption::i64

Definition at line 267 of file opt.h.

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

dbl

double AVOption::dbl

Definition at line 268 of file opt.h.

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

str

const char* AVOption::str

Definition at line 269 of file opt.h.

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

q

AVRational AVOption::q

Definition at line 271 of file opt.h.

default_val

union { ... } AVOption::default_val

the default value for scalar options

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

min

double AVOption::min

minimum valid value for the option

Definition at line 273 of file opt.h.

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

max

double AVOption::max

maximum valid value for the option

Definition at line 274 of file opt.h.

Referenced by av_opt_set(), set_format(), set_string_bool(), set_string_fmt(), set_string_number(), and write_number().

flags

int AVOption::flags

Definition at line 276 of file opt.h.

Referenced by av_opt_find2(), av_opt_get(), 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(), set_string_number(), and show_stream().

unit

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 303 of file opt.h.

Referenced by av_opt_find2(), get_opt_const_name(), get_opt_flags_string(), opt_list(), option_is_disposition(), print_option(), and set_string_number().


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

Generated on Wed Aug 24 2022 21:38:55 for FFmpeg by   doxygen 1.8.17

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