FFmpeg
|
This group of functions can be used to evaluate option strings and get numbers out of them. 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) |
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.
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. |
Referenced by av_parse_cpu_caps(), av_parse_cpu_flags(), init_dict(), open_output_file(), opt_abort_on(), and set_encoder_id().
Referenced by add_input_streams().
int av_opt_eval_q | ( | void * | obj, |
const AVOption * | o, | ||
const char * | val, | ||
AVRational * | q_out | ||
) |