FFmpeg
Public Attributes | List of all members
AVOption Struct Reference

AVOption. More...

#include <opt.h>

Public Attributes

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
 
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. More...
 

Detailed Description

AVOption.

Member Data Documentation

§ help

const char* AVOption::help

short English help text

Todo:
What about other languages?

§ offset

int AVOption::offset

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

It should be 0 for named constants.

§ 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.


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