| OLD | NEW |
| 1 /* | 1 /* |
| 2 * AVOptions | 2 * AVOptions |
| 3 * copyright (c) 2005 Michael Niedermayer <michaelni@gmx.at> | 3 * copyright (c) 2005 Michael Niedermayer <michaelni@gmx.at> |
| 4 * | 4 * |
| 5 * This file is part of FFmpeg. | 5 * This file is part of FFmpeg. |
| 6 * | 6 * |
| 7 * FFmpeg is free software; you can redistribute it and/or | 7 * FFmpeg is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2.1 of the License, or (at your option) any later version. | 10 * version 2.1 of the License, or (at your option) any later version. |
| 11 * | 11 * |
| 12 * FFmpeg is distributed in the hope that it will be useful, | 12 * FFmpeg is distributed in the hope that it will be useful, |
| 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 * Lesser General Public License for more details. | 15 * Lesser General Public License for more details. |
| 16 * | 16 * |
| 17 * You should have received a copy of the GNU Lesser General Public | 17 * You should have received a copy of the GNU Lesser General Public |
| 18 * License along with FFmpeg; if not, write to the Free Software | 18 * License along with FFmpeg; if not, write to the Free Software |
| 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #ifndef AVCODEC_OPT_H | 22 #ifndef AVCODEC_OPT_H |
| 23 #define AVCODEC_OPT_H | 23 #define AVCODEC_OPT_H |
| 24 | 24 |
| 25 /** | 25 /** |
| 26 * @file opt.h | 26 * @file libavcodec/opt.h |
| 27 * AVOptions | 27 * AVOptions |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #include "libavutil/rational.h" | 30 #include "libavutil/rational.h" |
| 31 #include "avcodec.h" | 31 #include "avcodec.h" |
| 32 | 32 |
| 33 enum AVOptionType{ | 33 enum AVOptionType{ |
| 34 FF_OPT_TYPE_FLAGS, | 34 FF_OPT_TYPE_FLAGS, |
| 35 FF_OPT_TYPE_INT, | 35 FF_OPT_TYPE_INT, |
| 36 FF_OPT_TYPE_INT64, | 36 FF_OPT_TYPE_INT64, |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 double av_get_double(void *obj, const char *name, const AVOption **o_out); | 147 double av_get_double(void *obj, const char *name, const AVOption **o_out); |
| 148 AVRational av_get_q(void *obj, const char *name, const AVOption **o_out); | 148 AVRational av_get_q(void *obj, const char *name, const AVOption **o_out); |
| 149 int64_t av_get_int(void *obj, const char *name, const AVOption **o_out); | 149 int64_t av_get_int(void *obj, const char *name, const AVOption **o_out); |
| 150 const char *av_get_string(void *obj, const char *name, const AVOption **o_out, c
har *buf, int buf_len); | 150 const char *av_get_string(void *obj, const char *name, const AVOption **o_out, c
har *buf, int buf_len); |
| 151 const AVOption *av_next_option(void *obj, const AVOption *last); | 151 const AVOption *av_next_option(void *obj, const AVOption *last); |
| 152 int av_opt_show(void *obj, void *av_log_obj); | 152 int av_opt_show(void *obj, void *av_log_obj); |
| 153 void av_opt_set_defaults(void *s); | 153 void av_opt_set_defaults(void *s); |
| 154 void av_opt_set_defaults2(void *s, int mask, int flags); | 154 void av_opt_set_defaults2(void *s, int mask, int flags); |
| 155 | 155 |
| 156 #endif /* AVCODEC_OPT_H */ | 156 #endif /* AVCODEC_OPT_H */ |
| OLD | NEW |