|
const AVOption * | av_opt_next (const void *obj, const AVOption *last) |
| Iterate over all AVOptions belonging to obj. More...
|
|
static int | opt_is_pod (enum AVOptionType type) |
|
static uint8_t | opt_array_sep (const AVOption *o) |
|
static void * | opt_array_pelem (const AVOption *o, void *array, unsigned idx) |
|
static unsigned * | opt_array_pcount (const void *parray) |
|
static void | opt_free_elem (enum AVOptionType type, void *ptr) |
|
static void | opt_free_array (const AVOption *o, void *parray, unsigned *count) |
|
static int | read_number (const AVOption *o, const void *dst, double *num, int *den, int64_t *intnum) |
|
static int | write_number (void *obj, const AVOption *o, void *dst, double num, int den, int64_t intnum) |
|
static int | hexchar2int (char c) |
|
static int | set_string_binary (void *obj, const AVOption *o, const char *val, uint8_t **dst) |
|
static int | set_string (void *obj, const AVOption *o, const char *val, uint8_t **dst) |
|
static int | set_string_number (void *obj, void *target_obj, const AVOption *o, const char *val, void *dst) |
|
static int | set_string_image_size (void *obj, const AVOption *o, const char *val, int *dst) |
|
static int | set_string_video_rate (void *obj, const AVOption *o, const char *val, AVRational *dst) |
|
static int | set_string_color (void *obj, const AVOption *o, const char *val, uint8_t *dst) |
|
static const char * | get_bool_name (int val) |
|
static int | set_string_bool (void *obj, const AVOption *o, const char *val, int *dst) |
|
static int | set_string_fmt (void *obj, const AVOption *o, const char *val, uint8_t *dst, int fmt_nb, int((*get_fmt)(const char *)), const char *desc) |
|
static int | get_pix_fmt (const char *name) |
|
static int | set_string_pixel_fmt (void *obj, const AVOption *o, const char *val, uint8_t *dst) |
|
static int | get_sample_fmt (const char *name) |
|
static int | set_string_sample_fmt (void *obj, const AVOption *o, const char *val, uint8_t *dst) |
|
static int | set_string_dict (void *obj, const AVOption *o, const char *val, uint8_t **dst) |
|
static int | set_string_channel_layout (void *obj, const AVOption *o, const char *val, void *dst) |
|
static int | opt_set_elem (void *obj, void *target_obj, const AVOption *o, const char *val, void *dst) |
|
static int | opt_set_array (void *obj, void *target_obj, const AVOption *o, const char *val, void *dst) |
|
int | av_opt_set (void *obj, const char *name, const char *val, int search_flags) |
|
static int | set_number (void *obj, const char *name, double num, int den, int64_t intnum, 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 len, int search_flags) |
|
int | av_opt_set_image_size (void *obj, const char *name, int w, int h, int search_flags) |
|
int | av_opt_set_video_rate (void *obj, const char *name, AVRational val, int search_flags) |
|
static int | set_format (void *obj, const char *name, int fmt, int search_flags, enum AVOptionType type, const char *desc, int nb_fmts) |
|
int | av_opt_set_pixel_fmt (void *obj, const char *name, enum AVPixelFormat fmt, int search_flags) |
|
int | av_opt_set_sample_fmt (void *obj, const char *name, enum AVSampleFormat fmt, int search_flags) |
|
int | av_opt_set_dict_val (void *obj, const char *name, const AVDictionary *val, int search_flags) |
|
int | av_opt_set_chlayout (void *obj, const char *name, const AVChannelLayout *channel_layout, int search_flags) |
|
static void | format_duration (char *buf, size_t size, int64_t d) |
|
static int | opt_get_elem (const AVOption *o, uint8_t **pbuf, size_t buf_len, const void *dst, int search_flags) |
|
static int | opt_get_array (const AVOption *o, void *dst, uint8_t **out_val) |
|
int | av_opt_get (void *obj, const char *name, int search_flags, uint8_t **out_val) |
|
static int | get_number (void *obj, const char *name, double *num, int *den, int64_t *intnum, int search_flags) |
|
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) |
|
int | av_opt_get_image_size (void *obj, const char *name, int search_flags, int *w_out, int *h_out) |
|
int | av_opt_get_video_rate (void *obj, const char *name, int search_flags, AVRational *out_val) |
|
static int | get_format (void *obj, const char *name, int search_flags, int *out_fmt, enum AVOptionType type, const char *desc) |
|
int | av_opt_get_pixel_fmt (void *obj, const char *name, int search_flags, enum AVPixelFormat *out_fmt) |
|
int | av_opt_get_sample_fmt (void *obj, const char *name, int search_flags, enum AVSampleFormat *out_fmt) |
|
int | av_opt_get_chlayout (void *obj, const char *name, int search_flags, AVChannelLayout *cl) |
|
int | av_opt_get_dict_val (void *obj, const char *name, int search_flags, AVDictionary **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. More...
|
|
static void | log_int_value (void *av_log_obj, int level, int64_t i) |
|
static void | log_value (void *av_log_obj, int level, double d) |
|
static const char * | get_opt_const_name (void *obj, const char *unit, int64_t value) |
|
static char * | get_opt_flags_string (void *obj, const char *unit, int64_t value) |
|
static void | log_type (void *av_log_obj, const AVOption *o, enum AVOptionType parent_type) |
|
static void | log_default (void *obj, void *av_log_obj, const AVOption *opt) |
|
static void | opt_list (void *obj, void *av_log_obj, const char *unit, int req_flags, int rej_flags, enum AVOptionType parent_type) |
|
int | av_opt_show2 (void *obj, void *av_log_obj, int req_flags, int rej_flags) |
| Show the obj options. More...
|
|
void | av_opt_set_defaults (void *s) |
| Set the values of all AVOption fields to their default values. More...
|
|
void | av_opt_set_defaults2 (void *s, int mask, int flags) |
| Set the values of all AVOption fields to their default values. More...
|
|
static int | parse_key_value_pair (void *ctx, const char **buf, const char *key_val_sep, const char *pairs_sep) |
| Store the value in the field in ctx that is named like key. More...
|
|
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. More...
|
|
static int | is_key_char (char c) |
|
static int | get_key (const char **ropts, const char *delim, char **rkey) |
| Read a key from a string. More...
|
|
int | av_opt_get_key_value (const char **ropts, const char *key_val_sep, const char *pairs_sep, unsigned flags, char **rkey, char **rval) |
| Extract a key-value pair from the beginning of a string. More...
|
|
int | av_opt_set_from_string (void *ctx, const char *opts, const char *const *shorthand, const char *key_val_sep, const char *pairs_sep) |
| Parse the key-value pairs list in opts. More...
|
|
void | av_opt_free (void *obj) |
| Free all allocated objects in obj. More...
|
|
int | av_opt_set_dict2 (void *obj, AVDictionary **options, int search_flags) |
| Set all the options from a given dictionary on an object. More...
|
|
int | av_opt_set_dict (void *obj, AVDictionary **options) |
| Set all the options from a given dictionary on an object. More...
|
|
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. More...
|
|
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. More...
|
|
void * | av_opt_child_next (void *obj, void *prev) |
| Iterate over AVOptions-enabled children of obj. More...
|
|
const AVClass * | av_opt_child_class_iterate (const AVClass *parent, void **iter) |
| Iterate over potential AVOptions-enabled children of parent. More...
|
|
void * | av_opt_ptr (const AVClass *class, void *obj, const char *name) |
| Gets a pointer to the requested field in a struct. More...
|
|
static int | opt_copy_elem (void *logctx, enum AVOptionType type, void *dst, const void *src) |
|
static int | opt_copy_array (void *logctx, const AVOption *o, void **pdst, const void *const *psrc) |
|
int | av_opt_copy (void *dst, const void *src) |
| Copy options from src object into dest object. More...
|
|
int | av_opt_get_array_size (void *obj, const char *name, int search_flags, unsigned int *out_val) |
| For an array-type option, get the number of elements in the array. More...
|
|
int | av_opt_get_array (void *obj, const char *name, int search_flags, unsigned int start_elem, unsigned int nb_elems, enum AVOptionType out_type, void *out_val) |
| For an array-type option, retrieve the values of one or more array elements. More...
|
|
int | av_opt_set_array (void *obj, const char *name, int search_flags, unsigned int start_elem, unsigned int nb_elems, enum AVOptionType val_type, const void *val) |
| Add, replace, or remove elements for an array option. More...
|
|
int | av_opt_query_ranges (AVOptionRanges **ranges_arg, void *obj, const char *key, int flags) |
| Get a list of allowed ranges for the given option. More...
|
|
int | av_opt_query_ranges_default (AVOptionRanges **ranges_arg, void *obj, const char *key, int flags) |
| Get a default list of allowed ranges for the given option. More...
|
|
void | av_opt_freep_ranges (AVOptionRanges **rangesp) |
| Free an AVOptionRanges struct and set it to NULL. More...
|
|
int | av_opt_is_set_to_default (void *obj, const AVOption *o) |
| Check if given option is set to its default value. More...
|
|
int | av_opt_is_set_to_default_by_name (void *obj, const char *name, int search_flags) |
| Check if given option is set to its default value. More...
|
|
static int | opt_serialize (void *obj, int opt_flags, int flags, int *cnt, AVBPrint *bprint, const char key_val_sep, const char pairs_sep) |
|
int | av_opt_serialize (void *obj, int opt_flags, int flags, char **buffer, const char key_val_sep, const char pairs_sep) |
| Serialize object's options. More...
|
|