2006-09-10 17:02:42 +03:00
|
|
|
/*
|
|
|
|
* AVOptions
|
|
|
|
* copyright (c) 2005 Michael Niedermayer <michaelni@gmx.at>
|
|
|
|
*
|
2011-03-18 19:35:10 +02:00
|
|
|
* This file is part of Libav.
|
2006-10-07 18:30:46 +03:00
|
|
|
*
|
2011-03-18 19:35:10 +02:00
|
|
|
* Libav is free software; you can redistribute it and/or
|
2006-09-10 17:02:42 +03:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2006-10-07 18:30:46 +03:00
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2006-09-10 17:02:42 +03:00
|
|
|
*
|
2011-03-18 19:35:10 +02:00
|
|
|
* Libav is distributed in the hope that it will be useful,
|
2006-09-10 17:02:42 +03: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
|
2011-03-18 19:35:10 +02:00
|
|
|
* License along with Libav; if not, write to the Free Software
|
2006-09-10 17:02:42 +03:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
2008-08-31 10:39:47 +03:00
|
|
|
#ifndef AVCODEC_OPT_H
|
|
|
|
#define AVCODEC_OPT_H
|
2005-09-11 17:22:42 +03:00
|
|
|
|
|
|
|
/**
|
2010-04-20 17:45:34 +03:00
|
|
|
* @file
|
2005-09-11 17:22:42 +03:00
|
|
|
* AVOptions
|
|
|
|
*/
|
|
|
|
|
2008-02-25 11:22:11 +02:00
|
|
|
#include "libavutil/rational.h"
|
2009-01-13 02:14:43 +02:00
|
|
|
#include "avcodec.h"
|
2010-09-26 17:25:22 +03:00
|
|
|
#include "libavutil/opt.h"
|
2008-07-09 02:50:03 +03:00
|
|
|
|
2010-09-30 23:34:35 +03:00
|
|
|
#if FF_API_SET_STRING_OLD
|
2008-07-27 23:55:56 +03:00
|
|
|
/**
|
|
|
|
* @see av_set_string2()
|
|
|
|
*/
|
2008-07-09 02:50:03 +03:00
|
|
|
attribute_deprecated const AVOption *av_set_string(void *obj, const char *name, const char *val);
|
|
|
|
|
2008-12-16 23:35:35 +02:00
|
|
|
/**
|
|
|
|
* @return a pointer to the AVOption corresponding to the field set or
|
2009-06-06 12:35:15 +03:00
|
|
|
* NULL if no matching AVOption exists, or if the value val is not
|
2008-12-16 23:35:35 +02: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-20 00:37:56 +02:00
|
|
|
#endif
|
2010-09-24 03:51:40 +03: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 10:39:47 +03:00
|
|
|
#endif /* AVCODEC_OPT_H */
|