World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
См. документацию.
276 #define AV_OPT_FLAG_ENCODING_PARAM 1
277 #define AV_OPT_FLAG_DECODING_PARAM 2
278 #define AV_OPT_FLAG_AUDIO_PARAM 8
279 #define AV_OPT_FLAG_VIDEO_PARAM 16
280 #define AV_OPT_FLAG_SUBTITLE_PARAM 32
284 #define AV_OPT_FLAG_EXPORT 64
289 #define AV_OPT_FLAG_READONLY 128
290 #define AV_OPT_FLAG_BSF_PARAM (1<<8)
291 #define AV_OPT_FLAG_FILTERING_PARAM (1<<16)
292 #define AV_OPT_FLAG_DEPRECATED (1<<17)
293 //FIXME think about enc-audio, ... style flags
380 int av_opt_show2(
void *
obj,
void *av_log_obj,
int req_flags,
int rej_flags);
418 const char *key_val_sep,
const char *pairs_sep);
448 const char *
const *shorthand,
449 const char *key_val_sep,
const char *pairs_sep);
519 const char *key_val_sep,
const char *pairs_sep,
521 char **rkey,
char **rval);
556 #define AV_OPT_SEARCH_CHILDREN (1 << 0)
564 #define AV_OPT_SEARCH_FAKE_OBJ (1 << 1)
570 #define AV_OPT_ALLOW_NULL (1 << 2)
577 #define AV_OPT_MULTI_COMPONENT_RANGE (1 << 12)
602 int opt_flags,
int search_flags);
626 int opt_flags,
int search_flags,
void **target_obj);
707 #define av_opt_set_int_list(obj, name, val, term, flags) \
708 (av_int_list_length(val, term) > INT_MAX / sizeof(*(val)) ? \
710 av_opt_set_bin(obj, name, (const uint8_t *)(val), \
711 av_int_list_length(val, term) * sizeof(*(val)), flags))
838 #define AV_OPT_SERIALIZE_SKIP_DEFAULTS 0x00000001
839 #define AV_OPT_SERIALIZE_OPT_FLAGS_EXACT 0x00000002
860 const char key_val_sep,
const char pairs_sep);
int av_opt_get_dict_val(void *obj, const char *name, int search_flags, AVDictionary **out_val)
int av_opt_set_image_size(void *obj, const char *name, int w, int h, int search_flags)
double min
minimum valid value for the option
void av_opt_set_defaults(void *s)
void * av_opt_ptr(const AVClass *avclass, void *obj, const char *name)
@ AV_OPT_TYPE_VIDEO_RATE
offset must point to AVRational
int av_opt_is_set_to_default_by_name(void *obj, const char *name, int search_flags)
int av_opt_set_double(void *obj, const char *name, double val, int search_flags)
int av_opt_is_set_to_default(void *obj, const AVOption *o)
@ AV_OPT_FLAG_IMPLICIT_KEY
int av_set_options_string(void *ctx, const char *opts, const char *key_val_sep, const char *pairs_sep)
@ AV_OPT_TYPE_BINARY
offset must point to a pointer immediately followed by an int for the length
GLubyte GLubyte GLubyte GLubyte w
struct AVOptionRange AVOptionRange
union AVOption::@90 default_val
int av_opt_set(void *obj, const char *name, const char *val, int search_flags)
GLfloat GLfloat GLfloat GLfloat h
double max
maximum valid value for the option
int av_opt_get_channel_layout(void *obj, const char *name, int search_flags, int64_t *ch_layout)
int av_opt_set_dict(void *obj, struct AVDictionary **options)
EGLContext EGLenum EGLClientBuffer buffer
int av_opt_set_dict_val(void *obj, const char *name, const AVDictionary *val, int search_flags)
int av_opt_set_pixel_fmt(void *obj, const char *name, enum AVPixelFormat fmt, int search_flags)
int av_opt_eval_int64(void *obj, const AVOption *o, const char *val, int64_t *int64_out)
int av_opt_get_pixel_fmt(void *obj, const char *name, int search_flags, enum AVPixelFormat *out_fmt)
const AVOption * av_opt_find(void *obj, const char *name, const char *unit, int opt_flags, int search_flags)
int av_opt_get_video_rate(void *obj, const char *name, int search_flags, AVRational *out_val)
int av_opt_set_video_rate(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)
int av_opt_get_double(void *obj, const char *name, int search_flags, double *out_val)
int av_opt_set_from_string(void *ctx, const char *opts, const char *const *shorthand, const char *key_val_sep, const char *pairs_sep)
@ AV_OPT_TYPE_IMAGE_SIZE
offset must point to two consecutive integers
int av_opt_get_sample_fmt(void *obj, const char *name, int search_flags, enum AVSampleFormat *out_fmt)
void av_opt_free(void *obj)
int av_opt_get_int(void *obj, const char *name, int search_flags, int64_t *out_val)
int av_opt_set_int(void *obj, const char *name, int64_t val, int search_flags)
int av_opt_set_channel_layout(void *obj, const char *name, int64_t ch_layout, int search_flags)
void av_opt_set_defaults2(void *s, int mask, int flags)
@ AV_OPT_TYPE_CHANNEL_LAYOUT
int av_opt_eval_q(void *obj, const AVOption *o, const char *val, AVRational *q_out)
const AVOption * av_opt_find2(void *obj, const char *name, const char *unit, int opt_flags, int search_flags, void **target_obj)
struct AVOptionRanges AVOptionRanges
int av_opt_set_dict2(void *obj, struct AVDictionary **options, int search_flags)
EGLImageKHR EGLint * name
const AVOption * av_opt_next(const void *obj, const AVOption *prev)
int av_opt_eval_double(void *obj, const AVOption *o, const char *val, double *double_out)
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_get_key_value(const char **ropts, const char *key_val_sep, const char *pairs_sep, unsigned flags, char **rkey, char **rval)
const AVClass * av_opt_child_class_next(const AVClass *parent, const AVClass *prev)
struct AVDictionary AVDictionary
int av_opt_serialize(void *obj, int opt_flags, int flags, char **buffer, const char key_val_sep, const char pairs_sep)
int av_opt_flag_is_set(void *obj, const char *field_name, const char *flag_name)
int av_opt_query_ranges_default(AVOptionRanges **, void *obj, const char *key, int flags)
int av_opt_query_ranges(AVOptionRanges **, void *obj, const char *key, int flags)
int av_opt_eval_float(void *obj, const AVOption *o, const char *val, float *float_out)
void av_opt_freep_ranges(AVOptionRanges **ranges)
int av_opt_copy(void *dest, const void *src)
int av_opt_get(void *obj, const char *name, int search_flags, uint8_t **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_set_q(void *obj, const char *name, AVRational val, int search_flags)
int av_opt_set_sample_fmt(void *obj, const char *name, enum AVSampleFormat fmt, int search_flags)
int av_opt_show2(void *obj, void *av_log_obj, int req_flags, int rej_flags)
void * av_opt_child_next(void *obj, void *prev)
int av_opt_get_q(void *obj, const char *name, int search_flags, AVRational *out_val)