FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVOptionRange Struct Reference

A single allowed range of values, or a single allowed value. More...

#include <opt.h>

Data Fields

const char * str
 
double value_min
 Value range. More...
 
double value_max
 
double component_min
 Value's component range. More...
 
double component_max
 
int is_range
 Range flag. More...
 

Detailed Description

A single allowed range of values, or a single allowed value.

Definition at line 306 of file opt.h.

Field Documentation

const char* AVOptionRange::str

Definition at line 307 of file opt.h.

Referenced by av_opt_freep_ranges().

double AVOptionRange::value_min

Value range.

For string ranges this represents the min/max length. For dimensions this represents the min/max pixel count or width/height in multi-component case.

Definition at line 313 of file opt.h.

Referenced by av_opt_query_ranges_default(), and opt_list().

double AVOptionRange::value_max

Definition at line 313 of file opt.h.

Referenced by av_opt_query_ranges_default(), and opt_list().

double AVOptionRange::component_min

Value's component range.

For string this represents the unicode range for chars, 0-127 limits to ASCII.

Definition at line 318 of file opt.h.

Referenced by av_opt_query_ranges_default().

double AVOptionRange::component_max

Definition at line 318 of file opt.h.

Referenced by av_opt_query_ranges_default().

int AVOptionRange::is_range

Range flag.

If set to 1 the struct encodes a range, if set to 0 a single value.

Definition at line 323 of file opt.h.

Referenced by av_opt_query_ranges_default().


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