Lines Matching refs:name
52 * of AVOptions. Each AVOption must have a non-empty name, a type, a default
190 * for an option with the given name.
252 const char *name;
465 * @param field_name the name of the flag field option
466 * @param flag_name the name of the flag to check
594 * @param[in] name The name of the option to look for.
595 * @param[in] unit When searching for named constants, name of the unit
608 const AVOption *av_opt_find(void *obj, const char *name, const char *unit,
619 * @param[in] name The name of the option to look for.
620 * @param[in] unit When searching for named constants, name of the unit
632 const AVOption *av_opt_find2(void *obj, const char *name, const char *unit,
665 * Those functions set the field of obj with the given name to value.
668 * @param[in] name the name of the field to set
691 int av_opt_set (void *obj, const char *name, const char *val, int search_flags);
692 int av_opt_set_int (void *obj, const char *name, int64_t val, int search_flags);
693 int av_opt_set_double (void *obj, const char *name, double val, int search_flags);
694 int av_opt_set_q (void *obj, const char *name, AVRational val, int search_flags);
695 int av_opt_set_bin (void *obj, const char *name, const uint8_t *val, int size, int search_flags);
696 int av_opt_set_image_size(void *obj, const char *name, int w, int h, int search_flags);
697 int av_opt_set_pixel_fmt (void *obj, const char *name, enum AVPixelFormat fmt, int search_flags);
698 int av_opt_set_sample_fmt(void *obj, const char *name, enum AVSampleFormat fmt, int search_flags);
699 int av_opt_set_video_rate(void *obj, const char *name, AVRational val, int search_flags);
702 int av_opt_set_channel_layout(void *obj, const char *name, int64_t ch_layout, int search_flags);
704 int av_opt_set_chlayout(void *obj, const char *name, const AVChannelLayout *layout, int search_flags);
709 int av_opt_set_dict_val(void *obj, const char *name, const AVDictionary *val, int search_flags);
715 * @param name name of the binary option
721 #define av_opt_set_int_list(obj, name, val, term, flags) \
724 av_opt_set_bin(obj, name, (const uint8_t *)(val), \
734 * Those functions get a value of the option with the given name from an object.
737 * @param[in] name name of the option to get.
751 int av_opt_get (void *obj, const char *name, int search_flags, uint8_t **out_val);
752 int av_opt_get_int (void *obj, const char *name, int search_flags, int64_t *out_val);
753 int av_opt_get_double (void *obj, const char *name, int search_flags, double *out_val);
754 int av_opt_get_q (void *obj, const char *name, int search_flags, AVRational *out_val);
755 int av_opt_get_image_size(void *obj, const char *name, int search_flags, int *w_out, int *h_out);
756 int av_opt_get_pixel_fmt (void *obj, const char *name, int search_flags, enum AVPixelFormat *out_fmt);
757 int av_opt_get_sample_fmt(void *obj, const char *name, int search_flags, enum AVSampleFormat *out_fmt);
758 int av_opt_get_video_rate(void *obj, const char *name, int search_flags, AVRational *out_val);
761 int av_opt_get_channel_layout(void *obj, const char *name, int search_flags, int64_t *ch_layout);
763 int av_opt_get_chlayout(void *obj, const char *name, int search_flags, AVChannelLayout *layout);
768 int av_opt_get_dict_val(void *obj, const char *name, int search_flags, AVDictionary **out_val);
780 void *av_opt_ptr(const AVClass *avclass, void *obj, const char *name);
855 * @param name option name
861 int av_opt_is_set_to_default_by_name(void *obj, const char *name, int search_flags);
873 * name string are escaped through the av_escape() function.