f31a93d8f1c110c7d6150abc8a85190812d1a3f1
[libav.git] / libavcodec / version.h
1 /*
2 *
3 * This file is part of Libav.
4 *
5 * Libav is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * Libav is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with Libav; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20 #ifndef AVCODEC_VERSION_H
21 #define AVCODEC_VERSION_H
22
23 /**
24 * @file
25 * @ingroup libavc
26 * Libavcodec version macros.
27 */
28
29 #include "libavutil/version.h"
30
31 #define LIBAVCODEC_VERSION_MAJOR 57
32 #define LIBAVCODEC_VERSION_MINOR 9
33 #define LIBAVCODEC_VERSION_MICRO 1
34
35 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
36 LIBAVCODEC_VERSION_MINOR, \
37 LIBAVCODEC_VERSION_MICRO)
38 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \
39 LIBAVCODEC_VERSION_MINOR, \
40 LIBAVCODEC_VERSION_MICRO)
41 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT
42
43 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
44
45 /**
46 * FF_API_* defines may be placed below to indicate public API that will be
47 * dropped at a future version bump. The defines themselves are not part of
48 * the public API and may change, break or disappear at any time.
49 */
50
51 #ifndef FF_API_MISSING_SAMPLE
52 #define FF_API_MISSING_SAMPLE (LIBAVCODEC_VERSION_MAJOR < 58)
53 #endif
54 #ifndef FF_API_LOWRES
55 #define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 58)
56 #endif
57 #ifndef FF_API_CAP_VDPAU
58 #define FF_API_CAP_VDPAU (LIBAVCODEC_VERSION_MAJOR < 58)
59 #endif
60 #ifndef FF_API_BUFS_VDPAU
61 #define FF_API_BUFS_VDPAU (LIBAVCODEC_VERSION_MAJOR < 58)
62 #endif
63 #ifndef FF_API_VOXWARE
64 #define FF_API_VOXWARE (LIBAVCODEC_VERSION_MAJOR < 58)
65 #endif
66 #ifndef FF_API_SET_DIMENSIONS
67 #define FF_API_SET_DIMENSIONS (LIBAVCODEC_VERSION_MAJOR < 58)
68 #endif
69 #ifndef FF_API_DEBUG_MV
70 #define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 58)
71 #endif
72 #ifndef FF_API_AC_VLC
73 #define FF_API_AC_VLC (LIBAVCODEC_VERSION_MAJOR < 58)
74 #endif
75 #ifndef FF_API_OLD_MSMPEG4
76 #define FF_API_OLD_MSMPEG4 (LIBAVCODEC_VERSION_MAJOR < 58)
77 #endif
78 #ifndef FF_API_ASPECT_EXTENDED
79 #define FF_API_ASPECT_EXTENDED (LIBAVCODEC_VERSION_MAJOR < 58)
80 #endif
81 #ifndef FF_API_ARCH_ALPHA
82 #define FF_API_ARCH_ALPHA (LIBAVCODEC_VERSION_MAJOR < 58)
83 #endif
84 #ifndef FF_API_XVMC
85 #define FF_API_XVMC (LIBAVCODEC_VERSION_MAJOR < 58)
86 #endif
87 #ifndef FF_API_ERROR_RATE
88 #define FF_API_ERROR_RATE (LIBAVCODEC_VERSION_MAJOR < 58)
89 #endif
90 #ifndef FF_API_QSCALE_TYPE
91 #define FF_API_QSCALE_TYPE (LIBAVCODEC_VERSION_MAJOR < 58)
92 #endif
93 #ifndef FF_API_MB_TYPE
94 #define FF_API_MB_TYPE (LIBAVCODEC_VERSION_MAJOR < 58)
95 #endif
96 #ifndef FF_API_MAX_BFRAMES
97 #define FF_API_MAX_BFRAMES (LIBAVCODEC_VERSION_MAJOR < 58)
98 #endif
99 #ifndef FF_API_FAST_MALLOC
100 #define FF_API_FAST_MALLOC (LIBAVCODEC_VERSION_MAJOR < 58)
101 #endif
102 #ifndef FF_API_NEG_LINESIZES
103 #define FF_API_NEG_LINESIZES (LIBAVCODEC_VERSION_MAJOR < 58)
104 #endif
105 #ifndef FF_API_EMU_EDGE
106 #define FF_API_EMU_EDGE (LIBAVCODEC_VERSION_MAJOR < 58)
107 #endif
108 #ifndef FF_API_ARCH_SH4
109 #define FF_API_ARCH_SH4 (LIBAVCODEC_VERSION_MAJOR < 58)
110 #endif
111 #ifndef FF_API_ARCH_SPARC
112 #define FF_API_ARCH_SPARC (LIBAVCODEC_VERSION_MAJOR < 58)
113 #endif
114 #ifndef FF_API_UNUSED_MEMBERS
115 #define FF_API_UNUSED_MEMBERS (LIBAVCODEC_VERSION_MAJOR < 58)
116 #endif
117 #ifndef FF_API_IDCT_XVIDMMX
118 #define FF_API_IDCT_XVIDMMX (LIBAVCODEC_VERSION_MAJOR < 58)
119 #endif
120 #ifndef FF_API_INPUT_PRESERVED
121 #define FF_API_INPUT_PRESERVED (LIBAVCODEC_VERSION_MAJOR < 58)
122 #endif
123 #ifndef FF_API_NORMALIZE_AQP
124 #define FF_API_NORMALIZE_AQP (LIBAVCODEC_VERSION_MAJOR < 58)
125 #endif
126 #ifndef FF_API_GMC
127 #define FF_API_GMC (LIBAVCODEC_VERSION_MAJOR < 58)
128 #endif
129 #ifndef FF_API_MV0
130 #define FF_API_MV0 (LIBAVCODEC_VERSION_MAJOR < 58)
131 #endif
132 #ifndef FF_API_CODEC_NAME
133 #define FF_API_CODEC_NAME (LIBAVCODEC_VERSION_MAJOR < 58)
134 #endif
135 #ifndef FF_API_AFD
136 #define FF_API_AFD (LIBAVCODEC_VERSION_MAJOR < 58)
137 #endif
138 #ifndef FF_API_AUDIOENC_DELAY
139 #define FF_API_AUDIOENC_DELAY (LIBAVCODEC_VERSION_MAJOR < 58)
140 #endif
141 #ifndef FF_API_AVCTX_TIMEBASE
142 #define FF_API_AVCTX_TIMEBASE (LIBAVCODEC_VERSION_MAJOR < 59)
143 #endif
144 #ifndef FF_API_MPV_OPT
145 #define FF_API_MPV_OPT (LIBAVCODEC_VERSION_MAJOR < 59)
146 #endif
147 #ifndef FF_API_STREAM_CODEC_TAG
148 #define FF_API_STREAM_CODEC_TAG (LIBAVCODEC_VERSION_MAJOR < 59)
149 #endif
150 #ifndef FF_API_QUANT_BIAS
151 #define FF_API_QUANT_BIAS (LIBAVCODEC_VERSION_MAJOR < 59)
152 #endif
153 #ifndef FF_API_RC_STRATEGY
154 #define FF_API_RC_STRATEGY (LIBAVCODEC_VERSION_MAJOR < 59)
155 #endif
156 #ifndef FF_API_CODED_FRAME
157 #define FF_API_CODED_FRAME (LIBAVCODEC_VERSION_MAJOR < 59)
158 #endif
159 #ifndef FF_API_MOTION_EST
160 #define FF_API_MOTION_EST (LIBAVCODEC_VERSION_MAJOR < 59)
161 #endif
162 #ifndef FF_API_WITHOUT_PREFIX
163 #define FF_API_WITHOUT_PREFIX (LIBAVCODEC_VERSION_MAJOR < 59)
164 #endif
165 #ifndef FF_API_SIDEDATA_ONLY_PKT
166 #define FF_API_SIDEDATA_ONLY_PKT (LIBAVCODEC_VERSION_MAJOR < 59)
167 #endif
168 #ifndef FF_API_VDPAU_PROFILE
169 #define FF_API_VDPAU_PROFILE (LIBAVCODEC_VERSION_MAJOR < 59)
170 #endif
171 #ifndef FF_API_CONVERGENCE_DURATION
172 #define FF_API_CONVERGENCE_DURATION (LIBAVCODEC_VERSION_MAJOR < 59)
173 #endif
174 #ifndef FF_API_AVPICTURE
175 #define FF_API_AVPICTURE (LIBAVCODEC_VERSION_MAJOR < 59)
176 #endif
177 #ifndef FF_API_AVPACKET_OLD_API
178 #define FF_API_AVPACKET_OLD_API (LIBAVCODEC_VERSION_MAJOR < 59)
179 #endif
180 #ifndef FF_API_RTP_CALLBACK
181 #define FF_API_RTP_CALLBACK (LIBAVCODEC_VERSION_MAJOR < 59)
182 #endif
183
184 #endif /* AVCODEC_VERSION_H */