Functions | |
int | av_opt_set (void *obj, const char *name, const char *val, int search_flags) |
int | av_opt_set_int (void *obj, const char *name, int64_t val, int search_flags) |
int | av_opt_set_double (void *obj, const char *name, double val, int search_flags) |
int | av_opt_set_q (void *obj, const char *name, AVRational val, int search_flags) |
int | av_opt_set_bin (void *obj, const char *name, const uint8_t *val, int size, int search_flags) |
[in] | obj | A struct whose first element is a pointer to an AVClass. |
[in] | name | the name of the field to set |
[in] | val | The value to set. In case of av_opt_set() if the field is not of a string type, then the given string is parsed. SI postfixes and some named scalars are supported. If the field is of a numeric type, it has to be a numeric or named scalar. Behavior with more than one scalar and +- infix operators is undefined. If the field is of a flags type, it has to be a sequence of numeric scalars or named flags separated by '+' or '-'. Prefixing a flag with '+' causes it to be set without affecting the other flags; similarly, '-' unsets a flag. |
search_flags | flags passed to av_opt_find2. I.e. if AV_OPT_SEARCH_CHILDREN is passed here, then the option may be set on a child of obj. |
Definition at line 237 of file opt.c.
Referenced by av_opt_set_defaults2(), av_opt_set_dict(), av_set_string3(), avcodec_get_context_defaults3(), ffserver_opt_default(), init(), mmsh_open_internal(), open_input(), opt_default(), opt_output_file(), parse_key_value_pair(), rtmp_http_open(), url_alloc_for_protocol(), and video_encode_example().
int av_opt_set_bin | ( | void * | obj, | |
const char * | name, | |||
const uint8_t * | val, | |||
int | size, | |||
int | search_flags | |||
) |
Definition at line 357 of file opt.c.
Referenced by rtmp_calc_swfhash(), rtmp_http_open(), and rtmp_http_send_cmd().
Definition at line 342 of file opt.c.
Referenced by av_opt_set_defaults2(), config_output(), config_props(), init(), main(), and swr_alloc_set_opts().
int av_opt_set_q | ( | void * | obj, | |
const char * | name, | |||
AVRational | val, | |||
int | search_flags | |||
) |