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