• Home
  • Raw
  • Download

Lines Matching refs:search_flags

263             int search_flags = (o->flags & AV_OPT_FLAG_CHILD_CONSTS) ? AV_OPT_SEARCH_CHILDREN : 0;  in set_string_number()  local
264 … const AVOption *o_named = av_opt_find(target_obj, i ? buf : val, o->unit, 0, search_flags); in set_string_number()
465 int av_opt_set(void *obj, const char *name, const char *val, int search_flags) in av_opt_set() argument
469 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj); in av_opt_set()
571 int search_flags) in OPT_EVAL_NUMBER()
574 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj); in OPT_EVAL_NUMBER()
586 int av_opt_set_int(void *obj, const char *name, int64_t val, int search_flags) in av_opt_set_int() argument
588 return set_number(obj, name, 1, 1, val, search_flags); in av_opt_set_int()
591 int av_opt_set_double(void *obj, const char *name, double val, int search_flags) in av_opt_set_double() argument
593 return set_number(obj, name, val, 1, 1, search_flags); in av_opt_set_double()
596 int av_opt_set_q(void *obj, const char *name, AVRational val, int search_flags) in av_opt_set_q() argument
598 return set_number(obj, name, val.num, val.den, 1, search_flags); in av_opt_set_q()
601 int av_opt_set_bin(void *obj, const char *name, const uint8_t *val, int len, int search_flags) in av_opt_set_bin() argument
604 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj); in av_opt_set_bin()
631 int av_opt_set_image_size(void *obj, const char *name, int w, int h, int search_flags) in av_opt_set_image_size() argument
634 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj); in av_opt_set_image_size()
653 int av_opt_set_video_rate(void *obj, const char *name, AVRational val, int search_flags) in av_opt_set_video_rate() argument
656 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj); in av_opt_set_video_rate()
667 return set_number(obj, name, val.num, val.den, 1, search_flags); in av_opt_set_video_rate()
670 static int set_format(void *obj, const char *name, int fmt, int search_flags, in set_format() argument
675 search_flags, &target_obj); in set_format()
699 int av_opt_set_pixel_fmt(void *obj, const char *name, enum AVPixelFormat fmt, int search_flags) in av_opt_set_pixel_fmt() argument
701 return set_format(obj, name, fmt, search_flags, AV_OPT_TYPE_PIXEL_FMT, "pixel", AV_PIX_FMT_NB); in av_opt_set_pixel_fmt()
704 int av_opt_set_sample_fmt(void *obj, const char *name, enum AVSampleFormat fmt, int search_flags) in av_opt_set_sample_fmt() argument
706 …return set_format(obj, name, fmt, search_flags, AV_OPT_TYPE_SAMPLE_FMT, "sample", AV_SAMPLE_FMT_NB… in av_opt_set_sample_fmt()
709 int av_opt_set_channel_layout(void *obj, const char *name, int64_t cl, int search_flags) in av_opt_set_channel_layout() argument
712 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj); in av_opt_set_channel_layout()
726 int search_flags) in av_opt_set_dict_val() argument
730 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj); in av_opt_set_dict_val()
779 int av_opt_get(void *obj, const char *name, int search_flags, uint8_t **out_val) in av_opt_get() argument
782 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj); in av_opt_get()
828 } else if (search_flags & AV_OPT_ALLOW_NULL) { in av_opt_get()
836 if (!*(uint8_t **)dst && (search_flags & AV_OPT_ALLOW_NULL)) { in av_opt_get()
877 if (!*(AVDictionary **)dst && (search_flags & AV_OPT_ALLOW_NULL)) { in av_opt_get()
893 int search_flags) in get_number() argument
896 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj); in get_number()
912 int av_opt_get_int(void *obj, const char *name, int search_flags, int64_t *out_val) in av_opt_get_int() argument
918 if ((ret = get_number(obj, name, NULL, &num, &den, &intnum, search_flags)) < 0) in av_opt_get_int()
924 int av_opt_get_double(void *obj, const char *name, int search_flags, double *out_val) in av_opt_get_double() argument
930 if ((ret = get_number(obj, name, NULL, &num, &den, &intnum, search_flags)) < 0) in av_opt_get_double()
936 int av_opt_get_q(void *obj, const char *name, int search_flags, AVRational *out_val) in av_opt_get_q() argument
942 if ((ret = get_number(obj, name, NULL, &num, &den, &intnum, search_flags)) < 0) in av_opt_get_q()
952 int av_opt_get_image_size(void *obj, const char *name, int search_flags, int *w_out, int *h_out) in av_opt_get_image_size() argument
955 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj); in av_opt_get_image_size()
970 int av_opt_get_video_rate(void *obj, const char *name, int search_flags, AVRational *out_val) in av_opt_get_video_rate() argument
976 if ((ret = get_number(obj, name, NULL, &num, &den, &intnum, search_flags)) < 0) in av_opt_get_video_rate()
986 static int get_format(void *obj, const char *name, int search_flags, int *out_fmt, in get_format() argument
990 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj); in get_format()
1004 int av_opt_get_pixel_fmt(void *obj, const char *name, int search_flags, enum AVPixelFormat *out_fmt) in av_opt_get_pixel_fmt() argument
1006 return get_format(obj, name, search_flags, out_fmt, AV_OPT_TYPE_PIXEL_FMT, "pixel"); in av_opt_get_pixel_fmt()
1009 int av_opt_get_sample_fmt(void *obj, const char *name, int search_flags, enum AVSampleFormat *out_f… in av_opt_get_sample_fmt() argument
1011 return get_format(obj, name, search_flags, out_fmt, AV_OPT_TYPE_SAMPLE_FMT, "sample"); in av_opt_get_sample_fmt()
1014 int av_opt_get_channel_layout(void *obj, const char *name, int search_flags, int64_t *cl) in av_opt_get_channel_layout() argument
1017 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj); in av_opt_get_channel_layout()
1031 int av_opt_get_dict_val(void *obj, const char *name, int search_flags, AVDictionary **out_val) in av_opt_get_dict_val() argument
1035 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj); in av_opt_get_dict_val()
1631 int av_opt_set_dict2(void *obj, AVDictionary **options, int search_flags) in av_opt_set_dict2() argument
1641 ret = av_opt_set(obj, t->key, t->value, search_flags); in av_opt_set_dict2()
1662 int opt_flags, int search_flags) in av_opt_find() argument
1664 return av_opt_find2(obj, name, unit, opt_flags, search_flags, NULL); in av_opt_find()
1668 int opt_flags, int search_flags, void **target_obj) in av_opt_find2() argument
1681 if (search_flags & AV_OPT_SEARCH_CHILDREN) { in av_opt_find2()
1682 if (search_flags & AV_OPT_SEARCH_FAKE_OBJ) { in av_opt_find2()
1686 if (o = av_opt_find2(&child, name, unit, opt_flags, search_flags, NULL)) in av_opt_find2()
1691 if (o = av_opt_find2(child, name, unit, opt_flags, search_flags, target_obj)) in av_opt_find2()
1701 if (!(search_flags & AV_OPT_SEARCH_FAKE_OBJ)) in av_opt_find2()
2069 int av_opt_is_set_to_default_by_name(void *obj, const char *name, int search_flags) in av_opt_is_set_to_default_by_name() argument
2075 o = av_opt_find2(obj, name, NULL, 0, search_flags, &target); in av_opt_is_set_to_default_by_name()