• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavutil/

Lines Matching refs:search_flags

369 int av_opt_set(void *obj, const char *name, const char *val, int search_flags)
373 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
450 int search_flags)
453 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
491 int av_opt_set_int(void *obj, const char *name, int64_t val, int search_flags)
493 return set_number(obj, name, 1, 1, val, search_flags);
496 int av_opt_set_double(void *obj, const char *name, double val, int search_flags)
498 return set_number(obj, name, val, 1, 1, search_flags);
501 int av_opt_set_q(void *obj, const char *name, AVRational val, int search_flags)
503 return set_number(obj, name, val.num, val.den, 1, search_flags);
506 int av_opt_set_bin(void *obj, const char *name, const uint8_t *val, int len, int search_flags)
509 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
536 int av_opt_set_image_size(void *obj, const char *name, int w, int h, int search_flags)
539 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
558 int av_opt_set_video_rate(void *obj, const char *name, AVRational val, int search_flags)
561 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
572 return set_number(obj, name, val.num, val.den, 1, search_flags);
575 static int set_format(void *obj, const char *name, int fmt, int search_flags,
580 search_flags, &target_obj);
612 int av_opt_set_pixel_fmt(void *obj, const char *name, enum AVPixelFormat fmt, int search_flags)
614 return set_format(obj, name, fmt, search_flags, AV_OPT_TYPE_PIXEL_FMT, "pixel", AV_PIX_FMT_NB);
617 int av_opt_set_sample_fmt(void *obj, const char *name, enum AVSampleFormat fmt, int search_flags)
619 return set_format(obj, name, fmt, search_flags, AV_OPT_TYPE_SAMPLE_FMT, "sample", AV_SAMPLE_FMT_NB);
622 int av_opt_set_channel_layout(void *obj, const char *name, int64_t cl, int search_flags)
625 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
679 int av_opt_get(void *obj, const char *name, int search_flags, uint8_t **out_val)
682 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
751 int search_flags)
754 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
807 int av_opt_get_int(void *obj, const char *name, int search_flags, int64_t *out_val)
813 if ((ret = get_number(obj, name, NULL, &num, &den, &intnum, search_flags)) < 0)
819 int av_opt_get_double(void *obj, const char *name, int search_flags, double *out_val)
825 if ((ret = get_number(obj, name, NULL, &num, &den, &intnum, search_flags)) < 0)
831 int av_opt_get_q(void *obj, const char *name, int search_flags, AVRational *out_val)
837 if ((ret = get_number(obj, name, NULL, &num, &den, &intnum, search_flags)) < 0)
847 int av_opt_get_image_size(void *obj, const char *name, int search_flags, int *w_out, int *h_out)
850 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
865 int av_opt_get_video_rate(void *obj, const char *name, int search_flags, AVRational *out_val)
871 if ((ret = get_number(obj, name, NULL, &num, &den, &intnum, search_flags)) < 0)
881 static int get_format(void *obj, const char *name, int search_flags, int *out_fmt,
885 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
899 int av_opt_get_pixel_fmt(void *obj, const char *name, int search_flags, enum AVPixelFormat *out_fmt)
901 return get_format(obj, name, search_flags, out_fmt, AV_OPT_TYPE_PIXEL_FMT, "pixel");
904 int av_opt_get_sample_fmt(void *obj, const char *name, int search_flags, enum AVSampleFormat *out_fmt)
906 return get_format(obj, name, search_flags, out_fmt, AV_OPT_TYPE_SAMPLE_FMT, "sample");
909 int av_opt_get_channel_layout(void *obj, const char *name, int search_flags, int64_t *cl)
912 const AVOption *o = av_opt_find2(obj, name, NULL, 0, search_flags, &target_obj);
1418 int av_opt_set_dict2(void *obj, AVDictionary **options, int search_flags)
1428 ret = av_opt_set(obj, t->key, t->value, search_flags);
1448 int opt_flags, int search_flags)
1450 return av_opt_find2(obj, name, unit, opt_flags, search_flags, NULL);
1454 int opt_flags, int search_flags, void **target_obj)
1467 if (search_flags & AV_OPT_SEARCH_CHILDREN) {
1468 if (search_flags & AV_OPT_SEARCH_FAKE_OBJ) {
1471 if (o = av_opt_find2(&child, name, unit, opt_flags, search_flags, NULL))
1476 if (o = av_opt_find2(child, name, unit, opt_flags, search_flags, target_obj))
1486 if (!(search_flags & AV_OPT_SEARCH_FAKE_OBJ))