Mercurial > libavcodec.hg
comparison opt.h @ 12509:7220936dc29c libavcodec
Deprecate av_opt_show() in favor of a new function av_opt_show2(),
which allows to specify only a subset of all the options to show.
author | stefano |
---|---|
date | Fri, 24 Sep 2010 00:51:40 +0000 |
parents | fdafbcef52f5 |
children | 776789af0304 |
comparison
equal
deleted
inserted
replaced
12508:750ff18b7394 | 12509:7220936dc29c |
---|---|
202 double av_get_double(void *obj, const char *name, const AVOption **o_out); | 202 double av_get_double(void *obj, const char *name, const AVOption **o_out); |
203 AVRational av_get_q(void *obj, const char *name, const AVOption **o_out); | 203 AVRational av_get_q(void *obj, const char *name, const AVOption **o_out); |
204 int64_t av_get_int(void *obj, const char *name, const AVOption **o_out); | 204 int64_t av_get_int(void *obj, const char *name, const AVOption **o_out); |
205 const char *av_get_string(void *obj, const char *name, const AVOption **o_out, char *buf, int buf_len); | 205 const char *av_get_string(void *obj, const char *name, const AVOption **o_out, char *buf, int buf_len); |
206 const AVOption *av_next_option(void *obj, const AVOption *last); | 206 const AVOption *av_next_option(void *obj, const AVOption *last); |
207 int av_opt_show(void *obj, void *av_log_obj); | 207 |
208 #if FF_API_OPT_SHOW | |
209 /** | |
210 * @deprecated Use av_opt_show2() instead. | |
211 */ | |
212 attribute_deprecated int av_opt_show(void *obj, void *av_log_obj); | |
213 #endif | |
214 | |
215 /** | |
216 * Show the obj options. | |
217 * | |
218 * @param req_flags requested flags for the options to show. Show only the | |
219 * options for which it is opt->flags & req_flags. | |
220 * @param rej_flags rejected flags for the options to show. Show only the | |
221 * options for which it is !(opt->flags & req_flags). | |
222 * @param av_log_obj log context to use for showing the options | |
223 */ | |
224 int av_opt_show2(void *obj, void *av_log_obj, int req_flags, int rej_flags); | |
225 | |
208 void av_opt_set_defaults(void *s); | 226 void av_opt_set_defaults(void *s); |
209 void av_opt_set_defaults2(void *s, int mask, int flags); | 227 void av_opt_set_defaults2(void *s, int mask, int flags); |
210 | 228 |
211 #endif /* AVCODEC_OPT_H */ | 229 #endif /* AVCODEC_OPT_H */ |