This group of functions can be used to evaluate option strings and get numbers out of them. They do the same thing as av_opt_set(), except the result is written into the caller-supplied pointer.
More...
Functions
Detailed Description
This group of functions can be used to evaluate option strings and get numbers out of them. They do the same thing as av_opt_set(), except the result is written into the caller-supplied pointer.
- Parameters
-
obj a struct whose first element is a pointer to
AVClass.
o an option for which the string is to be evaluated.
val string to be evaluated.
*_out value of the string will be written here.
- Returns
- 0 on success, a negative number on failure.
Function Documentation
◆ av_opt_eval_flags()
int av_opt_eval_flags
(
void *
obj,
const char *
val,
)
◆ av_opt_eval_int()
int av_opt_eval_int
(
void *
obj,
const char *
val,
)
◆ av_opt_eval_int64()
int av_opt_eval_int64
(
void *
obj,
const char *
val,
int64_t *
int64_out
)
◆ av_opt_eval_float()
int av_opt_eval_float
(
void *
obj,
const char *
val,
)
◆ av_opt_eval_double()
int av_opt_eval_double
(
void *
obj,
const char *
val,
)
◆ av_opt_eval_q()
int av_opt_eval_q
(
void *
obj,
const char *
val,
)