2006-09-10 14:02:42 +00:00
|
|
|
/*
|
|
|
|
* AVOptions
|
|
|
|
* copyright (c) 2005 Michael Niedermayer <michaelni@gmx.at>
|
|
|
|
*
|
2006-10-07 15:30:46 +00:00
|
|
|
* This file is part of FFmpeg.
|
|
|
|
*
|
|
|
|
* FFmpeg is free software; you can redistribute it and/or
|
2006-09-10 14:02:42 +00:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2006-10-07 15:30:46 +00:00
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2006-09-10 14:02:42 +00:00
|
|
|
*
|
2006-10-07 15:30:46 +00:00
|
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
2006-09-10 14:02:42 +00:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2006-10-07 15:30:46 +00:00
|
|
|
* License along with FFmpeg; if not, write to the Free Software
|
2006-09-10 14:02:42 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
2008-08-31 07:39:47 +00:00
|
|
|
#ifndef AVCODEC_OPT_H
|
|
|
|
#define AVCODEC_OPT_H
|
2005-09-11 14:22:42 +00:00
|
|
|
|
|
|
|
/**
|
2010-04-20 14:45:34 +00:00
|
|
|
* @file
|
2005-09-11 14:22:42 +00:00
|
|
|
* AVOptions
|
|
|
|
*/
|
|
|
|
|
2008-02-25 09:22:11 +00:00
|
|
|
#include "libavutil/rational.h"
|
2009-01-13 00:14:43 +00:00
|
|
|
#include "avcodec.h"
|
2010-09-26 14:25:22 +00:00
|
|
|
#include "libavutil/opt.h"
|
2008-07-08 23:50:03 +00:00
|
|
|
|
2010-09-30 20:34:35 +00:00
|
|
|
#if FF_API_SET_STRING_OLD
|
2008-07-27 20:55:56 +00:00
|
|
|
/**
|
|
|
|
* @see av_set_string2()
|
|
|
|
*/
|
2008-07-08 23:50:03 +00:00
|
|
|
attribute_deprecated const AVOption *av_set_string(void *obj, const char *name, const char *val);
|
|
|
|
|
2008-12-16 21:35:35 +00:00
|
|
|
/**
|
|
|
|
* @return a pointer to the AVOption corresponding to the field set or
|
2009-06-06 09:35:15 +00:00
|
|
|
* NULL if no matching AVOption exists, or if the value val is not
|
2008-12-16 21:35:35 +00:00
|
|
|
* valid
|
|
|
|
* @see av_set_string3()
|
|
|
|
*/
|
|
|
|
attribute_deprecated const AVOption *av_set_string2(void *obj, const char *name, const char *val, int alloc);
|
2008-12-19 22:37:56 +00:00
|
|
|
#endif
|
2010-09-24 00:51:40 +00:00
|
|
|
#if FF_API_OPT_SHOW
|
|
|
|
/**
|
|
|
|
* @deprecated Use av_opt_show2() instead.
|
|
|
|
*/
|
|
|
|
attribute_deprecated int av_opt_show(void *obj, void *av_log_obj);
|
|
|
|
#endif
|
|
|
|
|
2008-08-31 07:39:47 +00:00
|
|
|
#endif /* AVCODEC_OPT_H */
|