237 #if FF_API_OLD_AVOPTIONS
283 #define AV_OPT_FLAG_ENCODING_PARAM 1
284 #define AV_OPT_FLAG_DECODING_PARAM 2
285 #if FF_API_OPT_TYPE_METADATA
286 #define AV_OPT_FLAG_METADATA 4
288 #define AV_OPT_FLAG_AUDIO_PARAM 8
289 #define AV_OPT_FLAG_VIDEO_PARAM 16
290 #define AV_OPT_FLAG_SUBTITLE_PARAM 32
294 #define AV_OPT_FLAG_EXPORT 64
299 #define AV_OPT_FLAG_READONLY 128
300 #define AV_OPT_FLAG_FILTERING_PARAM (1<<16)
301 //FIXME think about enc-audio, ... style flags
349 #if FF_API_OLD_AVOPTIONS
399 int av_opt_show2(
void *obj,
void *av_log_obj,
int req_flags,
int rej_flags);
408 #if FF_API_OLD_AVOPTIONS
431 const char *key_val_sep,
const char *pairs_sep);
461 const char *
const *shorthand,
462 const char *key_val_sep,
const char *pairs_sep);
514 const char *key_val_sep,
const char *pairs_sep,
516 char **rkey,
char **rval);
551 #define AV_OPT_SEARCH_CHILDREN 0x0001
559 #define AV_OPT_SEARCH_FAKE_OBJ 0x0002
584 int opt_flags,
int search_flags);
608 int opt_flags,
int search_flags,
void **target_obj);
684 #define av_opt_set_int_list(obj, name, val, term, flags) \
685 (av_int_list_length(val, term) > INT_MAX / sizeof(*(val)) ? \
687 av_opt_set_bin(obj, name, (const uint8_t *)(val), \
688 av_int_list_length(val, term) * sizeof(*(val)), flags))