Those functions get a value of the option with the given name from an object. More...
Functions | |
int | av_opt_get (void *obj, const char *name, int search_flags, uint8_t **out_val) |
int | av_opt_get_int (void *obj, const char *name, int search_flags, int64_t *out_val) |
int | av_opt_get_double (void *obj, const char *name, int search_flags, double *out_val) |
int | av_opt_get_q (void *obj, const char *name, int search_flags, AVRational *out_val) |
Those functions get a value of the option with the given name from an object.
[in] | obj | a struct whose first element is a pointer to an AVClass. |
[in] | name | name of the option to get. |
[in] | search_flags | flags passed to av_opt_find2. I.e. if AV_OPT_SEARCH_CHILDREN is passed here, then the option may be found in a child of obj. |
[out] | out_val | value of the option will be written here |
int av_opt_get | ( | void * | obj, |
const char * | name, | ||
int | search_flags, | ||
uint8_t ** | out_val | ||
) |
Definition at line 361 of file opt.c.
Referenced by ff_rtp_chain_mux_open().
int av_opt_get_double | ( | void * | obj, |
const char * | name, | ||
int | search_flags, | ||
double * | out_val | ||
) |
int av_opt_get_int | ( | void * | obj, |
const char * | name, | ||
int | search_flags, | ||
int64_t * | out_val | ||
) |
Definition at line 464 of file opt.c.
Referenced by av_opt_flag_is_set(), ff_rtp_get_payload_type(), and new_output_stream().
int av_opt_get_q | ( | void * | obj, |
const char * | name, | ||
int | search_flags, | ||
AVRational * | out_val | ||
) |