FFmpeg
[フレーム]
Functions
Evaluating option strings
libavutil » Data Structures » AVOptions » Reading option values

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

int  av_opt_eval_flags (void *obj, const AVOption *o, const char *val, int *flags_out)
 
int  av_opt_eval_int (void *obj, const AVOption *o, const char *val, int *int_out)
 
int  av_opt_eval_int64 (void *obj, const AVOption *o, const char *val, int64_t *int64_out)
 
int  av_opt_eval_float (void *obj, const AVOption *o, const char *val, float *float_out)
 
int  av_opt_eval_double (void *obj, const AVOption *o, const char *val, double *double_out)
 
int  av_opt_eval_q (void *obj, const AVOption *o, const char *val, AVRational *q_out)
 

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 AVOptiono,
const char *  val,
intflags_out 
)

Referenced by av_parse_cpu_caps(), check_opt_bitexact(), and opt_abort_on().

av_opt_eval_int()

int av_opt_eval_int ( void *  obj,
const AVOptiono,
const char *  val,
intint_out 
)

Referenced by of_parse_group_token(), ofilter_bind_ost(), and opt_cpucount().

av_opt_eval_int64()

int av_opt_eval_int64 ( void *  obj,
const AVOptiono,
const char *  val,
int64_tint64_out 
)

av_opt_eval_float()

int av_opt_eval_float ( void *  obj,
const AVOptiono,
const char *  val,
floatfloat_out 
)

av_opt_eval_double()

int av_opt_eval_double ( void *  obj,
const AVOptiono,
const char *  val,
doubledouble_out 
)

av_opt_eval_q()

int av_opt_eval_q ( void *  obj,
const AVOptiono,
const char *  val,
AVRationalq_out 
)

Generated on Thu Sep 26 2024 23:16:26 for FFmpeg by   doxygen 1.8.17

AltStyle によって変換されたページ (->オリジナル) /