2011-12-31 18:20:10 +03:00
|
|
|
/*
|
|
|
|
* Version macros.
|
|
|
|
*
|
2012-02-01 06:38:41 +03:00
|
|
|
* This file is part of FFmpeg.
|
2011-12-31 18:20:10 +03:00
|
|
|
*
|
2012-02-01 06:38:41 +03:00
|
|
|
* FFmpeg is free software; you can redistribute it and/or
|
2011-12-31 18:20:10 +03:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
2012-02-01 06:38:41 +03:00
|
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
2011-12-31 18:20:10 +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
|
2012-02-01 06:38:41 +03:00
|
|
|
* License along with FFmpeg; if not, write to the Free Software
|
2011-12-31 18:20:10 +03:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef AVFILTER_VERSION_H
|
|
|
|
#define AVFILTER_VERSION_H
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
2012-04-11 09:31:10 +03:00
|
|
|
* @ingroup lavfi
|
2011-12-31 18:20:10 +03:00
|
|
|
* Libavfilter version macros
|
|
|
|
*/
|
|
|
|
|
2013-12-25 19:16:05 +03:00
|
|
|
#include "libavutil/version.h"
|
2011-12-31 18:20:10 +03:00
|
|
|
|
2022-02-23 14:36:10 +02:00
|
|
|
#include "version_major.h"
|
|
|
|
|
lavfi: add a new filtergraph parsing API
Callers currently have two ways of adding filters to a graph - they can
either
- create, initialize, and link them manually
- use one of the avfilter_graph_parse*() functions, which take a
(typically end-user-written) string, split it into individual filter
definitions+options, then create filters, apply options, initialize
filters, and finally link them - all based on information from this
string.
A major problem with the second approach is that it performs many
actions as a single atomic unit, leaving the caller no space to
intervene in between. Such intervention would be useful e.g. to
- modify filter options;
- supply hardware device contexts;
both of which typically must be done before the filter is initialized.
Callers who need such intervention are then forced to invent their own
filtergraph parsing, which is clearly suboptimal.
This commit aims to address this problem by adding a new modular
filtergraph parsing API. It adds a new avfilter_graph_segment_parse()
function to parse a string filtergraph description into an intermediate
tree-like representation (AVFilterGraphSegment and its children).
This intermediate form may then be applied step by step using further
new avfilter_graph_segment*() functions, with user intervention possible
between each step.
2023-01-16 17:12:49 +02:00
|
|
|
#define LIBAVFILTER_VERSION_MINOR 1
|
2022-11-19 20:01:23 +02:00
|
|
|
#define LIBAVFILTER_VERSION_MICRO 100
|
2019-06-21 15:08:03 +02:00
|
|
|
|
2011-12-31 18:20:10 +03:00
|
|
|
|
|
|
|
#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
|
|
|
|
LIBAVFILTER_VERSION_MINOR, \
|
|
|
|
LIBAVFILTER_VERSION_MICRO)
|
|
|
|
#define LIBAVFILTER_VERSION AV_VERSION(LIBAVFILTER_VERSION_MAJOR, \
|
|
|
|
LIBAVFILTER_VERSION_MINOR, \
|
|
|
|
LIBAVFILTER_VERSION_MICRO)
|
|
|
|
#define LIBAVFILTER_BUILD LIBAVFILTER_VERSION_INT
|
|
|
|
|
2012-09-27 17:12:19 +03:00
|
|
|
#define LIBAVFILTER_IDENT "Lavfi" AV_STRINGIFY(LIBAVFILTER_VERSION)
|
|
|
|
|
2012-07-02 11:17:07 +03:00
|
|
|
#endif /* AVFILTER_VERSION_H */
|