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

Field Documentation

◆ str

const char* AVOptionRange::str

Definition at line 310 of file opt.h.

Referenced by av_opt_freep_ranges().

◆ value_min

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

Referenced by av_opt_query_ranges_default().

◆ value_max

double AVOptionRange::value_max

Definition at line 316 of file opt.h.

Referenced by av_opt_query_ranges_default().

◆ component_min

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

Referenced by av_opt_query_ranges_default().

◆ component_max

double AVOptionRange::component_max

Definition at line 321 of file opt.h.

Referenced by av_opt_query_ranges_default().

◆ is_range

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

Referenced by av_opt_query_ranges_default().


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