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

Field Documentation

◆ str

const char* AVOptionRange::str

Definition at line 314 of file opt.h.

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

◆ value_max

double AVOptionRange::value_max

Definition at line 320 of file opt.h.

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

◆ component_max

double AVOptionRange::component_max

Definition at line 325 of file opt.h.

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


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