FFmpeg 5.1.6
Data Fields
AVOption Struct Reference

AVOption. More...

#include <libavutil/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...
 
enum AVOptionType type
 
union {
   int64_t   i64
 
   double   dbl
 
   const char *   str
 
   AVRational   q
 
default_val
 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 251 of file opt.h.

Field Documentation

◆ name

const char* AVOption::name

Definition at line 252 of file opt.h.

◆ help

const char* AVOption::help

short English help text

Todo:
What about other languages?

Definition at line 258 of file opt.h.

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

◆ type

enum AVOptionType AVOption::type

Definition at line 265 of file opt.h.

◆ i64

int64_t AVOption::i64

Definition at line 271 of file opt.h.

◆ dbl

double AVOption::dbl

Definition at line 272 of file opt.h.

◆ str

const char* AVOption::str

Definition at line 273 of file opt.h.

◆ q

AVRational AVOption::q

Definition at line 275 of file opt.h.

◆ 

union { ... } AVOption::default_val

the default value for scalar options

◆ min

double AVOption::min

minimum valid value for the option

Definition at line 277 of file opt.h.

◆ max

double AVOption::max

maximum valid value for the option

Definition at line 278 of file opt.h.

◆ flags

int AVOption::flags

Definition at line 280 of file opt.h.

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


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