AVOption2 Struct Reference
AVOption2.
More...
#include <opt.h>
|
Data Fields |
const char * | name |
const char * | help |
| short English help text
|
int | offset |
| The offset relative to the context structure where the option value is stored.
|
enum AVOptionType | type |
union { |
double dbl |
const char * str |
} | default_val |
| the default value for scalar options
|
double | min |
| minimum valid value for the option
|
double | max |
| maximum valid value for the option
|
int | flags |
const char * | unit |
| The logical unit to which the option belongs.
|
Detailed Description
AVOption2.
THIS IS NOT PART OF THE API/ABI YET! This is identical to AVOption except that default_val was replaced by an union, it should be compatible with AVOption on normal platforms.
Definition at line 94 of file opt.h.
Field Documentation
the default value for scalar options
short English help text
- Todo:
- What about other languages?
Definition at line 101 of file opt.h.
maximum valid value for the option
Definition at line 119 of file opt.h.
minimum valid value for the option
Definition at line 118 of file opt.h.
Definition at line 95 of file opt.h.
The offset relative to the context structure where the option value is stored.
It should be 0 for named constants.
Definition at line 107 of file opt.h.
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 137 of file opt.h.
The documentation for this struct was generated from the following file: