263 #define AV_OPT_FLAG_ENCODING_PARAM 1
264 #define AV_OPT_FLAG_DECODING_PARAM 2
265 #define AV_OPT_FLAG_METADATA 4
266 #define AV_OPT_FLAG_AUDIO_PARAM 8
267 #define AV_OPT_FLAG_VIDEO_PARAM 16
268 #define AV_OPT_FLAG_SUBTITLE_PARAM 32
288 int av_opt_show2(
void *obj,
void *av_log_obj,
int req_flags,
int rej_flags);
314 const char *key_val_sep,
const char *pairs_sep);
371 #define AV_OPT_SEARCH_CHILDREN 0x0001
379 #define AV_OPT_SEARCH_FAKE_OBJ 0x0002
404 int opt_flags,
int search_flags);
428 int opt_flags,
int search_flags,
void **target_obj);
483 int av_opt_set (
void *obj,
const char *
name,
const char *val,
int search_flags);
union AVOption::@128 default_val
the default value for scalar options
int av_opt_eval_float(void *obj, const AVOption *o, const char *val, float *float_out)
int av_opt_set_q(void *obj, const char *name, AVRational val, int search_flags)
void * av_opt_child_next(void *obj, void *prev)
Iterate over AVOptions-enabled children of obj.
const AVClass * av_opt_child_class_next(const AVClass *parent, const AVClass *prev)
Iterate over potential AVOptions-enabled children of parent.
void av_opt_set_defaults(void *s)
Set the values of all AVOption fields to their default values.
int av_set_options_string(void *ctx, const char *opts, const char *key_val_sep, const char *pairs_sep)
Parse the key/value pairs list in opts.
int av_opt_set_bin(void *obj, const char *name, const uint8_t *val, int size, int search_flags)
int av_opt_get_q(void *obj, const char *name, int search_flags, AVRational *out_val)
const char * help
short English help text
int av_opt_eval_int64(void *obj, const AVOption *o, const char *val, int64_t *int64_out)
int av_opt_set_double(void *obj, const char *name, double val, int search_flags)
double max
maximum valid value for the option
int av_opt_eval_flags(void *obj, const AVOption *o, const char *val, int *flags_out)
const AVOption * av_opt_next(void *obj, const AVOption *prev)
Iterate over all AVOptions belonging to obj.
int av_opt_set_int(void *obj, const char *name, int64_t val, int search_flags)
const AVOption * av_opt_find(void *obj, const char *name, const char *unit, int opt_flags, int search_flags)
Look for an option in an object.
int av_opt_eval_double(void *obj, const AVOption *o, const char *val, double *double_out)
const char * unit
The logical unit to which the option belongs.
int av_opt_eval_q(void *obj, const AVOption *o, const char *val, AVRational *q_out)
double min
minimum valid value for the option
offset must point to a pointer immediately followed by an int for the length
int av_opt_get_int(void *obj, const char *name, int search_flags, int64_t *out_val)
int offset
The offset relative to the context structure where the option value is stored.
int av_opt_set_dict(void *obj, struct AVDictionary **options)
int av_opt_show2(void *obj, void *av_log_obj, int req_flags, int rej_flags)
Show the obj options.
Describe the class of an AVClass context structure.
rational number numerator/denominator
int av_opt_eval_int(void *obj, const AVOption *o, const char *val, int *int_out)
const OptionDef options[]
void av_opt_free(void *obj)
Free all string and binary options in obj.
int av_opt_get_double(void *obj, const char *name, int search_flags, double *out_val)
int av_opt_get(void *obj, const char *name, int search_flags, uint8_t **out_val)
int av_opt_flag_is_set(void *obj, const char *field_name, const char *flag_name)
Check whether a particular flag is set in a flags field.
const AVOption * av_opt_find2(void *obj, const char *name, const char *unit, int opt_flags, int search_flags, void **target_obj)
Look for an option in an object.
int av_opt_set(void *obj, const char *name, const char *val, int search_flags)